Toast API
Toast provides transient feedback for publish actions, saves, deploys, and background operations.
Preview components
Open the component docs to see examples, combinations, and usage patterns built on top of this API.
- ToastNotification examples and feedback tones.
Preview
Import
import { Toast, Toaster } from "@axonyx/react/client";Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tone | "info" | "success" | "warning" | "danger" | "info" | Semantic feedback tone. |
| title | ReactNode | required | Primary toast message. |
| description | ReactNode | undefined | Optional supporting text. |
CSS contract
.ax-toast-viewport .ax-toast .ax-toast__title .ax-toast__description .ax-toast__close [data-tone]