Skip to content

AlertVariant

AlertVariant = "info" | "success" | "warning" | "error" | "neutral"

Defined in: src/components/feedback/Alert/Alert.types.ts:14

Semantic intent of an alert.

  • info — neutral information (default)
  • success — positive confirmation
  • warning — caution / attention required
  • error — destructive / blocking issue
  • neutral — passive status banner without coloring