Icon Rail
A narrow vertical strip of icon-only destinations — what a sidebar collapses to, or a persistent app-level switcher beside one. Each item is a real button with a required accessible name.
tsx
import { IconRail, IconRailItem, IconRailSpacer } from "@pestoui/core"Destinations
active paints the filled pill and sets aria-current. IconRailSpacer eats the leftover height, pushing what follows to the bottom. The rail's height is the caller's.
Surfaces and sizes
surface="dark" paints the rail from the inverse end of the neutral ramp. size="sm" is a 48px rail with 32px items.
Props
Pesto UI · 117 documented components