Component recipe · Claude Design source
Button for Claude Design
Iridescent button with gradient glow
Component anatomy
Iridescent button with gradient glow
{
"element": "button",
"baseClasses": [
"font-sans",
"font-medium",
"rounded-xl",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-gradient-to-r from-purple-500 via-pink-500 to-cyan-500 text-white shadow-[0_0_20px_rgba(168,85,247,0.3)]
Ghost
bg-transparent text-white border border-purple-500/40
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_0_30px_rgba(168,85,247,0.4)]"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe