Component recipes

Component recipe · Claude Design source

Eye Badge for Claude Design

Badge with surrealist eye motif and dreamlike styling

Component anatomy

Badge with surrealist eye motif and dreamlike styling

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "rounded-[50%/40%]",
    "border border-[#d4a574]/40",
    "font-serif italic",
    "transition-all duration-500 ease-in-out"
  ]
}

Variants and parameters

Open

bg-gradient-to-r from-[#f0ece4] to-[#c38d94]/20 text-[#1a1a3e] shadow-[0_4px_16px_rgba(195,141,148,0.3)]

Closed

bg-[#1a1a3e] text-[#f0ece4] border-[#c38d94]/40 shadow-[0_4px_16px_rgba(26,26,62,0.3)]

Dreaming

bg-gradient-to-r from-[#c38d94]/30 to-[#d4a574]/30 text-[#1a1a3e] border-[#d4a574]/50 shadow-[0_4px_16px_rgba(212,165,116,0.3)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:shadow-[0_8px_24px_rgba(195,141,148,0.4)]",
    "hover:scale-110"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe