Sean Hello

Attachment Composer Tray

AI chats 7

About

A chat message composer with a textarea, a scrolling row of removable file-attachment chips above it, and attach/send buttons, for AI chat or support-ticket style inputs.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Attachment Composer Tray to your project and fits it to your theme.

Code

How Attachment Composer Tray is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import AttachmentComposer from "@/components/ui/attachment-composer-tray";

export default function AttachmentComposerTrayDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-6">
      <AttachmentComposer />
    </div>
  );
}

Dependencies

More by Sean Hello

View all
  • 3D Testimonails

    3D Testimonails

    3.3K
  • Line Charts 9

    Line Charts 9

    632
  • Alert

    Alert

    492
  • Area Charts 1

    Area Charts 1

    384
  • Line Charts 6

    Line Charts 6

    382
  • Scroll Area

    Scroll Area

    376
  • Area Charts 2

    Area Charts 2

    316
  • Navigation Menu

    Navigation Menu

    305

More in AI chats

View all
  • AI Actions

    AI Actions

    318
  • Color Picker

    Color Picker

    75
  • Agent Chat

    Agent Chat

    17
  • Approval Card

    Approval Card

    12
  • System Message

    System Message

    53
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • Message

    Message

    48
  • AI Task List

    AI Task List

    159