App UI kits › Hearth › Rooms

Rooms

Every room is a real photo that dims and brightens with its own lights, in the lamp’s colour.

Rooms 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: photos that relight, floor filter, rolling counts.

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.

Rooms props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosHePhotos
onOpen(room: string) => void
onToggle(room: string, on: boolean) => void

Methods on the ref

Use it in React

import HearthRooms from './HearthRooms';

<HearthRooms />

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

More in Hearth

Good for: Smart home app.