# svelte-toasty

> Easily configurable toast notification component for Svelte

Latest version **1.1.1** (published 2021-02-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install svelte-toasty
pnpm add svelte-toasty
yarn add svelte-toasty
bun add svelte-toasty
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2021-02-07 |
| First published | 2021-02-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 74.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tiaanduplessis |
| Keywords | svelte, svelte-toast, svelte-notifcation, component, sapper, sapper-toast, sapper-notifcation |

## Links

- npm: https://www.npmjs.com/package/svelte-toasty
- npm.io page: https://npm.io/package/svelte-toasty

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2021-02-07
- 1.1.0 — 2021-02-07
- 1.0.0 — 2021-02-07
- 0.0.0-dev — 2021-02-07

## README

# svelte-toasty
[![package version](https://img.shields.io/npm/v/svelte-toasty.svg?style=flat-square)](https://npmjs.org/package/svelte-toasty)
[![package downloads](https://img.shields.io/npm/dm/svelte-toasty.svg?style=flat-square)](https://npmjs.org/package/svelte-toasty)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![package license](https://img.shields.io/npm/l/svelte-toasty.svg?style=flat-square)](https://npmjs.org/package/svelte-toasty)
[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

> Easily configurable toast notification component for Svelte

## Table of Contents

- [Demo](#demo)
- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#License)


## About

Check out the demo [here](https://svelte-toasty.netlify.app/) ([source](./src/App.svelte))

## Install

This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com). 

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


## Usage

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

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

<div align="center">
    <img src="./example.gif" alt="Example of toasts" width="75%">
</div>


## 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

---
_Source: https://npm.io/package/svelte-toasty · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
