Framework-agnostic vercel design's toast component
npm i vercel-toast
// in js file
import 'vercel-toast/css'
import { createToast } from 'vercel-toast'
createToast('Hi from vercel toast!')
<link
rel="stylesheet"
href="https://unpkg.com/vercel-toast/dist/vercel-toast.css"
/>
<script src="https://unpkg.com/vercel-toast"></script>
<script>
vercelToast.createToast("Hi from vercel toast!");
</script>
https://vercel-toast.vercel.app
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT © 2nthony