Solid Toast

Create beautiful, customizable toasts with Solid JS

Solid Toast Mascot

Features

Lightweight
4kb minified + gzipped
Beautiful Default Toasts
For success, error, loading and text messages
Customizable
Customize your toast content with JSX, icons, style attributes, color accents and more!
Promise API
Simple API to map promise states to toast messages.
SSR Support
Solid Toast is compatible with meta frameworks like Astro and Solid Start

Getting Started

1
Install Package
yarn add solid-toast
2
Place Toaster In Your App
<App><Toaster/></App>
3
Toast From Anywhere!
toast('Hello World')

Examples

Configure global defaults on <Toaster>