@scalar/use-toasts
display toasts in Vue
24,371,992
16,329
| Install | |
|---|---|
npm install @scalar/use-toasts |
|
| Latest Version: | 0.10.6 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 28, 2026 |
| Links: | GitHub · npm |
Maintainer: cameronrohani
Scalar useToasts()
Scalar is an open-source API platform for teams who want beautiful developer interfaces without vendor lock-in.
- API References — Interactive API documentation from OpenAPI and AsyncAPI specs.
- Developer Docs — Write in Markdown/MDX, generate API references, sync with two-way Git.
- SDK Generator — Type-safe SDKs and CLIs in TypeScript, Python, Go, PHP, Java, and Ruby.
- API Client — Open-source, offline-first Postman alternative built on OpenAPI.
20M+ monthly npm installs · 15,500+ GitHub stars · MIT licensed · scalar.com
Installation
npm install @scalar/use-toasts
Usage
// App.vue
<script setup>
import { ScalarToasts } from '@scalar/use-toasts'
</script>
<template>
<ScalarToasts />
</template>
// ChildComponent.vue
<script setup>
import { useToasts } from '@scalar/use-toasts'
const { toast } = useToasts()
const sendMessage = () => {
toast('This is a message from the toaster!', 'success', { timeout: 2000 })
}
</script>
Related Packages
vuetify-toast-snackbar-ng
Basic Vue toast service that uses Vuetify Snackbar component for Vuetify 2.3+
25,369
22
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.10.6 | ^3.5.44 | MIT | |
| 0.10.5 | ^3.5.40 | MIT | |
| 0.10.4 | ^3.5.30 | MIT | |
| 0.10.3 | ^3.5.30 | MIT | |
| 0.10.2 | ^3.5.30 | MIT | |
| 0.10.1 | ^3.5.26 | MIT | |
| 0.10.0 | ^3.5.26 | MIT | |
| 0.9.1 | ^3.5.21 | MIT | |
| 0.9.0 | ^3.5.21 | MIT | |
| 0.8.0 | ^3.5.12 | MIT | |
| 0.7.10 | ^3.5.12 | MIT | |
| 0.7.9 | ^3.5.12 | MIT | |
| 0.7.8 | ^3.5.12 | MIT | |
| 0.7.7 | ^3.5.12 | MIT | |
| 0.7.6 | ^3.4.29 | MIT | |
| 0.7.5 | ^3.4.29 | MIT | |
| 0.7.4 | ^3.4.22 | MIT | |
| 0.7.3 | ^3.4.22 | MIT | |
| 0.7.2 | ^3.4.22 | MIT | |
| 0.7.1 | ^3.3.0 | MIT | |
| 0.7.0 | ^3.3.0 | MIT | |
| 0.6.7 | ^3.3.0 | MIT | |
| 0.6.6 | ^3.3.0 | MIT | |
| 0.6.5 | ^3.3.0 | MIT | |
| 0.6.4 | ^3.3.0 | MIT | |
| 0.6.1 | ^3.3.0 | MIT | |
| 0.5.15 | ^3.3.0 | MIT | |
| 0.5.14 | ^3.3.0 | MIT | |
| 0.5.13 | ^3.3.0 | MIT | |
| 0.5.12 | ^3.3.0 | MIT |
Showing the latest 30 of 46. See every release on npm