Dev Design Library

Prompt Input Attachments

Attachment surface for the composer: image/file attach via picker, paste, and drag-and-drop with preview thumbnails, per-item removal, a hovercard preview, media-category auto-detection, and upload-state chips. Produces attachments via a bu.

Prompt Input Attachments preview
Library
LocalMode
Framework
React
Type
component
License
MIT
Dependencies
lucide-react
Install
npx shadcn add @localmode/ui/ui/conversation/prompt-input-attachments
Files
  • apps/ui/registry/localmode/conversation/prompt-input-attachments/prompt-input-attachments.tsx
  • apps/ui/src/lib/browser-utils.ts
  • apps/ui/registry/localmode/lib/utils.ts
  • apps/ui/registry/localmode/ui/button.tsx
  • apps/ui/registry/localmode/ui/hover-card.tsx
  • apps/ui/registry/localmode/conversation/prompt-input/prompt-input.tsx
Source
https://github.com/LocalMode-AI/LocalMode

Categories

More from LocalMode