Halyard · interaction playgroundLegend below
0.00m
14:20 · Flooding
now

Passage windows today

Wind
SW 12 to 15 kn
Stream
0.6 kn with you
Bar depth
3.1 m at arrival
Sea state
Slight
Note
Leave August Rock buoy to port; the bar is comfortable until 18:30.
Wind
SW 14 kn, gusty
Stream
Slack at 15:48
Least depth
2.4 m off Turnaware
Sea state
Smooth
Note
Sheltered water all the way round. Good first sail of the season.
Wind
SW 22 to 27 kn
Stream
1.1 kn against
Swell
1.6 m at 9 s
Sea state
Moderate to rough
Note
Wind over tide off the Dodman after dusk. Not one for a small boat tonight.

Press and hold for 1.5 s. Let go early to cancel.

Prototype v0 · fictional app · made-up forecast data

Seven interactions, each built to one rule about motion

Halyard is an imaginary tide and wind app for small-boat sailors. The screen on this page is a playground: every control works, and every one can be interrupted, reversed or hammered with fast taps.

The rules are paraphrased from Emil Kowalski's open skills repository (third-party guidance, read as reference only). Its React and Motion recipes are translated here into plain CSS transitions, pointer events and a small hand-written spring. Not yet tested on a real phone.

  1. 01

    Station menu

    Tap the station name, top left.

    A popover should look like it came out of the thing you pressed, so it scales from the trigger, never from its own centre and never from nothing. Leaving is quicker than arriving.

    transform-origin at trigger · scale .95 + opacity · 200ms in / 150ms out · cubic-bezier(.23,1,.32,1) animate/SKILL.md step 4 · emil-design-eng review checklist
  2. 02

    Tide / Wind / Swell switch

    Click between segments quickly, then try the arrow keys.

    The brass pill is a second copy of the labels revealed through a moving clip-path, so text and background change colour as one object. Something moving across the screen gets ease-in-out. Keyboard changes are instant, because keyboard actions should not animate.

    clip-path: inset() · 250ms · cubic-bezier(.77,0,.175,1) · keyboard: 0ms animate/RECIPES.md "Tab indicator" · animate/SKILL.md step 1
  3. 03

    Scrubbable chart

    Drag along the curve. On touch, vertical swipes still scroll.

    While the pointer is down the cursor is the finger: position is written straight to transform with no easing, spring or duration. Data being read does not move for style, so nothing settles after you let go. Numbers are fixed-width so they do not jitter; a 2px blur masks the curve swap.

    track phase 1:1 · pointer capture · touch-action: pan-y · tabular figures · blur(2px) 200ms on layer swap gestures/SKILL.md "two phases" · ui-cheatsheet.md
  4. 04

    Expanding passage rows

    Open a row, then open another before the first finishes.

    Height is the one layout property the skills tolerate, and only for accordions: measured in JS, kept short. The closing row and the opening row run together rather than in a queue, and both retarget mid-flight because they are transitions, not keyframes.

    height + opacity · 200ms · cubic-bezier(.23,1,.32,1) · measured px, never auto animate/RECIPES.md "Accordion" · choreograph/SKILL.md "Together, by default"
  5. 05

    Hold to log

    Press and hold. Release early, then press again.

    Timing is asymmetric. The fill is a progress indicator, so it runs linear: time passes linearly and any other curve lies about how long is left. Letting go snaps back fast. The button also presses in slightly so you know it heard you.

    press: clip-path 1500ms linear · release: 200ms ease-out · scale(.97) · label swap behind blur(2px) gestures/SKILL.md "Hold gestures are asymmetric" · animate/RECIPES.md
  6. 06

    Toast stack

    Hit "Test alert" several times fast. Swipe the front toast up.

    Toasts arrive in bursts, so they use transitions that retarget from wherever they are; keyframes would restart from zero. A toast leaves the way it came in (from the top, so swipe up), and a short flick counts as much as a long drag. Timers pause on hover, while dragging and when the tab is hidden.

    transform + opacity · 400ms ease · dismiss if distance ≥ 45% or velocity > 0.11 px/ms · damped downward emil-design-eng "Sonner principles" · animate/RECIPES.md "Toast", "Drag to dismiss"
  7. 07

    Bottom sheet

    Open "Tide table". Drag it, flick it, grab it while it is still moving, pull it upward.

    Finger down: 1:1 tracking. Finger up: a spring seeded with the release velocity takes over, so every fling lands differently and can be caught again. Bounce appears only after a drag, because only a drag applies force; the buttons open and close it with none. The backdrop's opacity is derived from the sheet's position, never animated separately. Past the top edge it rubber-bands instead of stopping dead.

    spring duration .5 · bounce .2 after drag, 0 from buttons · dismiss if > 40% travel or > 500 px/s · reduced motion: fade, no spring gestures/SKILL.md "Release phase", "Linked values", "Reduced motion"