Skip to content
aq-ui
Back to ComponentsComponent

Attachment

Open-code aq-ui accessible component family for Attachment.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add attachment

API reference

SSR-safeView full source

Quick start

import { Attachment } from "@/components/ui/attachment"

<Attachment />

Exports

  • Attachment const
  • AttachmentAction const
  • AttachmentActions const
  • AttachmentContent const
  • AttachmentDescription const
  • AttachmentGroup const
  • AttachmentMedia const
  • AttachmentTitle const
  • AttachmentTrigger const

Registry dependencies

button, utils

Package dependencies

@base-ui/react@^1.7.0, class-variance-authority@^0.7.1

Files

  • components/ui/attachment.tsx

Source