
Drill-in sidebar that swaps main nav for sub-items
A single-column shadcn/ui Sidebar that replaces its main navigation with the selected section's sub-items and a back button, keeping the footprint compact. It uses SidebarMenu, SidebarMenuBadge for counts, an organization switcher built on DropdownMenu, Avatar for the user footer and motion/react AnimatePresence for the panel transition. Ideal for narrow layouts and mobile-first admin interfaces.








