Component recipes

Component recipe · Claude Design source

Card for Claude Design

Semi-transparent gradient card with glowing border and backdrop blur

Component anatomy

Semi-transparent gradient card with glowing border and backdrop blur

{
  "element": "div",
  "baseClasses": [
    "backdrop-blur-md",
    "rounded-xl",
    "border border-[#ff71ce]/30",
    "transition-all duration-300"
  ]
}

Variants and parameters

Default

bg-gradient-to-br from-[#ff71ce]/10 to-[#01cdfe]/10 shadow-[0_0_15px_rgba(255,113,206,0.2)]

Accent

bg-gradient-to-br from-[#01cdfe]/20 to-[#05ffa1]/20 border-[#05ffa1]/30 shadow-[0_0_15px_rgba(5,255,161,0.2)]

Dark

bg-gradient-to-br from-[#2d1b69]/60 to-[#11001c]/60 shadow-[0_0_15px_rgba(255,113,206,0.15)]

Padding

select · 3 options

Interactive

boolean

Interaction states

{
  "hover": [
    "hover:shadow-[0_0_25px_rgba(255,113,206,0.4)]",
    "hover:border-[#ff71ce]/50"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe