
N° 0965 · cursor
Crosshair Cursor is a custom cursor effect. It responds to hover, pointer, snap and keyboard. Palettes: Drafting film, Cutting mat, Proof, Blueline and Night shift.
A fixed, pointer-events-none layer holds two vertical and two horizontal 1 px lines and a readout. Free: both of each pair sit on the pointer and the readout reads 'x, y' 16 px off it, flipping at the viewport edges. Over [data-snap]: v1 = left, v2 = right - 1, h1 = top, h2 = bottom - 1, the frame gets .is-snapped, and the readout reads '<data-snap> W × H' centred under the frame (above it near the bottom edge). Only the snap and unsnap transition (0.16 s); free movement is unsmoothed. One rAF per frame of input; scroll and resize redraw.
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° 0804 · cursor

N° 0803 · cursor

N° 0407 · cursor

N° 0411 · cursor

N° 0414 · cursor

N° 0379 · card

N° 0829 · loader

N° 0817 · overlay

N° 0805 · cursor

N° 0542 · cards

N° 0543 · pricing

N° 0558 · hero

N° 0424 · nav