UI kit

Style
Mode
Accent
Second

Toast

Sonner, drawn by the kit. Mono prints it in ink with a square of the colour, Desk makes it a sticky note with the title in the hand, and Print shop makes it a ticket with a torn-off stub.

Use it

npx shadcn@latest add https://ui.devmtkl.com/r/sonner.json
import { toast } from "sonner"
import { Toaster } from "@/components/ui/sonner"

// once, near the root
<Toaster />

toast("Drill listed", {
  description: "Your street can see it now.",
  action: { label: "Undo", onClick: () => unlist() },
})

A toast

Undone: 0

With a button inside

Types