useSidebar

Global state management for an application sidebar, handling both desktop collapse state (persisted) and mobile drawer state.

Install: pnpm add-composable useSidebar

Sidebar controls

Interact with the global sidebar state.

API