Component recipe · Claude Design source
Button for Claude Design
Visual novel choice button with frosted glass effect and subtle hover glow
Component anatomy
Visual novel choice button with frosted glass effect and subtle hover glow
{
"element": "button",
"baseClasses": [
"font-sans",
"font-medium",
"rounded-lg",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Primary
bg-[#6366f1] text-white shadow-sm border border-[#6366f1]/20
Secondary
bg-white/[0.06] text-white/70 border border-white/10 backdrop-blur-sm
Choice
bg-white/50 text-[#4a5568] border border-[#6366f1]/25 backdrop-blur-sm text-left
Pink
bg-[#ec4899] text-white shadow-sm border border-[#ec4899]/20
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-[#6366f1]/10",
"hover:border-[#6366f1]/40",
"hover:shadow-[0_0_15px_#6366f115]"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe