Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultTextScribble Text Marks
Scramble Text EffectBrowse all 182Letter Wave Text
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Scribble Text Marks

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap
  • ScrollTrigger
  • CustomEase

Setup

npm i gsapregisterPlugin(ScrollTrigger, CustomEase)

More like this

  • Reveal
  • Line drawing
  • ScrollTrigger
  • SVG

Features.

  • Two hand-drawn marks: a loose loop round a single word, or a swooshing underline under a phrase
  • The loop runs past its own start and drifts outwards, like a pen that didn't stop in time
  • The underline draws one stroke per line when the phrase wraps, at one steady pen speed
  • Every mark is drawn twice: a full stroke, then a thinner, lighter pass just behind it
  • A seeded random from the word itself keeps each mark the same on every visit and every rebuild
  • Sized from the font size and line height, so marks fit any word at any breakpoint
  • Rebuilds when the width changes; a mark that has already played comes back complete
  • Plays once per mark, the first time it scrolls into view
  • Respects prefers-reduced-motion: the marks are there, fully drawn, with no animation
  • GSAP, ScrollTrigger and CustomEase, drawn as SVG paths

How to get it right.

Loop one word

The loop wraps every line box of its span, and the CSS keeps a circled span on one line (white-space: nowrap). One short word reads best. Use underline for anything longer.

Underline a phrase

Underlines follow the phrase's lines: two lines of text get two strokes, drawn one after the other. Three to five words is the sweet spot.

One mark per headline

A mark is there to point at the word that matters. Two in one sentence and neither stands out.

Pick an ink that cuts through

--scm-ink sits over the text. The default orange reads on the ink section; on a light background, keep it saturated rather than pale.

Variations.

  • Loop — data-scm-mark="circle" on a single word
  • Underline — data-scm-mark="underline" on a phrase
  • Neat — data-au-wobble="0.1" and data-au-rough="0.1": closer to a ruled line
  • Frantic — data-au-wobble="1" and data-au-rough="1": a looser, shakier hand
  • Slow pen — data-au-duration="2"
  • Your colours — override --scm-bg, --scm-fg and --scm-ink on the section

Where it fits.

  • Facts and figures — one number or claim per screen, marked as it arrives
  • Manifestos — the word you want remembered, circled
  • Landing page heroes further down the page — a headline that underlines its promise
  • Editorial pages — a hand-drawn touch between photo blocks

Frequently asked.

Yes, each [data-scm-mark] span gets its own mark and trigger. Use it sparingly; one per headline reads clearest.

No. Each mark plays once and stays drawn.

It's rebuilt from the new line boxes whenever the width changes, so it always fits the text. The shape stays recognisably the same because its randomness is seeded from the word.

No. The SVG is aria-hidden and the text is left as it is.

Set font-size on .scm_headline, or on the section to scale the padding too. The marks follow the font size.

Related components.

Pro

Multi-Cursor Typing

Load

Pro

Scroll-Lit Word List

Scroll

Pro

Glitch Wipe Reveal

Scroll