Dev Design Library

Attachment

A file attachment chip with a preview, name, size and a remove action.

Attachment preview
Library
D2Studio UI
Framework
React
Type
ui
License
MIT
Dependencies
radix-ui
Install
npx shadcn@latest add https://d2studio.dev/r/attachment.json
Files
  • registry/default/ui/attachment.tsx
  • registry/default/ui/button.tsx
  • lib/utils.ts
Source
https://github.com/rajaaltus/d2studio-ui

Categories

More from D2Studio UI