BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/aomi/sonner

sonner

aomi/sonner
FreeComponent

Shadcn wrapper for Sonner toasts.

Install it

npx shadcn@latest add https://aomi.dev/r/sonner.json

Source

components/ui/sonner.tsxaomi.dev/r/sonner.json
1"use client";
2
3import type { ComponentProps } from "react";
4import { Toaster as Sonner } from "sonner";
5
6import { cn } from "@aomi-labs/react";
7
8type ToasterProps = ComponentProps<typeof Sonner>;
9
10export function Toaster({ className, toastOptions, ...props }: ToasterProps) {
11 return (
12 <Sonner
13 className={cn("toaster group", className)}
14 toastOptions={{
15 classNames: {
16 toast:
17 "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
18 description: "group-[.toast]:text-muted-foreground",
19 actionButton:
20 "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
21 cancelButton:
22 "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
23 },
24 ...toastOptions,
25 }}
26 {...props}
27 />
28 );
29}

What it pulls in

npm packages

  • sonner

Files it writes

  • components/ui/sonner.tsx

Facts

Registry
aomi
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-08
Last confirmed
yesterday

Go to the source

aomi.dev aomi-labs/aomi on GitHub Raw registry item This item as JSON

More from aomi

All 34 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionaomiComponentsFree2 deps
alertalertaomiComponentsFree1 dep
aomi-frameaomi-frameaomiComponentsFree1 dep
aomi-para-provideraomi-para-provideraomiComponentsFree9 deps · 27 files
aomi-privy-provideraomi-privy-provideraomiComponentsFree7 deps · 15 files
aomi-wallet-kitaomi-wallet-kitaomiComponentsFree8 deps · 59 files
aomi-widgetaomi-widgetaomiComponentsFree2 deps
assistant-threadassistant-threadaomiComponentsFree6 deps · 23 files
BlockDex

Built by

Kynth Studios

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 Studios

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 Studios

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