Component recipes

Component recipe · Claude Design source

Dream Panel for Claude Design

Panel with dreamy, ethereal background and surreal styling

Component anatomy

Panel with dreamy, ethereal background and surreal styling

{
  "element": "div",
  "baseClasses": [
    "bg-gradient-to-br from-[#f0ece4]/90 to-[#c38d94]/10",
    "rounded-2xl",
    "border border-[#d4a574]/20",
    "backdrop-blur-sm",
    "transition-all duration-500 ease-in-out"
  ]
}

Variants and parameters

Default

shadow-[0_4px_20px_rgba(195,141,148,0.15)]

Twilight

bg-gradient-to-br from-[#1a1a3e]/80 to-[#c38d94]/30 border-[#c38d94]/30 text-[#f0ece4] shadow-[0_4px_20px_rgba(26,26,62,0.3)]

Dawn

bg-gradient-to-br from-[#d4a574]/20 to-[#f0ece4] border-[#d4a574]/30 shadow-[0_4px_20px_rgba(212,165,116,0.2)]

Padding

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_8px_32px_rgba(195,141,148,0.25)]",
    "hover:border-[#d4a574]/40"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe