Skip to main content
NavItem
DeprecatedSidebar navigation item — 20px icon + label + optional badge. Active state shows 4px teal accent on left edge, white background, and teal-700 text. Superseded by sidebar.
Categorymolecules
Source
patterns/molecules/navitem.htmlAI HintUse for grouped UI patterns. Combine atoms into functional units.
Sidebar nav item.
NavItem
Navigation — Family 5
Sidebar nav item.
Usage
Sidebar nav item. Refer to the DS component index for full prop details.
import { NavItem } from '@epasslive/design-system'Props
Prop
Type
Required
Default
Description
labelstringRequired
—No description.
iconReact.ReactNodeRequired
—No description.
hrefstringOptional
—No description.
activebooleanOptional
FalseNo description.
Quick use:
<NavItem />Accessibility
ARIA rolelink | button
Type
1 ruleARIA
1 ruleUsage
Import
Example 1
Anti-patterns
— Do not hardcode data in molecules
— Avoid complex business logic in molecules