Simple elegant toast notifications
npm (scoped) is a simple and elegant toast notification component for modern web frontends. It is lightweight and well-tested, with only 20kB minified and 8kB gzipped. It can be used with Vanilla JS or as a Svelte component.
To install the npm (scoped) package, use the following command:
npm install svelte-toast
For Svelte apps, import the toast container and place it in your app shell or root layout. For Vanilla JS, include the necessary scripts in your HTML. Custom theming can be done using CSS variables.
npm (scoped) is a lightweight and feature-rich toast notification component for modern web frontends. It can be easily installed and used with Vanilla JS or as a Svelte component. With support for multiple toast containers, pausable toasts, and the ability to send Svelte components as messages, it provides a flexible and customizable solution for displaying toast notifications on web applications.