@zedtech/zedkit-ui
Show toast notifications
@zedtech/zedkit-ui — beta
beta
At a glance
- Who: Developers confirming background outcomes (saved, failed, copied).
- What: A root toaster plus toast() calls for transient notifications.
- Use when: For outcomes that do not need the user's reply.
- Avoid when: For errors needing action — use Alert or Dialog instead.
- See also: Call out a notice or an error state
Install
pnpm add @zedtech/zedkit-uiLatest: 0.3.0 (via changesets).
Example
import { Toaster } from "@zedtech/zedkit-ui";
import { toast } from "sonner";
<Toaster /> // once near the root, then toast("Saved") anywhereWraps: sonner