Navigation
App header, sidebar and nav items.
Atomus
KS
import { AppHeader, SidebarNavigation, NavItem } from '@stanvision/atomus-react';
<SidebarNavigation header={<Logo />} footer={<NavItem label="Settings" href="/settings" />}> <NavItem label="Home" href="/" icon={<HomeIcon />} active /> <NavItem label="Projects" href="/projects" badge={12} /></SidebarNavigation>AppHeader (top bar), SidebarNavigation (280px, or a 72px rail) and NavItem rows.
Provide
Section titled “Provide”NavItem—label,href,icon,badge,chevron,active(setsaria-current="page"),collapsed(icon only, label as tooltip and accessible name).SidebarNavigation—header,children(NavItems),footer,collapsed.AppHeader—brand,nav,actions; the nav hides below 768px, so pair it with a menu button.
- Don’t mix a sidebar and a header nav with the same links.
In Figma
Section titled “In Figma”Properties, variants and anatomy for the Figma component are on the Figma reference page. Prop names in React match the Figma property names.