# Sonner
## Example
```svelte
```
## Documentation
## Usage
In your root layout:
```svelte
```
In your page:
```svelte
```
## Sources
Based on "sonner" (https://sonner.emilkowal.ski/)
## API Reference
### Toaster
A toast notification container. Place once in your layout and use the toast() function to show notifications. Built on svelte-sonner.
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| colors | `{ default?: Colors; success?: Colors; error?: Colors; info?: Colors }` | `{ default: 'accent', success: 'green', error: 'red', info: 'blue' }` | Color mapping for toast types. Colors can be: 'blue' | 'red' | 'yellow' | 'green' | 'indigo' | 'purple' | 'pink' | 'orange' | 'teal' | 'emerald' | 'lime' | 'cyan' | 'sky' | 'rose' | 'amber' | 'violet' | 'fuchsia' | 'base' | 'accent'. |