
N° 0965 · cursor
Direction-of-travel Cursor is a custom cursor effect. It responds to hover, pointer, velocity and links. Palettes: Chart, Pilot book, Ebb, Night passage and Signal.
One SVG path built from four cubic segments that are a 7 px circle at t = 0 and an arrowhead (tip 14, 0; back corners -10, ±10; notch -4, 0) at t = 1; the path's d is the per-coordinate mix. Velocity is an exponential average of pointer deltas per ms; t eases to min(1, speed / 0.6), the stretch s to min(0.7, speed × 0.35), and the group is rotate(atan2(vy, vx)) scale(1 + s, 1 / sqrt(1 + s)). Over a, button, label, summary or [data-cursor-ring] t goes to 0 and the dot grows 2.4× as an outline ring. The frame loop stops when shape, stretch and ring have settled.
The preview is the shipped element inside a neutral demo page. Hover, click, focus: the one interaction it is about is live.
Token sets re-tint it live. The prompt carries the one you chose.
A paste-in snippet, or a component for Next.js, React, Vue, Astro, WordPress, Shopify or Webflow.
It quotes the markup, styles and script verbatim with the tokens and the rules that keep it self-contained.
It inherits your page's font and width; the tokens live on :root; several instances share one script.

N° 0965 · cursor

N° 0806 · cursor

N° 0805 · cursor

N° 0803 · cursor

N° 0802 · cursor

N° 0407 · cursor

N° 0411 · cursor

N° 0414 · cursor

N° 0799 · toggle

N° 0826 · loader

N° 0818 · nav

N° 0812 · input

N° 0819 · nav

N° 0808 · input

N° 0803 · cursor

N° 0415 · cursor