Component recipe · Claude Design source
Bushido Alert for Claude Design
Alert box with samurai honor code aesthetic and neon accents
Component anatomy
Alert box with samurai honor code aesthetic and neon accents
{
"element": "div",
"baseClasses": [
"relative",
"border-l-4",
"border-t-2 border-t-[#dc2626]/20",
"bg-[#080818]/90",
"font-serif",
"tracking-[0.15em]",
"before:content-[''] before:absolute before:top-0 before:left-0 before:right-0 before:h-px before:bg-gradient-to-r before:from-transparent before:via-[#dc2626]/30 before:to-transparent",
"transition-all duration-300 ease-in-out",
"p-4 md:p-6"
]
}Variants and parameters
Honor
border-l-[#38bdf8] shadow-[0_0_12px_rgba(56,189,248,0.3)] text-[#38bdf8]
Warning
border-l-[#dc2626] shadow-[0_0_12px_rgba(220,38,38,0.3)] text-[#dc2626]
Defeat
border-l-[#a020f0] shadow-[0_0_12px_rgba(160,32,240,0.3)] text-[#a020f0]
Visible
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_0_20px_rgba(220,38,38,0.5)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe