Component recipes

Component recipe · Claude Design source

Wildflower Alert for Claude Design

Alert boxes with wildflower-themed decorations

Component anatomy

Alert boxes with wildflower-themed decorations

{
  "element": "div",
  "baseClasses": [
    "relative",
    "p-4",
    "rounded-xl",
    "border",
    "font-serif"
  ]
}

Variants and parameters

Info

bg-[#5a8f5a]/10 border-[#5a8f5a]/30 text-[#5a8f5a]

Warning

bg-[#f5d75f]/20 border-[#d4a03a]/40 text-[#8b7355]

Error

bg-[#d4a0a0]/20 border-[#8b4a5a]/40 text-[#8b4a5a]

Success

bg-[#5a8f5a]/15 border-[#5a8f5a]/50 text-[#3d5c3d]

Visible

boolean

Interaction states

{}

Related base style

Fixed-version source · reviewed before publishingNext component recipe