Component packs › Odo › Currency Flip

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.

Currency Flip props

PropTypeDefaultDescription
amountnumber1280Amount in the first currency (whole units). Default 1280.
ratesCurrencyFlipRate[]GBP, USD, EURCurrencies, first is the base. Default GBP, USD, EUR.
labelstring"Monthly plan"Caption. Default "Monthly plan".
onChange(code: string) => void

Methods on the ref

Use it in React

import CurrencyFlip from './CurrencyFlip';

<CurrencyFlip />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Odo

Good for: Number counters.