This content originally appeared on DEV Community and was authored by 2nthony
Few YEARS ago, I created a framework-agnostic toast widget, it is really Vercel flavoured, lite and elegant, plus, it is only ≈1Kb
in gzip!
How it looks like you can see the cover gif.
🙌 Til now it has 1k+
downloads in NPM and used by 40+
GitHub repositories, feeling great!
I am pretty sure it is useful for any website, and it is dead simple to use:
import 'vercel-toast/dist/vercel-toast.css'
import { createToast } from 'vercel-toast'
createToast('The Evil Rabbit jumped over the fence.')
Feel free to reach out the:
- Simple doc goes 👉 https://vercel-toast.vercel.app
- GitHub repository goes 👉 https://github.com/2nthony/vercel-toast
If this widget helped you and you like it, please give me a ⭐️ 🙌.
This content originally appeared on DEV Community and was authored by 2nthony
2nthony | Sciencx (2022-07-18T16:24:49+00:00) A universal TOAST widget for any website!. Retrieved from https://www.scien.cx/2022/07/18/a-universal-toast-widget-for-any-website/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.