Component recipes

Component recipe · Claude Design source

Card for Claude Design

Stripe-inspired card with white background, rounded corners and generous padding

Component anatomy

Stripe-inspired card with white background, rounded corners and generous padding

{
  "element": "div",
  "baseClasses": [
    "bg-white",
    "rounded-xl",
    "transition-all duration-200"
  ]
}

Variants and parameters

Default

shadow-lg border border-gray-100

Accent

shadow-lg border border-[#635BFF]/20

Gradient

bg-gradient-to-br from-white to-[#f5f3ff] shadow-lg border border-gray-100

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-xl"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe