Louver

22°

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-louver

About this component

An air conditioner card: a louver of five fins across the top tilts open when the unit runs and breathes slow streaks of air down through the mode's light, one big target temperature sits over a fluted strip you drag to set it, and four icon keys on a curved rail (auto, cool, heat, dry) sink into the surface when pressed. The light takes the mode's colour: mint, ice blue, amber or lilac.

Triggers

  • Card
  • State change
  • Click
  • Glow
  • 3D
  • Ambient

Techniques

  • CSS variables
  • CSS transition
  • Keyframes
  • 3D transform
  • Perspective
  • Gradient
  • Radial gradient
  • Event position

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The card is a section labelled Air conditioner. The modes are a radiogroup of four native buttons with role=radio and aria-checked; the power key is a button labelled Power with aria-pressed; the strip is a role=slider labelled Target temperature with aria-valuemin 16, aria-valuemax 30, aria-valuenow and an aria-valuetext in degrees, moved by the arrow keys, Home and End as well as by dragging. The reading is a polite live region. The fins, glow and air are aria-hidden.

Reduced motion

Every control has a visible focus ring, and under prefers-reduced-motion every change is a cut and the air stands still.

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

More cards

See all
MascotGet code

Dana Kole, 12 days

MistGet code

Sign in

OasisGet code

Jan2026

OrbGet code