OptionalactionA single action, e.g. Undo. Choosing it dismisses the toast.
OptionalcolorAccent color, from the colors config.
OptionaldescriptionSupporting text.
OptionaldismissAccessible name of this notification's dismiss button.
OptionaldurationTime before it dismisses itself, in ms. Paused while hovered or focused. 0 keeps it until dismissed.
OptionalgapSpace between the message, action and dismiss button, from the spacing config. Accepts a scalar or breakpoint map.
OptionalpaddingInner spacing, from the spacing config. Accepts a scalar or breakpoint map.
OptionalradiusCorner radius, from the radii config.
OptionaltextTypography style, from the typography.styles config.
Main message.
OptionalurgentAnnounces immediately (role="alert") instead of politely. Use for errors that need attention.
Options for toast.