App UI kits › Kerb › Split the fare
Tap faces to add who was in the car; shares are worked out to the penny and custom amounts must add up before you can send.
Split the fare is a screen from Kerb, an app ui kit with 11 screens: A ride hailing app on a live city map, where you watch your driver accept and turn toward you. Price: $5 for the whole pack.
Built with: penny-exact split, custom steppers, request status.
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 |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | KbPhotos | ||
fare | number | Fare to split, in pounds. | |
onSend | (shares: { name: string; amount: number }[]) => void |
destroy(): voidimport KerbSplit from './KerbSplit';
<KerbSplit />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Ride hailing app UI, UK (pounds).