Attachment
A fully accessible, token-driven Attachment component built with strict WAI-ARIA compliance.
tsx
import { Attachment } from '@nofinite/nui';Interactive Preview
Loading preview...
Usage
Basic Example
tsx
import { Attachment } from '@nofinite/nui';
<Attachment />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
filename* | string | — | — |
filesize* | number | — | — |
filetype* | string | — | — |
src | string | — | — |
isLoading | boolean | false | — |
className | string | — | — |
Accessibility & Guidelines
- Semantic Tokens: Built strictly using Nuicss semantic tokens (
bg-surface,text-default,border-subtle,bg-primary). - Keyboard Navigation: Adheres to strict WAI-ARIA standards.
- Screen Reader Support: Includes semantic roles and live regions where appropriate.