easyui.

Discover / Feedback

Toast

Offer a brief, non-blocking update.

Usage notes

Use toasts for brief status messages, not important information that needs a permanent home.

Examples use @easyui/react and its stylesheet. Read the setup guide.

Example source

import { Button, ToastProvider, toast } from "@easyui/react";

export default function Example() {
  return (
    <ToastProvider>
      <Button variant="secondary" onClick={() => toast({ title: "Example notification", description: "This is a preview, not a saved change." })}>Show notification</Button>
    </ToastProvider>
  );
}

Explore more components