Sky

All systems normal99.98%

  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Slow
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Slow
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
  • Up
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-sky

About this component

A status card under a pixel sky: a dithered gradient with pixel clouds drifting past a sun, over thirty days of uptime as a row of ticks. Press the sky and night falls through a dithered band, the sun sets, a moon rises and stars come out.

Triggers

  • Continuous
  • Ambient
  • State change
  • Click
  • Card
  • Gradient

Techniques

  • requestAnimationFrame
  • Keyframes
  • Transition delay stagger
  • Gradient
  • State machine

Difficulty

Advanced

Accessibility

Keyboard and screen readers

The sky is a native <button> named "Night sky" with aria-pressed, so it works from the keyboard and has a :focus-visible ring. The uptime row is a list labelled "Uptime, last 30 days" whose items carry visually hidden "Up" or "Slow".

Reduced motion

The clouds and stars hold still, the ticks appear at once, and a press changes the sky immediately.

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

More cards

See all
Focus
Length
SprintGet code

Activity

659 commits in 16 weeks

TilesGet code
SavedYour changes are live.
Cut-inGet code
PillarGet code