- Docs
- components
- Dropzone
Dropzone
A drop zone is an area into which one or multiple objects can be dragged and dropped.
Preview
Code
Drop files here
Installation
CLI
Copy & Paste
npx @sly-cli/sly add jolly-ui dropzone
Note: Only the default style can be installed via CLI at the moment
Usage
Basic
Preview
Code
Drop files here
File
To allow the selection of files from the user's device, pass FileTrigger as a child of DropZone.
Preview
Code
Drop files here