Component recipe · Claude Design source
RPG Menu Button for Claude Design
Classic JRPG menu button with corner block decorations, pixel-perfect 2px borders, hard offset shadow, and step-based hover translation
Component anatomy
Classic JRPG menu button with corner block decorations, pixel-perfect 2px borders, hard offset shadow, and step-based hover translation
{
"element": "button",
"baseClasses": [
"relative",
"font-mono",
"font-bold",
"uppercase",
"tracking-wider",
"border-2 border-[#1a1040]",
"shadow-[4px_4px_0px_#1a1040]",
"transition-all duration-150 ease-linear"
]
}Variants and parameters
Primary
bg-[#4a90d9] text-white
Secondary
bg-[#ff6b6b] text-white
Gold
bg-transparent text-[#ffd93d] border-2 border-[#ffd93d] shadow-[3px_3px_0px_#1a1040]
Green
bg-[#50c878] text-white
Size
select · 3 options
Full Width
boolean
Corner Blocks
boolean
Interaction states
{
"hover": [
"hover:translate-x-[2px] hover:translate-y-[2px]",
"hover:shadow-[2px_2px_0px_#1a1040]"
],
"active": [
"active:translate-x-[4px] active:translate-y-[4px] active:shadow-none"
],
"disabled": [
"opacity-50 cursor-not-allowed"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe