Freeze

••••••••••••4821

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-freeze

About 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

More cards

See all
HomeGet code
IndexGet code

0 of 4 digits

KeypadGet code

22°

LouverGet code