Skip to content

Liquid Fill

A glass flask that fills with liquid.

Plan
Free · MIT
Dependencies
React only
Props
6 (6 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Mixing

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
valuenumber | undefined"auto"Progress from 0 to 100; if omitted, the flask fills and empties on its own in a loop.
colorstring"#18C5DA"Color of the liquid.
speednumber1Speed of the filling and the waves (1 = normal).
showPercentbooleantrueShows the large percentage over the flask.
labelstring""Optional text under the flask.
sizenumber290Height of the flask in px.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { LiquidFill } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • A glossy gradient shape that smoothly morphs between circle, square and triangle, spinning and squashing slightly on each change.

    Loaders

  • A "typing…" bubble with three elastically bouncing dots that, in a loop, turns into the reply with a little spring.

    Loaders

  • Dots that rise and fall in a wave with spring physics: they stretch as they move, squash as they land, and their shadow responds to height.

    Loaders