Component packs › Liquid Glass › Meniscus Slider

Meniscus Slider

A glass tube of liquid: the front edge is a real meniscus that leans and sloshes as you drag, with drifting bubbles.

Meniscus Slider is a slider from Liquid Glass, a component pack with 6 components: Glass that refracts, pours and ripples. Price: $2 for the whole pack.

Built with: sloshing meniscus, bubbles, slider keyboard.

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.

Meniscus Slider props

PropTypeDefaultDescription
minnumber
maxnumber
stepnumber
valuenumber
labelstring
format(v: number) => string
onInput(v: number) => void
autoplaynumber | falseShowcase mode: drifts to new values on a loop.

Methods on the ref

Use it in React

import MeniscusSlider from './MeniscusSlider';

<MeniscusSlider />

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

More in Liquid Glass

Good for: Glassmorphism UI.