Dev Design Library

Attachments

A flexible, composable attachment component for displaying files, images, videos, audio, and source documents.

Attachments preview
Library
AI Elements
Framework
React
Type
component
License
Apache-2.0
Install
npx ai-elements@latest add attachments
Files
  • packages/elements/src/attachments.tsx
  • packages/shadcn-ui/components/ui/button.tsx
  • packages/shadcn-ui/components/ui/hover-card.tsx
  • packages/shadcn-ui/lib/utils.ts
Source
https://github.com/vercel/ai-elements

Categories

More from AI Elements