Navlist
Vertical navigation with sections, icons, badges, and active state.
Basic
With icons
Section heading
Set heading to render a navheading as the first child without extra markup.
Multiple sections
Stacked navlists separate automatically through a sibling selector, with no wrapper or spacing utility needed.
Custom heading
Render navheading directly to add uppercase captions, badges, or any markup richer than plain text.
Trailing badges
Push counters and status pills to the right edge with ml-auto.
Icon-only with tooltips
Wrap each navlink in a tooltip so collapsed sidebars still surface labels on hover.
Navigation modes
Pick the navigation attribute by intent. navigate handles live mounts, patch updates URLs in place, href opens external links, phx-click runs server actions without navigating.
Expandable group
Toggle a data-expanded attribute on the trigger and animate the panel from grid-rows-[0fr] to grid-rows-[1fr], no server round-trip required.
Nested expandable
Customization
Custom class values compose with the base styles, and data-active: Tailwind variants extend the active state without server logic.