Components
518 components in 50 categories. Every one installs with the shadcn CLI.
Files and Uploads 8
Upload areas, file rows, attachments, crops.
- AttachmentOne file in your app as a chip, tile, row, card, or gallery photo. It shows upload progress and has Retry, Pause, and Undo.
- DropzoneAn area where people drop, paste, or pick files. It shows the file rules, says why a drag is refused, and can add more sources.
- File IconThe icon of a file: a neutral page with a folded corner, a sketch of what is inside, and one colored type tag.
- Image CropperPick the part of a picture to keep: 8 handles or a fixed circle, zoom, straighten, turns, flips, aspect presets, and full keyboard support.
- File InputA form field that holds files: it looks like an Input, opens the file picker, takes a drop, and checks the picked files with the Dropzone rules.
- File TriggerA button that opens the file picker and gives the picked files to the app, with no list and no checks.
- File SizeShows a number of bytes the way people read it, such as 1.8 MB or 1.2 of 4.8 GB. The exact bytes can show in a tooltip.
- Glass FolderA folder you can see into: up to three files peek out of a frosted glass pocket, lift on hover, and a file you drop falls in.













