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
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardSky(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/card-skyAbout 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 allActivity
659 commits in 16 weeks