App UI kits › Hearth › Add device
Scan, find a floor lamp, then tap the room on the house model: the lamp lands there and lights it.
Add device 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: scan rings, pick the room on the model, first light.
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 | ||
onDone | (d: { device: string; room: string }) => void |
step(n: number): voidpick(room: string): voiddestroy(): voidimport HearthAdd from './HearthAdd';
<HearthAdd />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Smart home app.