A calm navigation link with active, disabled, and badge states.
NavLink defines how EnterUI handles a calm navigation link with active, disabled, and badge states, including default structure, accessible states, and token-driven styling.
NavLink is tuned for sidebars, drawers, and product navigation.
<div className="docs-preview-stack">
<NavLink active href="/docs" badge={<Badge>New</Badge>}>Overview</NavLink>
<NavLink href="/docs/components/button">Components</NavLink>
<NavLink disabled href="/docs/disabled">Disabled</NavLink>
</div>import { NavLink } from "@froggdesign/enter-ui-react";Active NavLink sets aria-current="page". Disabled links remove the href, set aria-disabled, and are skipped in tab order.
active marks the current page.disabled prevents navigation.badge renders trailing metadata.className.Uses .eui-nav-link classes with restrained active state.