Components/Sidebar

Sidebar

Collapsible side navigation with icon-only collapsed mode.

Installation

Examples

Expanded and collapsed

Toggle between full and icon-only views.

Veloria

API Reference

PropTypeDefaultDescription
openbooleantrueControls open state.
onOpenChange(v: boolean) => voidCalled when state changes.
collapsiblebooleantrueEnables icon-only collapsed mode.
widthstring'16rem'Expanded width.