App UI kits › Kerb › Rate and tip

Rate and tip

Stars spring as you tap or slide; good ratings offer compliments, low ones ask what went wrong; the driver keeps the whole tip.

Rate and tip 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: spring stars, rating-aware feedback, tip total.

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.

Rate and tip props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosKbPhotos
driverstring
farenumber
onDone(stars: number, tip: number, tags: string[]) => void

Methods on the ref

Use it in React

import KerbRate from './KerbRate';

<KerbRate />

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

More in Kerb

Good for: Ride hailing app UI, UK (pounds).