App UI kits › Keyfob › Cover and pay

Cover and pay

Each cover level shows its excess as a bar on the same scale, extras switch on and off and the total rolls.

Cover and pay is a screen from Keyfob, an app ui kit with 10 screens: A car rental app that opens on a headlight waking up, shows every car from above, and turns your phone into the key. Price: $2 for the whole pack.

Built with: excess bars, extras, deposit.

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.

Cover and pay props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosKfPhotos
onBook(b: { cover: string; extras: string[]; total: number }) => void

Methods on the ref

Use it in React

import KeyfobCover from './KeyfobCover';

<KeyfobCover />

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

More in Keyfob

Good for: UK (pounds), Car rental app.