L
LocalMode

Prompt Input Attachments · LocalMode

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 bundled readFileAsDataUrl helper (copy-owned); the shape matches common chat image-content models.

npx shadcn@latest add https://localmode.ai/r/ui/conversation/prompt-input-attachments.json
Preview Prompt Input Attachments on LocalMode's site (opens in a new tab)
Loading the source for ui/conversation/prompt-input-attachments…

ui/conversation/prompt-input-attachments