Component recipes

Component recipe · Claude Design source

Card for Claude Design

Linear-style dark card with subtle border and surface background

Component anatomy

Linear-style dark card with subtle border and surface background

{
  "element": "div",
  "baseClasses": [
    "rounded-lg",
    "border border-white/10",
    "bg-white/[0.03]",
    "transition-colors duration-150"
  ]
}

Variants and parameters

Default

Elevated

bg-white/[0.05]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:bg-white/[0.06]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe