Sonner
Toast notifications.
Full API on ui.shadcn.comVariants
Toaster is mounted in the app's root layout; call toast() anywhere.
import { toast } from "@smaller-earth/ui"
<Button onClick={() => toast.success("Saved")}>Fire toast</Button>Toast notifications.
Full API on ui.shadcn.comToaster is mounted in the app's root layout; call toast() anywhere.
import { toast } from "@smaller-earth/ui"
<Button onClick={() => toast.success("Saved")}>Fire toast</Button>