Media File Element
A file attachment component with download capability and caption.
Installation
npx shadcx@latest add plate/media-file-element
Examples
Media
Loading...
Plate Plus
- Integration with UploadThing
- Use slash commands for quick insertion
- Displays clickable placeholders for various media types (image, video, audio, file)
- Opens a popover with two tabs when the placeholder is clicked:
- Upload tab: Allows uploading local files directly
- Embed tab: Enables pasting embed links for media content
- Image-specific features:
- Better loading rendering and image replacement
- Alignment options
- Expand/collapse view
- Download button
- Video-specific features:
- Lazy load
- Alignment options
- Caption support
- View original source
- Beautifully crafted UI