Component recipes

Component recipe · Claude Design source

Nav Item for Claude Design

Sidebar navigation item with active state

Component anatomy

Sidebar navigation item with active state

{
  "element": "a",
  "baseClasses": [
    "flex items-center gap-3 px-4 py-3",
    "rounded-xl",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

text-gray-500 hover:bg-[#faf8f5] hover:text-gray-800

Active

bg-[#faf8f5] text-gray-800 font-medium

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:bg-[#faf8f5] hover:text-gray-800"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe