# Send

> File upload that fills, then launches a paper plane out of the card.

## Spec sheet

| | |
| --- | --- |
| Access | Free: no account, free for commercial use |
| Shelf | Components › Loaders & Progress |
| Live preview | https://uibrik.com/components/send |
| Writes | 1 file into `components/uibrik/send/` |
| Packages | `@tabler/icons-react`, `motion` (the CLI installs them) |
| Needs | React 19, Tailwind CSS v4, a project set up with `npx shadcn@latest init` |
| Theme | Reads the shadcn tokens and follows class-based dark mode ([theming](https://uibrik.com/docs/theming.md)) |
| Updated | Nov 9, 2026 |

## Add it

```bash
npx shadcn@latest add https://uibrik.com/r/send.json
```

With the `@uibrik` namespace in `components.json` ([setup](https://uibrik.com/docs/installation.md)): `npx shadcn@latest add @uibrik/send`.

Can't run commands? https://uibrik.com/components/send/prompt.txt has every file verbatim, with the setup steps, ready for an assistant to write.

## Render it

Renders as is; every value shown is the default, so delete any line you don't need.

```tsx
import { SendFile } from "@/components/uibrik/send/send";

<SendFile
  exitStyle="split"
  fileName="Document.file"
  fileSize="478.5kb"
  label="Send"
  sentColor="#16a34a"
  uploadDuration={2.6}
  flightDuration={0.375}
/>
```

## Tune it

The same props as the Customize panel on https://uibrik.com/components/send.

| Prop | Type | Default | What it does |
| --- | --- | --- | --- |
| `exitStyle` | `"split" \| "fade"` | `"split"` | How the finished panel leaves. |
| `fileName` | `string` | `"Document.file"` |  |
| `fileSize` | `string` | `"478.5kb"` |  |
| `label` | `string` | `"Send"` | Button text. |
| `sentColor` | `string` | `"#16a34a"` | The panel warms to this colour as the upload fills. |
| `uploadDuration` | `number` | `2.6` | How long the simulated upload takes. |
| `flightDuration` | `number` | `0.375` | How long the plane takes to fly off. |

## Where it fits

- **File sharing apps**: An upload that fills then launches a paper plane makes sending feel complete. Pairs with [File Dropzone](https://uibrik.com/components/file-dropzone.md) (Pro).
- **Form uploads**: The plane leaving the card is a clear success state after submitting.
- **Sending documents**: A visible send moment reassures users the file went.

## Same shelf: Loaders & Progress

- [Skeleton](https://uibrik.com/components/skeleton.md): A skeleton measured from the real layout: one bar per wrapped line of text, a box for every image and control, one shimmer across them all, and a top-to-bottom reveal when the content arrives.
- [Spinner](https://uibrik.com/components/spinner.md): A small family of loading indicators (ring, radial, dots, bars, orbit) drawn on one grid with one stroke and tempo.
- [Dot Matrix Loader](https://uibrik.com/components/dot-matrix-loader.md) (Pro): A grid of dots with a motion for each kind of work, from loading, thinking and reasoning to syncing, routing and monitoring. It fills in for progress, and ends with a green burst on success or a red flash and shake on error.
- [File Dropzone](https://uibrik.com/components/file-dropzone.md) (Pro): A dropzone that wakes when files are dragged over the window, counts what you hold and warns before the drop, then uploads a few at a time with speed, time left, pause, retry and drag-to-reorder rows.
- [Gooey Refresh](https://uibrik.com/components/gooey-refresh.md) (Pro): Pull-to-refresh for a list: a drop of goo stretches out of the top edge, pinches off at the threshold and wobbles round, thins into a spinning ring while it loads, then bursts into droplets that fall into the list and open up as the new rows.
- [Liquid Progress](https://uibrik.com/components/liquid-progress.md): A simple progress bar with a liquid feel: tones of one colour that brighten as it fills, a soft shine, and a front that settles with a small wobble.

## Ground rules

- Only the props above exist. To change anything else, edit the installed file.
- Keep the files in `components/uibrik/send/` so the import paths keep resolving.
- The playbook for working with the whole library: https://uibrik.com/llms.txt
