A hierarchical data grid combining row expansion, cell focus, typeahead, selection, RTL navigation, and form reset.
Since
1.0.0-next.0
Owner
Brand Core
Export
PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/TreeGrid
Release
Documentation version
Deterministic fixture · default state
Component studio
Recent decisions3 events
allow user:ada → portal:docs
deny user:lin → key:prod
allow service:sync → schema:main
Preview controls could not be applied. The static default fixture remains available.
§01
Contract
Semantics first
Anatomy
Uses a labelled treegrid with row hierarchy metadata and gridcell descendants; focus, expansion, and selection remain separate states.
Consumer classes, styles, and data attributes may extend the surface, but required roles, IDs, relationships, and handlers remain owned by the component.
Keyboard
Tab enters at one visible cell.
Arrow Up/Down move rows and horizontal arrows move cells according to direction.
On the first cell, forward expands and backward collapses or moves to the parent.
Home/End and Ctrl+Home/End move to row or grid boundaries.
Typing moves to a matching row; Enter/Space select the row.
§02
Public surface
API & styling
Props
id
Explicit IDs override stable generated IDs.
class / style
Consumer additions compose with required styles.
ref
Element or callback where focus control is expected.
children
Typed content; raw HTML strings are never rendered.
Slots & events
children
Primary content slot.
onChange
Typed value plus a small reason object when state changes.
There is no stable predecessor for this explicit compiled subpath. The v1 compatibility layer remains tested separately; visual and API diffs begin with the next prerelease.