Component recipes

Component recipe · Claude Design source

Card for Claude Design

Translucent Y2K card with bubble-like glass and pastel gradients

Component anatomy

Translucent Y2K card with bubble-like glass and pastel gradients

{
  "element": "div",
  "baseClasses": [
    "bg-gradient-to-br from-white/60 to-pink-100/40",
    "backdrop-blur-md",
    "rounded-3xl",
    "border border-white/60",
    "shadow-[0_8px_32px_rgba(0,0,0,0.1)]",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

Metallic

bg-gradient-to-br from-gray-200/60 via-white/80 to-gray-300/60

Rainbow

bg-gradient-to-br from-pink-200/40 via-purple-200/40 to-cyan-200/40

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_12px_40px_rgba(255,105,180,0.2)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe