uiable

Attachment States

Component 32

About

A file-attachment list item that displays upload lifecycle states (idle, uploading, processing, error, done) with matching icons and retry/remove actions.

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

Code

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

Usage.tsx

import AttachmentStates from "@/components/ui/attachment-states";

export default function AttachmentStatesDemo() {
  return <AttachmentStates />;
}

Dependencies

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    339
  • Card Tabs

    Card Tabs

    100
  • Financial Bento Grid

    Financial Bento Grid

    71
  • Chart Tooltip

    Chart Tooltip

    67
  • Marketing Hero Section

    Marketing Hero Section

    58
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    57
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    50
  • Position Sonner

    Position Sonner

    48

Explore more

Part of uiable — browse the full library on 21st.dev.