Default

<NavLink href="#" label="Home" />
<NavLink href="#" label="Settings" active />
<NavLink href="#" label="Users" />

With icons

<NavLink href="#" label="Home" leftSection={<HomeIcon />} />
<NavLink href="#" label="Settings" leftSection={<SettingsIcon />} active />
<NavLink href="#" label="Users" leftSection={<UsersIcon />} />

Description

<NavLink
  href="#"
  label="Home"
  description="Return to the dashboard"
  leftSection={<HomeIcon />}
/>
<NavLink
  href="#"
  label="Settings"
  description="Manage your preferences"
  leftSection={<SettingsIcon />}
  active
/>

Variants

variant="subtle"

variant="light"

variant="filled"

<NavLink label="Link" variant="subtle" />    {/* default */}
<NavLink label="Link" variant="light" active />
<NavLink label="Link" variant="filled" active />

Right section & badge

<NavLink
  href="#"
  label="Inbox"
  leftSection={<InboxIcon />}
  rightSection={<Badge size="xs">12</Badge>}
/>
<NavLink href="#" label="Disabled link" disabled />

Props

PropTypeDefaultDescription
labelchildren—Primary text label
descriptionchildren—Secondary text below the label
leftSectionchildren—Icon or content before the label
rightSectionchildren—Icon or content after the label
hrefstring—URL — renders an <a> when set
activeboolean—Applies active styling
disabledboolean—Prevents interaction
variant'filled'|'light'|'subtle''subtle'Active color variant
colorUiColor—Accent color for active state
componentstring—Root element override