Component packs › Minted › Coin Counter
Four glass tubes hold a coin for every unit of each digit; coins drop into the places that grow and jump out of the ones that shrink.
Coin Counter is a counter from Minted, a component pack with 6 savings components: Savings and payment controls with metal coins that flip, stack, drop and pile up. Price: $2 for the whole pack.
Built with: place-value tubes, glass in front and behind, status readout.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 2486 | 0 to 9999. Default 2486. |
currency | string | ||
label | string | "Balance" | Accessible name. Default "Balance". |
autoplay | number | false | Showcase mode: changes the balance every N ms while visible. |
readonly value: numbersetValue(value: number): voiddestroy(): voidimport CoinCounter from './CoinCounter';
<CoinCounter />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Pricing and payment.