App UI kits › Kerb › Safety

Safety

A ride check asks if everything is OK after a long stop; the emergency button must be held for two seconds while a ring fills.

Safety 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: ride check, hold to call, driver ID check time.

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.

Safety props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosKbPhotos
driverstring
emergencystringEmergency number shown on the hold button.
onEmergency() => voidCalled when the hold completes. Place the call yourself.
onCheck(ok: boolean) => void

Methods on the ref

Use it in React

import KerbSafety from './KerbSafety';

<KerbSafety />

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

More in Kerb

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