Component recipe · Claude Design source
Enchantment Alert for Claude Design
Alert box with mystical border and glow effects
Component anatomy
Alert box with mystical border and glow effects
{
"element": "div",
"baseClasses": [
"relative",
"bg-[#0a0920]",
"border-l-2 border-l-[#fbbf24]/30",
"rounded-sm",
"p-4",
"font-serif",
"text-sm",
"shadow-[-6px_0_0_-2px_rgba(251,191,36,0.15)]",
"bg-[radial-gradient(circle_at_0%_50%,rgba(251,191,36,0.04)_0%,transparent_50%)]"
]
}Variants and parameters
Blessing
border-[#fbbf24]/30 text-[#fbbf24] shadow-[0_0_15px_rgba(251,191,36,0.15)]
Curse
border-[#818cf8]/30 text-[#818cf8] shadow-[0_0_15px_rgba(129,140,248,0.15)]
Neutral
border-[#e2e8f0]/20 text-[#e2e8f0] shadow-[0_0_10px_rgba(226,232,240,0.1)]
Visible
boolean
Interaction states
{}Related base style
Fixed-version source · reviewed before publishingNext component recipe