BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/sidcn/sonner

Sonner

sidcn/sonner
FreeComponent

A beautiful toast notification component

Live preview

live · rendered by the registry
Rendered by sidcn on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.siddhesh.cc/r/sonner.json

Source

registry/new-york/components/sonner.tsxui.siddhesh.cc/r/sonner.json
1import {
2 CircleCheckIcon,
3 InfoIcon,
4 Loader2Icon,
5 OctagonXIcon,
6 TriangleAlertIcon,
7} from "lucide-react";
8import { Toaster as Sonner, type ToasterProps } from "sonner";
9
10const Toaster = ({ ...props }: ToasterProps) => {
11 return (
12 <Sonner
13 theme={"light"}
14 className="toaster group"
15 icons={{
16 success: <CircleCheckIcon role="status" aria-label="Success" className="size-4" />,
17 info: <InfoIcon role="status" aria-label="Info" className="size-4" />,
18 warning: <TriangleAlertIcon role="status" aria-label="Warning" className="size-4" />,
19 error: <OctagonXIcon role="status" aria-label="Error" className="size-4" />,
20 loading: <Loader2Icon role="status" aria-label="Loading" className="size-4 animate-spin" />,
21 }}
22 style={
23 {
24 "--normal-bg": "var(--popover)",
25 "--normal-text": "var(--popover-foreground)",
26 "--normal-border": "var(--border)",
27 "--border-radius": "var(--radius)",
28 } as React.CSSProperties
29 }
30 {...props}
31 />
32 );
33};
34
35export { Toaster };

What it pulls in

npm packages

  • sonner
  • lucide-react

Files it writes

  • registry/new-york/components/sonner.tsx

Facts

Registry
sidcn
Type
registry:ui
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
today

Go to the source

Docs on sidcn ui.siddhesh.cc Siddhesh-Agarwal/sid-cn on GitHub Raw registry item This item as JSON

More from sidcn

All 14 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
BadgebadgesidcnComponentsFree3 deps
ButtonbuttonsidcnComponentsFree2 deps
Data Tabledata-tablesidcnComponentsFree2 deps
Date Inputdate-inputsidcnComponentsFree1 dep
Date Time Inputdate-time-inputsidcnComponentsFree2 deps
IconsiconssidcnComponentsFreeno deps
Package Manager Commandpackage-manager-commandsidcnComponentsFreeno deps
SidebarsidebarsidcnComponentsFree3 deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex