Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark card with warm earth-toned borders evoking African textile patterns

Component anatomy

Dark card with warm earth-toned borders evoking African textile patterns

{
  "element": "div",
  "baseClasses": [
    "bg-[#2c1810]",
    "rounded-none",
    "border-4 border-[#c4501f]",
    "shadow-lg",
    "transition-all duration-300 ease-in-out"
  ]
}

Variants and parameters

Default

Kente

border-[#f0c75e] bg-gradient-to-br from-[#2c1810] to-[#c4501f]/20

Forest

border-[#1a5632] bg-gradient-to-br from-[#2c1810] to-[#1a5632]/20

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-xl",
    "hover:border-[#f0c75e]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe