Dev Design Library

File Dropzone

Its dashed edge marches when a file enters the window and seals solid when it is overhead.

File Dropzone preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/file-dropzone.json
Files
  • src/lab/components/file-dropzone.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab