App UI kits › Farestage › Top up

Top up

Pick an amount and the balance rolls to its new figure; auto top-up explains exactly when it would trigger.

Top up is a screen from Farestage, an app ui kit with 11 screens: A public transport app with a live line you can scrub thirty minutes ahead, and a fare cap that fills as you tap in. Price: $5 for the whole pack.

Built with: rolling balance, amount chips, auto top-up.

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.

Top up props

PropTypeDefaultDescription
darkboolean
autoplayboolean
onPay(pence: number) => void

Methods on the ref

Use it in React

import FarestageTopup from './FarestageTopup';

<FarestageTopup />

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

More in Farestage

Good for: Public transport app, UK (pounds).