Freeze
••••••••••••4821
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCardFreeze(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-freezeAbout this component
A payment card in near-black navy with one slow ribbon of teal light folding under fine grain and a chrome chip. Flip the switch and clean pale ice crystallises in from the card's edges toward it, the ribbon stills under the frost and the number turns to deep ink; flip it back and the ice melts away from the switch outward and the light moves again.
Triggers
- Card
- State change
- Gradient
- Ambient
- Glow
Techniques
- @property
- CSS transition
- Keyframes
- Gradient
- Radial gradient
- Filter
- SVG filter
- mix-blend-mode
Difficulty
Advanced
Accessibility
Keyboard and screen readers
The card is a section labelled Payment card. The only control is a native checkbox labelled Freeze card, wrapped in its label so the whole switch is the hit area; its track shows a white focus ring when focused from the keyboard, and Space toggles it. The aurora, ice, chip, status dot and contactless arcs are aria-hidden; the masked number is readable text that stays legible on the frost.
Reduced motion
The frost appears and melts without the sweep and the aurora does not move.
Use it in anything you build, commercial and client work included. Licence