About
A file picker that opens a native file dialog and lists the chosen files as removable attachment cards with previews, names, sizes and error messages for invalid files.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds File Picker Attachment Tray to your project and fits it to your theme.
Code
How File Picker Attachment Tray is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FilePickerAttachmentTray from "@/components/ui/c-attachment-6";
export default function FilePickerAttachmentTrayDemo() {
return (
<div className="flex w-full items-center justify-center p-8">
<FilePickerAttachmentTray />
</div>
);
}








