Component packs › Windsock › Chime Toasts

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.

Chime Toasts props

PropTypeDefaultDescription
toastsChimeToast[]Toasts shown at mount.
maxnumber3Most toasts hanging at once. Default 3.
timeoutnumber0Seconds before a toast lets go by itself; 0 keeps them. Default 0.
labelstring
darkboolean
onClose(t: ChimeToast) => void
autoplaynumber | falseShowcase mode: hangs a new toast every N ms while visible.

Methods on the ref

Use it in React

import ChimeToasts from './ChimeToasts';

<ChimeToasts />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Windsock

Good for: Notifications and toasts.