Component packs › Domino › Domino Toast

Domino Toast

Each toast stands up from lying on its back, rocks on its bottom edge before it settles and falls back flat when dismissed.

Domino Toast is a toast from Domino, a component pack with 6 chain reaction controls: Controls built from real dominoes that tip, lean on each other and fall in a chain. Price: $2 for the whole pack.

Built with: stand up with a rock, falls back to dismiss, pips count the news.

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.

Domino Toast props

PropTypeDefaultDescription
messagesDominoToastMessage[]Toasts shown on mount.
maxnumberMost toasts on screen at once.
theme'light' | 'dark'
autoplaynumber | falseShowcase mode: shows a new toast every N ms while visible.

Methods on the ref

Use it in React

import DominoToast from './DominoToast';

<DominoToast />

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

More in Domino

Good for: Skeuomorphic UI.