Liquid Loader

A round flask filling with water, waves rolling across the surface.

no dependenciesMIT · free
18%

Installation

npx shadcn@latest add https://ombakui.com/r/liquid-loader.json

Usage

import { LiquidLoader } from "@/components/liquid-loader";

<LiquidLoader value={progress} />
<LiquidLoader /> {/* no value = endless loader */}

Props

PropTypeDefaultDescription
valuenumber–Fill level from 0 to 100. Leave undefined to rise and fall endlessly.
sizenumber96Diameter in px.
colorstringyour theme's primary colorWater color.
childrenReactNode–Content in the middle. Defaults to the percentage when a value is set.
labelstring"Loading"Accessible name.
classNamestring–