Component recipes

Component recipe · Claude Design source

Card for Claude Design

Dark card with fluorescent border, hard offset shadow, and scanline-ready surface

Component anatomy

Dark card with fluorescent border, hard offset shadow, and scanline-ready surface

{
  "element": "div",
  "baseClasses": [
    "bg-[#0a0a0a]",
    "rounded-none",
    "border-2 border-[#39ff14]",
    "shadow-[5px_5px_0px_#a020f0]",
    "transition-all duration-150 ease-out"
  ]
}

Variants and parameters

Default

Purple Glow

border-[#a020f0] shadow-[5px_5px_0px_#39ff14]

Pink Glow

border-[#ff6ec7] shadow-[5px_5px_0px_#e6ff00]

Acid Yellow

border-[#e6ff00] shadow-[5px_5px_0px_#ff6ec7]

Padding

select · 3 options

Interactive

boolean

Skewed

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[8px_8px_0px_#a020f0]",
    "hover:border-[#e6ff00]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe