Skip to content
Storybook

Nav Item

Sidebar link with an icon, label and optional count. Selected marks the current section (aria-current="page"); collapsed shows the icon only.

Preview

Nav Item preview

Install

Free and open in the core package.

BASH
npm i @pixelsds/react react-aria-components

Usage

JSX
import { NavItem } from '@pixelsds/react';

export default function Example() {
  return <NavItem />;
}

Every example above, with its props and full source, is in the Storybook. Built from Pixels tokens, so it follows your brand colour, dark mode and right-to-left.