App UI kits › Hearth › Add device

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.

Add device props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosHePhotos
onDone(d: { device: string; room: string }) => void

Methods on the ref

Use it in React

import HearthAdd from './HearthAdd';

<HearthAdd />

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

More in Hearth

Good for: Smart home app.