Toast.
Nonblocking notifications from the shared provider.
The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.
Props & API reference
Parameters available in the shared component, including value types, requirements and accepted options.
| Parameter | Type | Required | Default | Possible values | Description |
|---|---|---|---|---|---|
ToastProvider.children | ReactNode | Yes | — | — | App subtree that can call useToast. |
toast.title | string | Yes | — | — | First argument passed to useToast's function. |
toast.description | string | No | — | — | Optional supporting message. |
toast.tone | "success" | "info" | "error" | No | success | success · info · error | Toast category. |