Component recipe · Claude Design source
Button for Claude Design
Algorithmic button with violet accent
Component anatomy
Algorithmic button with violet accent
{
"element": "button",
"baseClasses": [
"font-mono",
"tracking-wide",
"rounded-md",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-violet-600 text-white
Ghost
bg-transparent text-violet-400 border border-violet-500/40
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-violet-500"
],
"active": [
"active:scale-[0.98]"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe