Click to upload or drag and drop
Installation
$ pnpm dlx shadcn@latest add https://pulseui-henna.vercel.app/registry/SingleFileUpload.json| Prop | Type | Default | Description |
|---|---|---|---|
onFileChange | (files: File) => void | - | sets the selected file |
Click to upload or drag and drop multiple files
Installation
$ pnpm dlx shadcn@latest add https://pulseui-henna.vercel.app/registry/MultipleFileUpload.json| Prop | Type | Default | Description |
|---|---|---|---|
onFilesChange | (files: File[]) => void | - | sets the list of selected files |
Click to upload or drag and drop image files
Installation
$ pnpm dlx shadcn@latest add https://pulseui-henna.vercel.app/registry/ImageUpload.json| Prop | Type | Default | Description |
|---|---|---|---|
onFilesChange | (files: File[]) => void | - | sets the list of selected image files |