SideNav
Product side nav: brand header, icon items, optional badges, closeable; variant single (one column that closes to an icon rail) or rail-subnav (a fixed icon rail plus a SideNav.SubNav column with the picked parent's rows).
Two panels split by a separator you can drag or resize from the keyboard.
Two panels and a separator. Drag it, or focus it and use the arrow keys. Shift steps further. Home and End go to the limits.
horizontal is left and right. vertical is top and bottom. A fixed sidebar is SideNav.
List. 40%
Detail
import { Resizable } from "agentic-ds-kit";From contracts/resizable.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
| orientation | horizontal | vertical | No | horizontal | horizontal is left and right. vertical is top and bottom. |
| size | number | No | — | Controlled start-panel size, 0 to 100. |
| defaultSize | number | No | 50 | — |
| min | number | No | 20 | — |
| max | number | No | 80 | — |
| onSizeChange | function | No | — | (size: number) => void |
| start | slot | Yes | — | — |
| end | slot | Yes | — | — |
| startLabel | string | No | Start panel | — |
| endLabel | string | No | End panel | — |
| ariaLabel | string | No | Resize panels | — |