Orb
Jan2026
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardOrb(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-orbAbout this component
A month card split down the middle into a pane of frosted glass and clear air, with a soft pink sphere resting on the seam: blurred where the frost covers it and sharp where it does not. Step the month and the sphere rolls across the seam to the other side, its soft shading turning with the roll while the light on it stays put, and the month name rolls up in its place.
Triggers
- Card
- Click
- State change
- Ambient
- Glow
Techniques
- CSS variables
- CSS transition
- Filter
- Radial gradient
- Keyframes
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A section labelled Month. The month text is a polite live region, so each step is announced. The two controls are native buttons named Previous month and Next month inside a group labelled Change month, with a 2px focus ring offset 2px. The ball, its shadow and the frost are aria-hidden.
Reduced motion
The ball does not breathe, the roll and the name change are cuts.
Use it in anything you build, commercial and client work included. Licence