byronwade/ui
Application UI

AI · Application UI

Attachments

A compound component for displaying file, media, and source-document attachments in grid, inline, or list layouts with previews, remove buttons, and hover-card details.

@byronwade/foundation@byronwade/utils@byronwade/button@byronwade/hover-cardai@phosphor-icons/react

Adapted from Vercel AI Elements , the original components, repurposed onto the byronwade/ui design system (semantic tokens, dark mode, small subtle refinements). © Vercel.

Feature showcase

Installation

Features

  • 2 examples

    Default, Variants.

API

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@byronwade/buttonregistryInstalled through the byronwade/ui registry.
@byronwade/hover-cardregistryInstalled through the byronwade/ui registry.
ainpmInstalled from npm.
@phosphor-icons/reactnpmInstalled from npm.

Source and related

FilePath
Componentregistry/components/ai-attachments.tsx
Default examplecontent/examples/ai-attachments/default.tsx
Variants examplecontent/examples/ai-attachments/variants.tsx