App Sidebar
Authenticated app-shell navigation: brand block, labelled nav groups with active state from usePathname, user menu with links and sign-out callback; icon rail on desktop, drawer on mobile. Brand, groups, user and callbacks are props.
App patternsregistry:component
Install
npx shadcn@latest add @sav/app-sidebarNeeds "@sav": "https://design.sasv.ch/r/{name}.json" under registries in components.json. Direct URL: /r/app-sidebar.json.
Preview
Files
- registry/sav/components/app-sidebar.tsx→ @components/app-sidebar.tsx
Dependencies
Registry items
npm packages
lucide-react