Component recipe · Claude Design source
Button for Claude Design
Vibrant gradient button with colored shadow and glass variant
Component anatomy
Vibrant gradient button with colored shadow and glass variant
{
"element": "button",
"baseClasses": [
"font-medium",
"rounded-2xl",
"transition-all duration-300"
]
}Variants and parameters
Primary
bg-gradient-to-r from-violet-500 to-fuchsia-500 text-white shadow-lg shadow-violet-500/25
Secondary
bg-gradient-to-r from-cyan-500 to-blue-500 text-white shadow-lg shadow-cyan-500/25
Outline
backdrop-blur-xl bg-white/10 text-white border border-white/20
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:shadow-xl hover:shadow-violet-500/30",
"hover:from-violet-600 hover:to-fuchsia-600"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe