Component packs › Odo › Currency Flip
Choose a currency and the split-flap board flips each cell through the characters on the way, flap by flap, landing on the new price.
Currency Flip is a price from Odo, a component pack with 6 number counters: Number counters on physical wheels: they carry like gears, spin through big jumps and settle. Price: $2 for the whole pack.
Built with: split-flap cells, flips through the sequence, radio group keys.
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 |
|---|---|---|---|
amount | number | 1280 | Amount in the first currency (whole units). Default 1280. |
rates | CurrencyFlipRate[] | GBP, USD, EUR | Currencies, first is the base. Default GBP, USD, EUR. |
label | string | "Monthly plan" | Caption. Default "Monthly plan". |
onChange | (code: string) => void |
readonly code: stringsetCurrency(code: string): voiddestroy(): voidimport CurrencyFlip from './CurrencyFlip';
<CurrencyFlip />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Number counters.