Component recipe · Claude Design source
Book Spine Tab for Claude Design
Tab styled like a book spine label
Component anatomy
Tab styled like a book spine label
{
"element": "button",
"baseClasses": [
"px-4 py-3",
"font-serif tracking-wide",
"bg-[#3d2b1f]",
"text-[#c9a227]",
"border-l-4",
"transition-all duration-200"
]
}Variants and parameters
Brown
bg-[#3d2b1f] border-[#c9a227]
Green
bg-[#2d4a3e] border-[#8b7355]
Burgundy
bg-[#5c2a2a] border-[#c9a227]
Visible
boolean
Interaction states
{
"active": [
"[&.active]:bg-[#5c4033]"
],
"hover": [
"hover:bg-[#5c4033]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe