Files
File drop
A wrapper that turns whatever it contains into a file drop target, reporting the files it accepts.
Drop images hereFolders are expanded; anything else is refused.
Installation
npx shadcn@latest add https://nessalabs.ai/r/file-drop-zone.jsonExamples
accept, maxSize and maxFiles, with every refusal reported
Drop up to 2 images, 1 MB each.
Behaviours
Covered by the component's storybook.
Composer AttachmentsBrowse Or DropAccept And LimitsDisabledNested ZonesFolders