Velocity X Components

Standard Data

Expandable Tree Table

A data table for hierarchical records — folders, org charts, category trees — where any row can expand to reveal its children in place, indentation and a disclosure arrow showing depth without leaving the spreadsheet-like layout.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-expandable-tree-table

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Expandable Tree Table →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Expandable Tree Table
Revenue by region
NameOwnerARR
APAC—$482k
Meridian HealthJ. Tran$128k
Solstice RoboticsK. Ngata$96k

Props

NameTypeRequiredDefaultDescription
columnsarrayNo[]
dataarrayNo[]
defaultExpandedIdsarrayNo[]
captionstringNo""
classNamestringNo""

No `Props:` JSDoc comment found — types are undocumented in source, only names/defaults are known.

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-expandable-tree-table/ExpandableTreeTable.jsx

Using the Expandable Tree Table component

Install it with velocityx add standard-expandable-tree-table. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Data.