svelte-toasty

Easily configurable toast notification component for Svelte

Usage no npm install needed!

<script type="module">
  import svelteToasty from 'https://cdn.skypack.dev/svelte-toasty';
</script>

README

svelte-toasty

package version package downloads standard-readme compliant package license make a pull request

Easily configurable toast notification component for Svelte

Table of Contents

About

Check out the demo here (source)

Install

This project uses node and npm.

$ npm install svelte-toasty
$ # OR
$ yarn add svelte-toasty

Usage

<script>
  import {
    ToastContainer,
    success
  } from "svelte-toasty";
</script>

<button type="button" on:click={() => }>Click me</button>
Example of toasts

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT