Keyed

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-keyed

About this component

A video call card with backgrounds you can swap: pick one and the new scene is keyed in from your own outline, the edge of the key travelling outward as a bright contour that follows your shoulders and hair until it reaches the corners of the frame.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • Click
  • State change
  • Card

Techniques4

  • SVG
  • SVG filter
  • requestAnimationFrame
  • Interval

Accessibility

Keyboard and screen readers

The backgrounds are a radiogroup of native radio inputs with visible names; the video tile is aria-hidden and a polite live line names the background in use.

Reduced motion

The background changes at once.

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

More cards

See all
01 / 03

Plan the week

Pick three runs and the app spaces them out for you.

LiquidGet code
A weekend in Lille14 places

Belfries, beer halls and the Braderie

MastheadGet code
Ball bounceFrame 12 / 24
Onion SkinGet code
OvergrownGet code