Glass marbles rolling down a track of ramps as a loading indicator, with real physics.
Glass
A drum counter seen through a glass cylinder that magnifies the center, like an old gas pump.
Included in Pro and Lifetime. See pricing
Made with Furin: Pill Nav · Metal Button · Copy Morph
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | undefined | 0 | Number the drums display; when it changes, the drums spin until they reach it. |
digits | number | 5 | Number of drums (including decimals). |
decimals | number | 2 | How many of the drums are decimals. |
label | string | "Total" | Label engraved on the plate. |
unit | string | "Liters" | Unit engraved next to the counter. |
zoom | number | 1.55 | How much the glass magnifies the center of the cylinder. |
size | number | 54 | Width of each drum, in px. |
autoplay | boolean | false | Fills and empties the counter on its own, like a gas pump. |
1Set up the Pro registry once
Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.
Use my license2Install Glass Cylinder
npx shadcn@latest add @furin-pro/ glass-cylinderPro components install into your project: the code is yours and there's nothing else to download.
Glass marbles rolling down a track of ramps as a loading indicator, with real physics.
Glass
A click cracks the glass from that point; the shards fall with physics and then snap back together.
Glass
A wave of liquid glass between two sections that refracts both and slides with the cursor.
Glass