Component recipe · Claude Design source
Impasto Alert for Claude Design
Alert with thick impasto texture border
Component anatomy
Alert with thick impasto texture border
{
"element": "div",
"baseClasses": [
"bg-[#f5f0e1]",
"rounded-lg",
"border-l-4",
"p-4 md:p-5",
"font-serif",
"transition-all duration-300 ease-in-out"
]
}Variants and parameters
Info
border-l-[#1abc9c] shadow-[0_2px_0_rgba(26,188,156,0.15),0_4px_12px_rgba(26,188,156,0.06)]
Warning
border-l-[#e8a87c] shadow-[0_2px_0_rgba(232,168,124,0.15),0_4px_12px_rgba(232,168,124,0.06)]
Success
border-l-[#2c3e50] shadow-[0_2px_0_rgba(44,62,80,0.10),0_4px_12px_rgba(44,62,80,0.06)]
Visible
boolean
Interaction states
{
"hover": [
"hover:shadow-[0_3px_0_rgba(192,57,43,0.12),0_6px_16px_rgba(44,62,80,0.10)]"
]
}Related base style
Fixed-version source · reviewed before publishingNext component recipe