Zones
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardZones(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-zonesAbout this component
A meeting finder on a dot-matrix world lit by the real sun: day land glows gold to cream, night land sinks to deep blue with its city lights on. Drag the slim ruler through your own day and the terminator sweeps the map, three city times roll beneath it, pins turn lime at work, and a lime band marks the hours all three share.
Triggers
- State change
- Continuous
- Glow
- Ambient
- Card
Techniques
- SVG
- SVG filter
- requestAnimationFrame
- Event position
- CSS transition
- Keyframe animation
- Radial gradient
- Gradient
- Pseudo elements
- CSS variables
Difficulty
Advanced
Accessibility
Keyboard and screen readers
The ruler is a focusable role slider (Meeting time, your hours) with aria-valuetext reading the moment in full, for example '14:00 your time, São Paulo 05:30, London 08:30, Nairobi 11:30'; arrows, Page Up and Down, Home and End all work, and focus draws a ring round the thumb. The map, pins and city row are aria-hidden, since the slider carries every time. The resting frame renders on the server at a fixed moment, then switches to your zone and the real time on mount without moving anything.
Reduced motion
Reduced motion stops the city light shimmer and moves the map, thumb and band without transitions.
Use it in anything you build, commercial and client work included. Licence
More cards
See allMira Holt
Art director
Field recordings
412files