Plan
Solo
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardPlan(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-planAbout this component
A plan card whose name is pressed into a pane of coloured glass, with a shadow inside its upper edge and light caught on its lower lip. Swipe, press a dot or use the arrow keys and the glass recolours from sky to mint to plum as the name morphs and the price rolls; Select fills and ticks.
Triggers
- Card
- Click
- Morph
- Delay stagger
- State change
- Gradient
Techniques
- SVG filter
- Keyframes
- Transition delay stagger
- Radial gradient
- mix-blend-mode
- Event position
- CSS variables
Difficulty
Advanced
Accessibility
Keyboard and screen readers
The pane is a focusable carousel group labelled with the current plan and driven by the arrow keys; each dot is a labelled button with aria-current, the price sits in an aria-live region and Select is a toggle with aria-pressed.
Reduced motion
Reduced motion cuts between plans.
Use it in anything you build, commercial and client work included. Licence
More cards
See all5 left
ORBT
152.75, up 7.27 percent over one day