Component recipes

Component recipe · Claude Design source

Card for Claude Design

Semi-transparent dialog panel with frosted glass and optional character nameplate

Component anatomy

Semi-transparent dialog panel with frosted glass and optional character nameplate

{
  "element": "div",
  "baseClasses": [
    "rounded-lg",
    "backdrop-blur-md",
    "shadow-sm",
    "transition-all duration-300 ease-in-out",
    "relative"
  ]
}

Variants and parameters

Light

bg-white/70 border border-[#4a5568]/10

Dialog

bg-[#1a202c]/85 border border-[#6366f1]/20

Narrator

bg-white/50 border border-[#4a5568]/10

Scene Card

bg-white/70 border border-[#6366f1]/15 overflow-hidden

Padding

select · 3 options

Interactive

boolean

Ornate Corners

boolean

Interaction states

{
  "hover": [
    "hover:shadow-lg",
    "hover:border-[#6366f1]/30"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe