Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark panel with 1px border

Component anatomy

Dark panel with 1px border

{
  "element": "div",
  "baseClasses": [
    "bg-[#2c2c2e]",
    "border border-white/8",
    "rounded-xl",
    "transition-colors duration-200"
  ]
}

Variants and parameters

Default

hover:border-white/12

Surface

bg-[#3a3a3c] hover:border-white/15

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:border-white/12"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe