Attachment
File chips for prompts and messages. Display-only — upload logic stays in your app. Attachment renders one file; AttachmentList renders a wrapping row.
npx @slipstream-ui/cli@latest add attachmentAttachmentList
product-spec.pdf
2.4 MB · PDF
screenshot.png
480 KB
dataset.csv
Uploading...
Accessibility
- Remove controls include the file name in their accessible label.
- The uploading state is announced via role=status.
- Thumbnails are aria-hidden; file names carry the meaning.
Browser support
| Browser | Tested versions |
|---|---|
| Chrome | 111+ (Mar 2023) |
| Edge | 111+ (Mar 2023) |
| Firefox | 121+ (Dec 2023) |
| Safari | 17.2+ — macOS & iOS (Dec 2023) |
Slipstream components rely only on CSS custom properties, Flexbox/Grid, and ARIA — the everyday baseline of the last two years of evergreen releases. Anything newer is progressive enhancement: unsupported browsers keep full functionality with static behavior instead of animations.