Motion gallery

Things that move

Guitar strings, six cursors and a few things you can drag around. Each section says how it behaves on touch screens.

Animated

Guitar Strings

Six strings across the page. Sweep the mouse over them and they bend and twang back. On a phone, swipe sideways along one. Turn the sound on and each pluck plays the next note of a random tune, synthesised in the browser.

Pluck

Sound starts off. Browsers only allow audio after a click.

Animated

Brew Cup

A loader made of CSS keyframes. It starts on first paint, before any JavaScript has loaded.

Pour

Animated

Magnetic

Wrap anything and it leans toward the mouse while hovered, then springs back. Does nothing on touch screens.

Pull

Strong
Animated

Tilt Card

Tilts in 3D toward the pointer, with a glare that slides across the surface.

Tilt

Member cardKettle Club
max = 20Extra tilt
Pointers

Cursor Lab

Six custom cursors. Pick one and it applies to this whole page. Mark any element with data-cursor="Label" and the cursor turns into that label while it's over the element.

Pick a cursor

Custom cursors only run with a mouse or trackpad. On touch screens the native behaviour stays as it is.

Now usingLeaf PickMove around in here.
HoverViewdata-cursor="View"Over this box Leaf Pick turns into the label.
ClickTap in hereThe pick flips and presses down.
Draggables

Sticker Wall

Stickers spring in, bob while idle, and snap back home when you let go. Dragging is mouse-only so they never get in the way of scrolling on a phone.

Peel

New
Hot ☕
Drag me
Kettle UI
by Apurva
Draggables

Throw Box

Fling things around. They keep their momentum and bounce off the walls. Works with touch too.

Fling

Fling me
☕
Bouncy
Draggables

Reorder List

Drag a row by its grip to reorder the list. Only the grip starts a drag, so swiping elsewhere still scrolls the page on a phone.

Sort

  • Boil the water
  • Warm the pot
  • Add the leaves
  • Steep for three minutes
  • Pour and enjoy
Draggables

Swipe Deck

Swipe the top card left or right and it goes to the back of the deck. The buttons do the same for keyboard users.

Swipe

Card 03

Toy Train

Chugs along in pure CSS.

Card 02

Pill Button

Floods with colour on hover.

KeepSkipCard 01

Lag Ring

A cursor that takes its time.