App UI kits › Wattle › Charging history

Charging history

Weekly bars split home and public, the totals add up from the rows, and a charge opens into its receipt; switch to cost for the same weeks in pounds.

Charging history is a screen from Wattle, an app ui kit with 10 screens: An EV charging app where you watch the hub live, cars plugging in and sharing the power. Price: $5 for the whole pack.

Built with: home and public split, receipt unfolds, energy or cost.

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.

Charging history props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosWhPhotos
onReceipt(id: string) => void

Methods on the ref

Use it in React

import WattleHistory from './WattleHistory';

<WattleHistory />

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

More in Wattle

Good for: EV charging app, UK (pounds).