All components
Toast
Transient notifications with indicator, title, description, action, and close slots.
Install
zsh — toast
1bunx stylexblocks add toastUsage — Ark UI
toast.tsx
1234567891011121314151617181920212223import { Toaster, toaster } from "#components/ui/ark-ui/toast.tsx";
// toaster is the store from Ark's createToaster — call it from anywhere;// <Toaster /> is the portal-mounted region rendering each toast through the// toast slot recipe.export function App() { return ( <> <button onClick={() => toaster.create({ title: "Changes saved", description: "Your theme has been published.", type: "success", }) } > Save </button> <Toaster /> </> );}