1.1.0 • Published 2 years ago

as-toast v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

AS Toast 🍞 (for Svelte)

Simple and customizable toast notifications for Svelte

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

Image to a warning and a info toast notification.

Links

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 🎨

Toast Package that shows of the CSS customization in various themes

1.1.0

2 years ago

1.0.0

2 years ago

0.0.2

3 years ago

0.0.1

3 years ago