Qeetrix

JSON Tree

JSONTree renders any JSON-serialisable value as a collapsible indented tree.

Beta

Ready to use, but its API may still change before it is marked stable.

Usage

Import

import { JSONTree } from "@qeetrix/ui";

It can also be imported on its own from @qeetrix/ui/components/json-tree.

States

hover · focus-visible · expanded

Support

FeatureStatus
Right-to-leftSupported
Dark modeSupported
DensityNot supported
Server renderingClient component
Reduced motionSupported

Accessibility

Follows the WAI-ARIA treeview pattern. Not yet audited.

Keyboard

Tab ArrowUp ArrowDown ArrowLeft ArrowRight Home End

Focus

One Tab stop for the group; arrow keys move between items (roving tab stop).

Tests

Covered by unit, accessibility (axe), interaction and visual tests.