Mist

Dana Kole, 12 days

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-mist

About this component

One calm pane of frosted colour glass: a name on two lines, one light figure at the foot and a tall oval portrait whose edge melts into the frost. Two soft fields of light drift inside the glass and a highlight follows the pointer. Press the portrait and the next person arrives: the picture dissolves through blur, the name and the figure roll, and the whole pane eases to a glass tinted from that portrait.

Triggers

  • Card
  • Click
  • State change
  • Ambient
  • Glow
  • Gradient
  • Mouse tracking

Techniques

  • @property
  • CSS variables
  • CSS transition
  • Radial gradient
  • Gradient
  • Filter
  • Keyframes
  • Pseudo elements
  • Event position
  • SVG filter

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A section labelled Profile. The portrait is a native button named for the person it will show next (Show Ana Ruiz); the arrow keys on it step forward and back through the three people, and a polite live region announces the name and figure after each change. The visible name and figure, the light fields and the frost are aria-hidden so nothing is read twice. Focus draws a 2px white ring round the oval.

Reduced motion

The light fields stand still and every change is a cut.

Use it in anything you build, commercial and client work included. Licence

More cards

See all

Sign in

OasisGet code

Jan2026

OrbGet code
PairGet code
$12/moOne seat
PlanGet code