Components · Overlays
File Preview
A file opened in a dialog: an image, a PDF, text or code highlighted by language, or the files in a folder, with a download button that zips a folder.
Installation
The command adds the @aiellie registry to components.json on its first run. With it there, shadcn installs it too: npx shadcn@latest add @aiellie/file-preview.
Usage and the API reference for File Preview are still being written.