Product sidebar navigation with grouped items, active state, badges, and a collapsed mode.
SideNav is product-tuned navigation: grouped sections, badge slots, optional collapsed mode (icons only), and nested items via SideNavGroup.
Mark the active item with `active`. Badges accept any ReactNode.
<SideNav>
<SideNavSection title="Workspace">
<SideNavItem active href="#overview">Overview</SideNavItem>
<SideNavItem badge={3} href="#projects">Projects</SideNavItem>
<SideNavItem href="#releases">Releases</SideNavItem>
</SideNavSection>
</SideNav>import {
SideNav,
SideNavGroup,
SideNavItem,
SideNavSection,
} from "@froggdesign/enter-ui-react";The active item announces aria-current="page"; disabled items expose aria-disabled="true" and skip pointer/keyboard focus. The root uses <nav> with a configurable aria-label.
SideNav: root <nav>. Pass collapsed to hide labels and badges.SideNavSection: optional titled group of items.SideNavItem: anchor with active, disabled, icon, and badge slots.SideNavGroup: nested items inside a native <details> disclosure.Every exported component accepts className. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.