Logo

    Grouped Sidebar

    A collapsible sidebar with grouped navigation sections. Features persistent state for both sidebar open/close and individual group expansion using localStorage.

    This sidebar combines the best of both worlds: a collapsible main sidebar and expandable navigation groups within it.

    The sidebar state (open/close) and individual group expansion states are persisted to localStorage with the aceternity- prefix, so users see their preferred configuration even after page navigation or browser refresh.

    Primary navigation links appear at the top without grouping, followed by a divider, then grouped sections (Content, Team, Settings) that can be independently expanded or collapsed. When the main sidebar is collapsed, only icons are visible. When a group is expanded in collapsed mode, child link icons stack vertically.

    Uses Framer Motion for smooth width transitions (300px expanded, 70px collapsed) and height animations for group expand/collapse. React Context shares the open state across all child components.

    Perfect for complex dashboards, admin panels, or any application with hierarchical navigation that benefits from organized, collapsible sections.

    Included with All-Access

    One payment unlocks the code for this block and every other block, template and page.

    Get All-Access

    About this block

    This sidebar combines the best of both worlds: a collapsible main sidebar and expandable navigation groups within it.

    The sidebar state (open/close) and individual group expansion states are persisted to localStorage with the aceternity- prefix, so users see their preferred configuration even after page navigation or browser refresh.

    Primary navigation links appear at the top without grouping, followed by a divider, then grouped sections (Content, Team, Settings) that can be independently expanded or collapsed. When the main sidebar is collapsed, only icons are visible. When a group is expanded in collapsed mode, child link icons stack vertically.

    Uses Framer Motion for smooth width transitions (300px expanded, 70px collapsed) and height animations for group expand/collapse. React Context shares the open state across all child components.

    Perfect for complex dashboards, admin panels, or any application with hierarchical navigation that benefits from organized, collapsible sections.

    ceternity UI

    Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

    A product by Aceternity
    Building in public at @mannupaaji

    © 2026 Aceternity Labs LLC. All Rights Reserved.