Component recipes

Component recipe · Claude Design source

Card for Claude Design

Soft manga panel card with screentone background, flower corner icons, and pink-tinted shadow

Component anatomy

Soft manga panel card with screentone background, flower corner icons, and pink-tinted shadow

{
  "element": "div",
  "baseClasses": [
    "bg-[#fff5f7]",
    "rounded-2xl",
    "border-2 border-[#ffb7c5]/20",
    "shadow-[0_4px_20px_#ffb7c520]",
    "transition-all duration-300 ease-in-out",
    "relative overflow-hidden"
  ]
}

Variants and parameters

Default

Lavender

border-[#c4b5fd]/25 shadow-[0_4px_20px_#c4b5fd20]

Gold

border-[#fde68a]/35 shadow-[0_4px_20px_#fde68a30]

Manga Panel

bg-white/80 border-2 border-[#ffb7c5]/15 rounded-3xl

Padding

select · 3 options

Interactive

boolean

Screentone BG

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_8px_30px_#ffb7c540]",
    "hover:border-[#ffb7c5]/35"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe