Component recipes

Component recipe · Claude Design source

Holographic Badge for Claude Design

Badge with holographic/iridescent effect and Y2K shimmer

Component anatomy

Badge with holographic/iridescent effect and Y2K shimmer

{
  "element": "div",
  "baseClasses": [
    "inline-flex items-center justify-center",
    "font-bold",
    "rounded-full",
    "border border-white/50",
    "transition-all duration-300"
  ]
}

Variants and parameters

Rainbow

bg-gradient-to-r from-pink-400 via-purple-400 to-cyan-400 text-white shadow-[0_2px_10px_rgba(255,105,180,0.4)]

Silver

bg-gradient-to-b from-gray-100 via-white to-gray-200 text-gray-600 shadow-[0_2px_10px_rgba(0,0,0,0.1)]

Pink

bg-gradient-to-r from-pink-300 to-pink-400 text-white shadow-[0_2px_10px_rgba(255,105,180,0.3)]

Size

select · 3 options

Interaction states

{
  "hover": [
    "hover:scale-105",
    "hover:shadow-[0_4px_15px_rgba(255,105,180,0.5)]"
  ]
}

Related base style

Fixed-version source · reviewed before publishingNext component recipe