Stacked by position
Toasts sharing a corner collapse into a stack. Hover spreads them apart; maxVisibleToasts caps how many stay on screen.
Physics-based, stackable toast notifications for Vue 3.
Every toast fires into the real viewport
v0.2.1
Toasts sharing a corner collapse into a stack. Hover spreads them apart; maxVisibleToasts caps how many stay on screen.
A spring drives the pill morph and a gooey SVG filter keeps the body attached while it expands.
Swipe a toast vertically to send it away. The cursor turns into a grab handle and a grip appears on the edge; text stays unselectable so the gesture never snags.
Tab focuses, Enter toggles the description, Escape dismisses. Errors and warnings announce as alerts.
Neutral, colored and gradient variants, each with light and dark presets you can override per state.
npm install @danixts/sileo-vue
<script setup lang="ts">
import { Toaster } from '@danixts/sileo-vue'
import '@danixts/sileo-vue/styles.css'
</script>
<template>
<Toaster position="top-right" theme="system" />
</template>import { sileo } from '@danixts/sileo-vue'
sileo.success({
title: 'Changes saved',
description: 'Your workspace is in sync.',
})
const id = sileo.info({ title: 'Syncing' })
sileo.success({ id, title: 'Synced' })await sileo.promise(saveProfile(), {
loading: { title: 'Saving' },
success: (profile) => ({ title: `Saved ${profile.name}` }),
error: (error) => ({ title: 'Could not save', description: String(error) }),
})Same design system
Animated borders for native TypeScript, Astro and Vue.Open playground
Morphing gooey specimens driven by springs.Open playground