Component recipe · Claude Design source
Spellbook Tab for Claude Design
Tab button with arcane styling
Component anatomy
Tab button with arcane styling
{
"element": "button",
"baseClasses": [
"px-4 py-2",
"font-serif",
"text-sm",
"border-b-2 border-transparent",
"transition-all duration-300",
"text-[#e2e8f0]/60"
]
}Variants and parameters
Active
text-[#fbbf24] border-b-[#fbbf24] shadow-[0_2px_0_#fbbf24,0_4px_0_rgba(251,191,36,0.3)] [text-shadow:0_0_8px_rgba(251,191,36,0.4)]
Inactive
text-[#e2e8f0]/40 border-b-transparent
Locked
text-[#e2e8f0]/20 border-b-transparent cursor-not-allowed opacity-50
Visible
boolean
Interaction states
{
"hover": [
"hover:text-[#fbbf24]/80"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe