Attachment
Select, validate, preview, and remove local files before your application uploads them.
Installation
Copy the command below and run it in your terminal.
Usage
Bind selected files on the root and report rejected files from onReject. Selection is local only; your
application owns uploading and upload state.
Examples
Render standalone items when your upload client owns progress and completion state.
Upload status
Anatomy
Attachment.Root - Manages selected files.
Attachment.Trigger - Opens the file picker.
Attachment.List - Lists selected files.
Attachment.Item - Displays one selected file.
bunx @sivir-ui/svelte add attachment