Component recipe · Claude Design source
Button for Claude Design
Dark background button with light text and subtle glow border
Component anatomy
Dark background button with light text and subtle glow border
{
"element": "button",
"baseClasses": [
"font-medium",
"rounded-lg",
"transition-all duration-200"
]
}Variants and parameters
Primary
bg-[#1f2937] text-white border border-gray-600
Secondary
bg-blue-600 text-white
Outline
bg-transparent text-gray-300 border border-gray-600
Size
select · 3 options
Full Width
boolean
Interaction states
{
"hover": [
"hover:bg-gray-700",
"hover:border-gray-500"
],
"active": [
"active:bg-gray-800"
],
"disabled": [
"opacity-40 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe