Meridian Craft
Start a project

Craft lab · interactive

Five specimens.
Touch them.

Each one is the real component. Drag, swipe, press, and open. The numbers under each specimen are the numbers in the code.

Reduced motion respected. No analytics. No third-party requests.

01 Spring graph

Follow the pointer.
Not the target.

A raw readout moves exactly where the finger goes, which is why it feels like a cursor. A spring carries mass: it accelerates, overshoots a little, and settles. Drag the plot vertically, then set the target under the graph to feel both.

target50%
spring50%
settle to 2%300ms

Drag inside the plot. The dashed line is intent, the solid line is what the interface does with it.

Model
mass 1, semi-implicit Euler
Step
fixed 240Hz, clamped
Axis
value over 2.4 seconds
Budget
settle under 400ms

Why it works. A spring makes an abrupt target change legible. You see the distance it has to travel, so the wait feels accounted for instead of dropped. Past roughly 400ms, the eye reads the lag as input delay.

02 Drawer and toasts

Leave the way
you came in.

A panel that enters from the right edge exits to the right edge. Same axis, same distance, 220ms on an ease-out curve. Swipe it away, or press Escape. Toasts stack from the bottom and leave the way they arrived.

ledger / order ticket 09:41:06
Enter
translateX 100% → 0, 220ms
Exit
0 → 100%, same curve
Curve
cubic-bezier(.22, 1, .36, 1)
Dismiss
swipe right, Escape, scrim

Why it works. Spatial consistency is memory. If the panel leaves in a different direction than it arrived, the next open costs a moment of doubt. Toast duration follows the same logic at a smaller scale: 180ms in, 160ms out, no bounce.

03 Quick jump

The keyboard
should not queue.

Command palettes often fade in for 150ms, which is exactly long enough for a fast typist to type into nothing. This one paints in the same frame on every open after the first. Filter, arrow, enter.

Global shortcut

On Windows and Linux, Ctrl K. The panel is already in the DOM; opening it does not wait on a network request or a font.

First open
120ms fade, once
Repeat open
0ms, same frame
Filter
substring, ranked
Keys
↑ ↓ ↵ esc

Why it works. People reach for a palette without looking. Once the shortcut is learned, any entrance animation taxes every use. Animate the first one if you must, then get out of the way.

04 Gesture peek

Peek during the drag.
Commit on release.

Drag the row left. The card tracks your pointer the whole way and the actions underneath are fully revealed at the midpoint. Releasing past halfway pins the row; releasing early puts it back. The pin only fires on release, never mid-gesture.

ST-14

Selene · onboarding

six screens · 3.1s median · built in code

0% drag left
pointer threshold 50%
Travel
140px, 1:1 with pointer
Threshold
70px, 50% of travel
Feedback
state flips at the midpoint
Commit
pin fires on release

Why it works. Waiting for release keeps the action reversible: until the finger lifts, the row can still change its mind. The row responds the whole way, so the gesture feels read rather than collected.

05 Press states

Contact needs
an answer.

Every pressable thing in this template drops a little and scales to 0.97 over 120ms. It costs almost nothing and does most of the work of making a page feel responsive.

Hold a button down. The state holds while you hold it, and releases on pointer up even if the pointer has moved away.

Scale
0.97, transform only
Duration
120ms ease-out
Shift
0px layout
Release
pointerup, anywhere

Why it works. Transform runs on the compositor, so the answer costs nothing. Moving a button by 2px of layout would reflow the label beside it and make the page twitch.

End of lab

Want this in
your product?

We ship the code, the tokens, and a short document your team can argue with. Two slots open for Q1 2027.

Start a project