Marker highlight

Also called highlighter, hand-drawn highlight, or rough notation

A hand-drawn highlighter stroke, underline, or circle that draws itself behind or around key words when they scroll into view.

What is Marker highlight?

A marker highlight annotates a few words in running text the way you would with a pen. Each mark is an SVG path with a slightly wobbly shape: a thick stroke behind the words for a highlighter, a loose line under them for an underline, or an uneven loop around them for a circle. Animating the path from pathLength 0 to 1 makes it look drawn by hand, usually when the paragraph scrolls into view.

Use it to point at the phrases a reader should not miss: a key benefit on a landing page, a number in a case study, or a step in a tutorial. More than two or three marks per screen turns emphasis into noise.

Measure each phrase and scale the path to its real size. Stretching a fixed SVG with preserveAspectRatio="none" warps the stroke, and the usual fix, vector-effect: non-scaling-stroke, throws off the dash math that pathLength relies on. Put highlighter strokes behind the text inside an isolate parent, so the words stay crisp in light and dark themes. A mark cannot follow a line break, so keep marked phrases on one line with white-space: nowrap, and show the marks already drawn when someone prefers reduced motion.

Often confused with

Underline animation
An underline animation is a clean bar that grows under a link on hover. A marker highlight is a hand-drawn mark that draws itself to emphasize words in running text.
All terms

SVG line drawing

An animation that makes an SVG outline look like it is being drawn by hand, by revealing its stroke from start to end.

Underline animation

A link underline that draws itself on hover, growing from the left, from the center, or sweeping through, instead of simply appearing.

Scroll reveal

An animation that fades or slides content into place as it scrolls into view, so each section appears just as the reader reaches it.

Typographic hierarchy

Using differences in text size, weight, and color so people can tell at a glance what to read first, second, and last.

Build it with Layerwise

Describe your app, watch it run in a live preview, and publish it with a database, storage, and sign-in built in.