Component packs › Liquid Glass › Pour Modal

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.

Pour Modal props

PropTypeDefaultDescription
titlestring
bodystring
confirmLabelstring
cancelLabelstring
triggerLabelstringIf set, renders a button that opens the modal.
onConfirm() => void
autoplaybooleanShowcase mode: opens and closes on a loop.

Methods on the ref

Use it in React

import PourModal from './PourModal';

<PourModal />

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

More in Liquid Glass

Good for: Glassmorphism UI.