Skip to content
AJS InnovationsUI

Patterns

Sidebar

The source's 275px navy rail, profile block, and collapsible navigation.

Interactive local example · fictional data

The Code tab contains this preview’s complete source, including sample data and interaction state. Load the package stylesheet and Switzer font as described in the installation guide. Additional layout utilities require Tailwind CSS in your application.

API reference

PropTypeDefault
brandReactNoderequired
itemsNavigationItem[]required
activeIdstring
user{ name, subtitle?, avatar? }
onNavigate(item) => void
userActions{ label, onSelect }[]

Primitives also accept their underlying HTML or Radix props. Full types are included with the package.

Behavior & accessibility

  • Supply your own brand and profile data. Navigation has no production coupling.
  • Use AppShell to add the mobile navigation drawer.

Reference

Member and settings navigation