as-toast

As Toast

Simple and customizable toast notifications for Svelte

AS Toast 🍞 (for Svelte)

Simple and customizable toast notifications for Svelte

Intended as a replacement for alert(), though in a non-blocking fashion.

Quick Start

npm i -D as-toast
<!-- App.svelte -->
<script>
  import { Toasts, addToast } from "as-toast";
</script>

<Toasts />

<button on:click={() => {addToast("Hello World")}}>
  add toast
</button>

--> Open quick start in Svelte REPL

Theme Ideas 🎨

Top categories

Loading Svelte Themes