Component packs › Liquid Glass › Pour Modal
The dialog pours open from its top edge like liquid, ripples, settles, and drains back up when it closes.
Pour Modal is a dialog from Liquid Glass, a component pack with 6 components: Glass that refracts, pours and ripples. Price: $2 for the whole pack.
Built with: fill spring, rippling edge, native dialog.
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 |
|---|---|---|---|
title | string | ||
body | string | ||
confirmLabel | string | ||
cancelLabel | string | ||
triggerLabel | string | If set, renders a button that opens the modal. | |
onConfirm | () => void | ||
autoplay | boolean | Showcase mode: opens and closes on a loop. |
open(): voidclose(): voiddestroy(): voidimport PourModal from './PourModal';
<PourModal />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Glassmorphism UI.