App UI kits › Hearth › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | HePhotos | ||
onChange | (l: { room: string; level: number; kelvin: number }) => void |
set(level: number, kelvin?: number): voiddestroy(): voidimport HearthLights from './HearthLights';
<HearthLights />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Smart home app.