Loading & transitionsexperimental
Meniscus
Liquid progress
A vessel that fills with liquid, and keeps sloshing while it waits.
Customize
Vesselleave the value out for an indeterminate fill
0.620
value0.50
swell1.00
speedshape132 px
sizecolorcolorToshowValueUsage
<Meniscus />Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
value | number | 0.62 | Value. Range 0 to 1. |
swell | number | 0.5 | Swell. Range 0 to 1. |
speed | number | 1 | Speed. Range 0.2 to 3. |
shape | "circle" | "pill" | "square" | "circle" | Shape. |
size | number | 132 | Size. Range 64 to 260 px. |
color | string | "#2f8bff" | Liquid. |
colorTo | string | null | "#41e0c8" | Gradient to. |
showValue | boolean | true | Show the number. |
label | string | "Loading" | What the progress bar announces. |
children | ReactNode | — | Replaces the number inside the vessel. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.
Experimental: still under evaluation and not part of the published package yet.