uibrik

Send

Preview

Customize

Split
Sent color
Upload2.6s
Flight0.375s

Usage

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

<SendFile />

Installation

npx shadcn@latest add https://uibrik.com/r/send.json
Adds the files to components/uibrik/send and installs @tabler/icons-react and motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/send.

Props

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