Attachment
A file attached to a message, with its name, size and upload state.
A file attached to a message, with its name, size and upload state.
It uses Button and Spinner, which the command adds for you.
npx shadcn@latest add attachment
npm install class-variance-authority lucide-react radix-ui
First time with shadcn/ui? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.
Changed for this site: Plain colour blocks stand in for the sample photos.