App UI kits › Mileage › Charging
Drag the charge limit along the battery and the range, the added energy and the finish time follow your finger.
Charging is a screen from Mileage, an app ui kit with 7 screens: A car infotainment UI for a wide 1920 × 720 display, with a real route on real streets and driving-safe states. Price: $5 for the whole pack.
Built with: charge-limit slider, linked range and time, nearby chargers.
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 | ||
day | boolean | ||
autoplay | boolean | ||
photos | MYPhotos | ||
assets | string | the Motionmart CDN) | Folder that holds fonts/archivo-*.woff2 (default: the Motionmart CDN). |
onLimit | (pct: number) => void |
destroy(): voidimport MileageCharge from './MileageCharge';
<MileageCharge />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Car dashboard UI.