Lane generalized: the same segmented control, with Radix Tabs panels + keyboard.
Anatomy
[ News ][ KPIs ] <- Lane-style segmented list +----------------+ | active panel | <- Radix Content, pt-3 +----------------+
Props
| Prop | Type | Default | Notes |
|---|---|---|---|
tabs | Tab<T>[] | -- | {value,label,content}. |
value / onValueChange | controlled pair | -- | |
className | string | -- | cn-merged onto the root. |
Use Lane for a pure value switch (no panels); Tabs when segments own content.
Motion
Segment transition on --motion-fast (bg/color/shadow); panels swap instantly.
A11y
- · Radix Tabs:
tablist/tab/tabpanelwiring, roving tabindex, arrow keys,aria-controlsfor free.