
N° 0964 · text
Hand-drawn Underline is a text hover effect. It responds to hover, focus and svg draw. Palettes: Margin, Blueprint, Graph paper, Highlighter and Ballpoint.
Each .ud span gets an absolutely positioned SVG sized to its offsetWidth and offsetHeight. Single and double strokes place a point every ~22 px along the baseline with seeded jitter (±3 px across, ±5 % of the line height up and down, a slight rise to the right) and join them with quadratic curves through the midpoints; the double's second line is shorter and 16 % lower. Circle builds 28 points on an ellipse wider than the word, starting at about 190° and running 380° so it overshoots, with a small downward drift. Paths carry pathLength=1 with stroke-dasharray 1 and stroke-dashoffset 1; :hover, :focus-visible or .is-on (a 1.4 s tap on touch) sets the offset to 0 over 250 ms (200 ms, 120 ms later, for the second line). A ResizeObserver regenerates the path whenever the width changes, including when the web font arrives.
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° 0964 · text

N° 0963 · text

N° 0962 · text

N° 0837 · text

N° 0836 · text

N° 0385 · text

N° 0387 · text

N° 0389 · text

N° 0383 · loader

N° 0308 · illustrations

N° 0309 · illustrations

N° 0318 · illustrations

N° 0321 · illustrations

N° 0964 · text

N° 0961 · card
N° 0958 · image