Skip to content

💬 Framework-agnostic vercel design's toast component (≈1KB Gzipped)

License

Notifications You must be signed in to change notification settings

2nthony/vercel-toast

Repository files navigation

vercel-toast

NPM version NPM download

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Sponsors

sponsors

License

MIT © 2nthony