Manage Content
Variants
PropTypeDefaultRequiredDescription
variant'success' | 'warning' | 'error' | 'info''info'NoColour and icon.
titlestringYesShort summary line.
childrenReactNodeNoOptional supporting detail.
Do
  • Use the variant that matches severity, not the one that "looks nicest" for the layout.
  • Keep the title a short summary; put detail and next steps in the body.
Don't
  • Use an Alert for a transient confirmation ("Saved!") — that’s a Toast.
  • Stack more than one Alert in the same view unless each is about a genuinely different thing.