Sonner
Toast notifications in the NAMCHE theme, Day and Night.
Install
pnpm dlx shadcn@latest add @namche/sonnerUsage
import { toast } from 'sonner';
import { Toaster } from '@/components/ui/sonner';
// once, near the root of your app
<Toaster />
// anywhere else
toast.success('Deployment started', {
description: 'K-007 · Sirdar is building in eu-west.',
});@/components/ui/sonner exports only the themed Toaster — it follows Day
or Night as the app sets it on <html> (the dark class or
data-mode="night"), a theme prop overrides that, and it maps success/info/warning/error/loading
to Lucide icons. The toast() trigger itself comes straight from the
sonner package, not this file; import it separately wherever you fire a
toast.