Tree View
Hierarchical disclosure tree (file trees, nested log scopes, org units).
Usage
Import
import { TreeView } from "@qeetrix/ui";It can also be imported on its own from @qeetrix/ui/components/tree-view.
States
hover · focus-visible · disabled · selected · expanded · open
Support
| Feature | Status |
|---|---|
| Right-to-left | Supported |
| Dark mode | Supported |
| Density | Supported |
| Server rendering | Client component |
| Reduced motion | Supported |
Accessibility
Follows the WAI-ARIA treeview pattern. Audited.
| Check | Result |
|---|---|
| Semantics | Pass |
| Accessible name | Pass |
| Keyboard | Pass |
| Focus | Pass |
| Screen reader | Pass |
| Right-to-left | Pass |
| Reduced motion | Pass |
| Forced colours | Pass |
| Contrast | Pass |
Keyboard
Tab Enter ArrowUp ArrowDown ArrowLeft ArrowRight Home End Asterisk TypeAheadFocus
One Tab stop for the group; arrow keys move between items (roving tab stop).
Tests
Covered by unit, accessibility (axe), interaction and visual tests.