KQ-061 · DEPTH/STACK

Depth Stack

A face-on pile of layers browsed along the z-axis — scroll a notch, drag, or arrow through; the active layer sits crisp while the rest recede into a stepped skyline of peeking headers.

KQ-061 · DEPTH/STACK
Core Sample · 5 StrataKQ-061
01TOPSOIL

0.0–1.2 M

Root mat and dark loam - the auger barely notices it.

H130
Layer 1 of 5: TOPSOIL

Stratum · TOPSOIL

KQ-061 · Depth Stack · Layers 5 · P 800 · ζ 0.83

Scroll or drag through the pile - each layer settles crisp.

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/depth-stack

Props

PropTypeDefaultDescription
layers{ id, label, content }[]Three to eight layers, front to deepest.
index / defaultIndex / onIndexChangenumber / number / (index) => voidControlled or uncontrolled active layer; fires once per settle.
heightnumber260Stage height in px.
aria-labelstringRequired — names the layer stack.