About
A file attachment card that previews an image thumbnail with its filename and size, used for photo/file galleries in chat composers and upload lists.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Attachment Gallery to your project and fits it to your theme.
Code
How Attachment Gallery is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import AttachmentDemo from "@/components/ui/attachment1";
export default function Demo() {
return <AttachmentDemo />;
}















