Timeline
A fully accessible, token-driven Timeline component built with strict WAI-ARIA compliance.
tsx
import { Timeline } from '@nofinite/nui';Interactive Preview
Loading preview...
Usage
Basic Example
tsx
import { Timeline } from '@nofinite/nui';
<Timeline />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
data | TimelineItem[] | — | Array of items for Smart Default mode |
orientation | enum | vertical | — |
hideLine | boolean | false | If true, hides the connecting lines between all nodes |
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.