Simple toast web component
See: Documentation, Demo.
npm install --save nega-toast
<html>
<head>
<script type="module">
import 'nega-toast/nega-toast.js';
</script>
</head>
<body>
<nega-toast>Hi!</nega-toast>
</body>
</html>
Feel free to fork and send over PRs. Still a lot of places this can be improved, i.e. styling, more options, or better behaviors.
git clone https://github.com/kennethklee/nega-toast
cd nega-toast
npm install
$ npm start
$ npm test