App UI kits › Hearth › Energy

Energy

Power flows from the roof to the house, battery and grid as moving dots, while the hourly chart springs up.

Energy is a screen from Hearth, an app ui kit with 11 screens: A smart home app built around a cut-away model of your house, where every lamp really lights its room. Price: $5 for the whole pack.

Built with: live power flow, spring chart, by device.

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.

Energy props

PropTypeDefaultDescription
darkboolean
autoplayboolean
onRange(r: 'day' | 'week' | 'month') => void

Methods on the ref

Use it in React

import HearthEnergy from './HearthEnergy';

<HearthEnergy />

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

More in Hearth

Good for: Smart home app.