App UI kits › Hearth › Lights

Lights

A big pill you drag 1:1 and a colour temperature arc; the bedroom photo takes the light you pick.

Lights 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: 1:1 drag pill, kelvin arc, presets.

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.

Lights props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosHePhotos
onChange(l: { room: string; level: number; kelvin: number }) => void

Methods on the ref

Use it in React

import HearthLights from './HearthLights';

<HearthLights />

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

More in Hearth

Good for: Smart home app.