Liquid

01 / 03

Plan the week

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

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-liquid

About this component

An onboarding card that turns its pages with a liquid swipe: the next page bulges in from the right edge as a round drop that follows your pointer up and down, and pulling it (or tapping it) swells it across the card until the new page has flooded in.

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

Triggers4

  • Click
  • Mouse tracking
  • Morph
  • Card

Techniques4

  • clip-path
  • CSS variables
  • Event position
  • CSS transition

Accessibility

Keyboard and screen readers

The bulge is a button labelled with the next page's title; the pages that are not current are hidden from assistive tech.

Reduced motion

The next page appears without the swell.

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

More cards

See all
A weekend in Lille14 places

Belfries, beer halls and the Braderie

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