Manage Content
Try it
PropTypeDefaultRequiredDescription
variant'success' | 'error' | 'info''info'NoColour and icon.
messagestringYesThe confirmation text.
onDismiss() => voidNoCalled when the dismiss button is clicked. Omit to hide the button.
Do
  • Use for confirming an action the user just took ("Changes saved").
  • Keep the message to one short sentence.
  • Always include a dismiss control even if it also auto-dismisses.
Don't
  • Use a Toast for anything that requires a decision — that needs a Modal or inline Alert instead.
  • Show more than one Toast at a time in a way that makes them overlap.