# xiaoluoboding/vue-sonner

🔔 An opinionated toast component for Vue & Nuxt.

Repository: https://github.com/xiaoluoboding/vue-sonner
Canonical: https://ross.abutalabs.com/products/vue-sonner
Homepage: https://vue-sonner.robertshaw.me
Language: Vue
License: MIT
License Family: permissive
Topics: component-library, nuxt3, toast, vue3, vuejs
Last push: 2025-12-30T12:46:17+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 59, release rhythm 50, longevity 91
- inputs: {"age_days": 1283, "days_push": 246, "days_rel": 336, "gap_med": 29.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1463, forks 75 (observed 2026-08-28T04:04:47.802225+00:00)

## What it is
Vue Sonner is an opinionated toast notification component for Vue 3 and Nuxt 3, ported from the popular React library Sonner. It ships with sensible default styling, swipe-to-dismiss animations, and extensive customization options including themes, positions, and rich colors.

## Use cases
- show toast notifications in a Vue 3 app
- add toast notifications to a Nuxt 3 project
- display success and error alerts with swipe-to-dismiss
- show a toast when a promise resolves or rejects
- customize toast styling with Tailwind CSS
- programmatically dismiss notifications

## When to choose
- you want beautiful, pre-styled toasts with minimal setup in Vue or Nuxt
- you like Sonner's design and want the same experience in Vue
- you need promise-based toasts, actions, and custom toast components
- you want a lightweight, MIT-licensed notification component

## When to avoid
- your project uses Vue 2
- you need a full notification system with queues, persistence backends, or server-side delivery
- you need toast support for React or other frameworks

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework
- domain: frontend, web-development, web-design
- platform: browser
- tags: toast, notifications, vue3, nuxt3, sonner-port, component-library, nodejs

## Member repositories
- xiaoluoboding/vue-sonner (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.802225+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:15.378706+00:00, confidence not recorded.
  - readme: https://github.com/xiaoluoboding/vue-sonner (fetched 2026-08-28T04:04:47.802225+00:00, sha 29452c4ab689)
  - homepage: https://vue-sonner.robertshaw.me (fetched 2026-08-29T11:44:05.043485+00:00, sha 0c379002dc7e)
  - registry_npm: https://registry.npmjs.org/vue-sonner (fetched 2026-08-29T11:44:05.054078+00:00, sha 0c6749478105)
- Data as of 2026-08-30T08:39:29.467469+00:00.
