Design system
Motion
The water under the page: ripples that follow the cursor.
Live preview
Move your mouse across this box to make ripples, then pass it over the card.
Lily pad
A project card drifts slightly as the cursor swims under it.
How these connect
- Moving the cursor drops ripples into a sheet of water over the whole site, and the page bends where they pass. Ripple strength sets how far it bends; 0 turns the bending off.
- Anything you click (buttons, links, form fields) never starts a ripple, so controls always stay crisp and still.
- Project cards on Home and the Playground are lily pads: ripples barely touch them, and when the cursor swims underneath they drift by Card float, like a fish passing below.
- Everything stops for visitors who've asked their device for less motion, on touch screens, and on computers too slow to keep it smooth.
Tokens
--ripple-strengthHow far the page bends under a ripple. 0 turns the bending off.
Affects Water ripple
--card-floatpx
How far a project card drifts when the cursor passes underneath.
Affects Water ripple