Skip to content
Layouts

Nav Shell

A full-page top-navigation layout: a sticky header bar with brand, inline navigation, and actions above a scrollable content region. On mobile the inline nav collapses into a hamburger-triggered drawer. Use for marketing sites and top-nav applications.

Structure Diagram

NavShellBrand

NavShellActions

NavShellMain (scrollable)

The inline NavShellNav is hidden below the md breakpoint, where NavShellMobileNav renders a hamburger that opens a drawer with the same links. Resize the browser to see the switch.

NavShell Props

PropTypeDefaultDescription
classNamestringAdditional CSS classes to apply to the shell container.

The same className passthrough applies to NavShellHeader, NavShellBrand, NavShellNav, NavShellActions, and NavShellMain.

NavShellNavItem Props

PropTypeDefaultDescription
iconReact.ComponentType<{ className?: string }>Optional icon component rendered before the label.
activebooleanfalseWhether this item represents the current page.
hrefstringThe link destination for the navigation item.

NavShellMobileNav Props

PropTypeDefaultDescription
titlestring"Navigation"Accessible title shown at the top of the mobile drawer.
triggerLabelstring"Open navigation menu"Accessible label for the hamburger trigger button.