Component recipes

Component recipe · Claude Design source

Navigation for Claude Design

Clay-style navigation bar with soft 3D shadow

Component anatomy

Clay-style navigation bar with soft 3D shadow

{
  "element": "nav",
  "baseClasses": [
    "bg-[#fce7f3]",
    "rounded-b-2xl",
    "px-4 md:px-8",
    "py-3 md:py-4"
  ]
}

Variants and parameters

Default

shadow-[0_8px_16px_rgba(0,0,0,0.1),inset_0_-4px_8px_rgba(0,0,0,0.05)]

Mint

bg-[#d1fae5] shadow-[0_8px_16px_rgba(0,0,0,0.1),inset_0_-4px_8px_rgba(0,0,0,0.05)]

Sticky

boolean

Related base style

Fixed-version source · reviewed before publishingNext component recipe