vercel-toast
v1.8.0
Published
Framework-agnostic vercel design's toast component
Downloads
3,065
Readme
vercel-toast
Framework-agnostic vercel design's toast component
Usage
Bundler
npm i vercel-toast
// in js file
import 'vercel-toast/css'
import { createToast } from 'vercel-toast'
createToast('Hi from vercel toast!')
Browser CDN
<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>
Documentation
https://vercel-toast.vercel.app
Credits
Contributing
- 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
Sponsors
License
MIT © 2nthony