Component recipes

Component recipe · Claude Design source

Card for Claude Design

Semi-transparent content card with blur effect

Component anatomy

Semi-transparent content card with blur effect

{
  "element": "div",
  "baseClasses": [
    "backdrop-blur-sm",
    "rounded-2xl",
    "shadow-xl",
    "transition-all duration-300"
  ]
}

Variants and parameters

Light

bg-white/90 text-[#1e3a5f]

Dark

bg-[#1e3a5f]/90 text-white

Glass

bg-white/20 text-white border border-white/20

Padding

select · 3 options

Width

select · 4 options

Interaction states

{
  "hover": [
    "hover:shadow-2xl"
  ],
  "active": [],
  "disabled": [
    "opacity-50"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe