Component recipe · Claude Design source
Card for Claude Design
RPG menu panel with double borders, corner ornaments and gradient background
Component anatomy
RPG menu panel with double borders, corner ornaments and gradient background
{
"element": "div",
"baseClasses": [
"bg-gradient-to-b from-slate-800 to-slate-900",
"border-2 border-blue-700",
"rounded-md",
"ring-1 ring-blue-400/20",
"transition-all duration-200",
"relative"
]
}Variants and parameters
Default
shadow-[inset_0_1px_0_rgba(255,255,255,0.05),0_4px_12px_rgba(0,0,0,0.5)]
Gold
border-[#fbbf24]/60 ring-[#fbbf24]/20 shadow-[inset_0_1px_0_rgba(255,255,255,0.05),0_4px_12px_rgba(0,0,0,0.5)]
Status Panel
bg-gradient-to-b from-slate-900 to-[#0f172a] border-blue-800 shadow-[inset_0_1px_0_rgba(255,255,255,0.03),0_4px_12px_rgba(0,0,0,0.6)]
Padding
select · 3 options
Interactive
boolean
Interaction states
{
"hover": [
"hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.1),0_6px_16px_rgba(0,0,0,0.5)]",
"hover:border-blue-600"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe