A waterfall for any start, steps and end: rows keep their place at rest, steps drop in on the first hover and stay; broken axis for bridges.
$ npx shadcn@latest add @highcommand/cascadeCopies the source into your project and pulls in what it needs (4 other items). First time? Add the registry to components.json.
A waterfall of rows: a head row at rest, and steps that drop in under it on first hover, focus or tap.
headrequiredCascadeRow—The first row (the start total), drawn at rest.
rowsrequiredCascadeRow[]—The steps (and a closing total) that drop in under the head.
domainrequired[number, number]—The axis as [start, end], in the same unit as each row's `from` and `to`.
testidrequiredstring—`data-testid` of the cascade; its parts add `-head`, `-steps` and `-step`.
labelrequiredstring—The cascade's accessible name.
brokenboolean—The axis does not start at zero: bars that begin at the axis start are marked as cut.
evidenceboolean—leave room for an evidence column
Install this free piece now; the Pro pieces drop in on top of it, in the same app. Pro is $79 once.