Simple Toast Notifications
The most basic way to show a toast notification:Toast Types
Solid Toast provides several built-in toast types for common use cases.- Blank
- Success
- Error
- Loading
Positioning Toasts
Control where toasts appear on the screen with theposition option.
- Per Toast
- Global Default
Duration Customization
Control how long toasts remain visible on screen.Default durations by type:
- Blank: 4000ms
- Success: 2000ms
- Error: 4000ms
- Loading: Infinity
- Custom: 4000ms
Setting Default Options
Configure default options for all toasts using theToaster component: