Divider
A fully accessible, token-driven Divider component built with strict WAI-ARIA compliance.
tsx
import { Divider } from '@nofinite/nui';Interactive Preview
Top Content
Bottom Content
Usage
Basic Example
tsx
import { Divider } from '@nofinite/nui';
<Divider />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | enum | horizontal | — |
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.