Feedback

Toast API

Toast provides transient feedback for publish actions, saves, deploys, and background operations.

Preview

Import

import { Toast, Toaster } from "@axonyx/react/client";

Props

PropTypeDefaultDescription
tone"info" | "success" | "warning" | "danger""info"Semantic feedback tone.
titleReactNoderequiredPrimary toast message.
descriptionReactNodeundefinedOptional supporting text.

CSS contract

.ax-toast-viewport
.ax-toast
.ax-toast__title
.ax-toast__description
.ax-toast__close
[data-tone]