Components
Sonner
An opinionated toast component for React.
Installation
pnpm dlx shadcn@latest add https://reui.io/r/sonner.json
Examples
Default
Loading
Variants
Loading
API Reference
This component is built using Sonner toast library. For detailed information, please visit the full API reference.
Toaster
This component extends the Sonner Toaster component with theme integration and custom styling. It accepts all props from the Sonner Toaster component.
Prop | Type | Default |
---|---|---|
theme |