# CompactUpload

**Kind:** Component

**Source:** [`atloria-monorepo/apps/web/src/app/app/settings/branding/page.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/app/settings/branding/page.tsx#L1580)

Compact upload — preview + upload + clear all in one interactive zone. Click the zone to pick a file, hover to see the replace/clear overlay.

## Props

| Name | Type | Required | Default |
|---|---|---|---|
| `url` | `string` | ✓ | - |
| `uploading` | `boolean` | ✓ | - |
| `inputRef` | `unknown` | ✓ | - |
| `onUpload` | `Function` | ✓ | - |
| `onClear` | `Function` | ✓ | - |
| `size` | `unknown | unknown` | - | "lg" |

## Diagram

```mermaid
graph TD
    component_CompactUpload_26ad441c["CompactUpload"]
    class component_CompactUpload_26ad441c rootComponent
```

## Relationships

- RENDERS → `ArrowUpTrayIcon`
- USES_HOOK → `useState`
