Component packs › Liquid Glass › Glass Toast
Notifications land like a bead of water, and when they leave a droplet pinches off and falls.
Glass Toast is a toast from Liquid Glass, a component pack with 6 components: Glass that refracts, pours and ripples. Price: $2 for the whole pack.
Built with: jelly landing, falling droplet, pause on hover.
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 |
|---|---|---|---|
duration | number | 4200 | Time on screen (ms). Default 4200. |
autoplay | boolean | Showcase mode: shows sample messages on a loop. |
import GlassToast from './GlassToast';
<GlassToast />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Glassmorphism UI.