All components

Sonner

Toast notifications.

Full API on ui.shadcn.com

Variants

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>