Component packs › Windsock › Chime Toasts
A new toast swings in on two strings, knocks the others so they sway and lower, and rings the brass chime tubes on the rail.
Chime Toasts is a toasts from Windsock, a component pack with 6 wind controls: Controls moved by the wind: flags that fly, a windsock that fills, a vane that swings round. Price: $2 for the whole pack.
Built with: parallel-string swing, knock-on sway, chime tubes.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
toasts | ChimeToast[] | Toasts shown at mount. | |
max | number | 3 | Most toasts hanging at once. Default 3. |
timeout | number | 0 | Seconds before a toast lets go by itself; 0 keeps them. Default 0. |
label | string | ||
dark | boolean | ||
onClose | (t: ChimeToast) => void | ||
autoplay | number | false | Showcase mode: hangs a new toast every N ms while visible. |
push(t: ChimeToast): voidclear(): voiddestroy(): voidimport ChimeToasts from './ChimeToasts';
<ChimeToasts />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Notifications and toasts.