Component recipe · Claude Design source
Action Panel for Claude Design
Panel with comic action lines background effect
Component anatomy
Panel with comic action lines background effect
{
"element": "div",
"baseClasses": [
"bg-[#fffef0]",
"border-4 border-[#1a1a1a]",
"rounded-lg",
"relative",
"overflow-hidden",
"bg-[repeating-conic-gradient(#fffef0_0deg,#fffef0_5deg,rgba(26,26,26,0.03)_5deg,rgba(26,26,26,0.03)_10deg)]",
"transition-all duration-150"
]
}Variants and parameters
Default
shadow-[4px_4px_0px_0px_rgba(26,26,26,1)] md:shadow-[6px_6px_0px_0px_rgba(26,26,26,1)]
Intense
bg-[#ef4444]/10 shadow-[6px_6px_0px_0px_rgba(239,68,68,1)]
Subtle
border-2 border-[#1a1a1a] shadow-[3px_3px_0px_0px_rgba(26,26,26,0.5)]
Padding
select · 3 options
Interaction states
{
"hover": [
"hover:shadow-[2px_2px_0px_0px_rgba(26,26,26,1)]",
"hover:translate-x-[2px] hover:translate-y-[2px]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe