A file in a message or a composer.
npx shadcn@latest add @zellify/attachmentimport { Attachment, AttachmentGroup, AttachmentMedia, AttachmentContent, AttachmentTitle, AttachmentDescription, AttachmentActions, AttachmentAction, AttachmentTrigger,} from "@/components/ui/attachment"Exports Attachment AttachmentGroup AttachmentMedia AttachmentContent AttachmentTitle AttachmentDescription AttachmentActions AttachmentAction AttachmentTrigger. Every part takes its element's usual props and a className.
| Prop | Options | Default |
|---|---|---|
| size | defaultsmxs | – |
| orientation | horizontalvertical | – |
| Prop | Options | Default |
|---|---|---|
| variant | iconimage | icon |