Magoo Component UI logo Magoo Component UI
← Catalog

Scene Card

scene-card molecule experimental

A tappable smart-home scene card that activates a group of devices at once.

Also in: Cards

The width preview needs a screen wider than the chosen width — use a larger device (or a desktop browser) to see the desktop and tablet layouts.

Default

Movie night

6 devices

Active

Good morning

4 devices

Props

NameTypeReq
name string ✓
icon string
devices_count integer
active boolean

Related components

How to use

Interactive. The activate button toggles on click: it flips data-active (label and style follow via group-data variants), updates aria-pressed, and dispatches a bubbling "scene:activate" CustomEvent with detail { active }. Read the current state from the button's data-active attribute.

Use cases

cardgrid WCAG AA SEO 25 dir: both ai-generated