Component packs › Domino › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
messages | DominoToastMessage[] | Toasts shown on mount. | |
max | number | Most toasts on screen at once. | |
theme | 'light' | 'dark' | ||
autoplay | number | false | Showcase mode: shows a new toast every N ms while visible. |
show(message: DominoToastMessage): voiddismiss(): void: Dismisses the oldest toast.destroy(): voidimport DominoToast from './DominoToast';
<DominoToast />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.