Component recipes

Component recipe · Claude Design source

Cockpit Nav for Claude Design

Navigation bar styled like mecha cockpit controls

Component anatomy

Navigation bar styled like mecha cockpit controls

{
  "element": "nav",
  "baseClasses": [
    "flex items-center gap-1",
    "bg-[#0f0f1a]/95",
    "border-b border-[#7c3aed]/30",
    "px-4 py-2",
    "font-mono",
    "text-xs",
    "uppercase",
    "tracking-widest",
    "text-[#e0e0ff]/70"
  ]
}

Variants and parameters

Default

shadow-[0_2px_15px_rgba(124,58,237,0.15)]

Compact

py-1 gap-0.5 text-[10px]

Visible

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe