Back to components

Toast

Toast notifications with success, error, warning, and default variants.

Examples

Interactive Toasts

Props

PropTypeDefaultDescription
type"default" | "success" | "error" | "warning""default"Visual style variant of the toast
message*string-Toast message content
durationnumber5000Duration in milliseconds before auto-dismiss