Home

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-home

About this component

Four smart home tiles that are real toggles, each holding a small 3D object lit from the top left. Switch one on and the tile floods with its colour while the object comes alive: the lamp throws a cone of light, the fan blurs into a spinning disc, the shackle drops shut with a glint, the speaker pumps out rings.

Triggers

  • State change
  • Click
  • Continuous
  • Glow
  • Card
  • Icon
  • 3D

Techniques

  • SVG
  • Radial gradient
  • Gradient
  • Conic gradient
  • Filter
  • CSS variables
  • Keyframes
  • clip-path
  • CSS transition
  • Pseudo elements

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

Each tile is a native checkbox inside its label, so Tab reaches it and Space toggles it; the word is the accessible name and the checked state is announced. The four sit in a fieldset with a visually hidden legend.

Reduced motion

Focus shows a 2px ring on the tile; all motion stops under reduced motion.

Use it in anything you build, commercial and client work included. Licence

More cards

See all
MascotGet code
PairGet code
$12/moOne seat
PlanGet code
Nova
Receive48
Kite
SwapGet code