Component recipes

Component recipe · Claude Design source

Garden Tab for Claude Design

Tab component with botanical illustration styling

Component anatomy

Tab component with botanical illustration styling

{
  "element": "button",
  "baseClasses": [
    "px-4 py-2",
    "font-serif",
    "border-b-2",
    "transition-all duration-200",
    "text-[#8b7355]"
  ]
}

Variants and parameters

Garden

border-[#5a8f5a]/50

Kitchen

border-[#f5d75f]/50

Craft

border-[#d4a0a0]/50

Visible

boolean

Interaction states

{
  "active": [
    "[&.active]:text-[#5a8f5a]",
    "[&.active]:border-[#5a8f5a]",
    "[&.active]:bg-[#5a8f5a]/5"
  ],
  "hover": [
    "hover:bg-[#faf6f0]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe