Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark card with VHS tape aesthetic, scan line overlay and retro glow

Component anatomy

Dark card with VHS tape aesthetic, scan line overlay and retro glow

{
  "element": "div",
  "baseClasses": [
    "bg-black",
    "border border-white/20",
    "rounded-sm",
    "overflow-hidden",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

shadow-[0_0_10px_rgba(255,0,255,0.15)]

Magenta

border-[#ff00ff]/40 shadow-[0_0_15px_rgba(255,0,255,0.25)]

Cyan

border-[#00ffff]/40 shadow-[0_0_15px_rgba(0,255,255,0.25)]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:border-[#ff00ff]/50",
    "hover:shadow-[0_0_20px_rgba(255,0,255,0.3),0_0_20px_rgba(0,255,255,0.15)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe