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
VaultTextGlitch Wipe Reveal
Rotating Ring TimelineBrowse all 182Ruler Card Carousel
  • 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

Glitch Wipe Reveal

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
  • SplitText

Setup

npm i gsapregisterPlugin(ScrollTrigger, SplitText)

More like this

  • Reveal
  • Wipe
  • Glitch
  • Split text
  • ScrollTrigger

Features.

  • Text writes itself in as it scrolls into view, one block after another
  • Every line waits as a faint outline; a solid copy wipes in from the left
  • A band of shifted orange copies rides just behind the edge, flickering sideways, then fades as the line lands
  • Groups play once, when their top passes 80% of the viewport; blocks inside a group follow each other 0.3s apart
  • All lines of a block move together, so a label and its title can land as one
  • Lines are real SplitText lines and re-split on resize without losing their place
  • The outline layer stays the readable copy: screen readers hear each line once, and links stay clickable
  • Respects prefers-reduced-motion: no split, no layers, the text is just there
  • GSAP, ScrollTrigger and SplitText

How to get it right.

Think in groups and blocks

A data-gwt-group is what scrolls in and starts the run. Each data-gwt-block inside it is one step of the stagger. Put data-gwt-text on the block itself, or on the elements inside it that should split (a label and a title in one header).

Keep blocks short

Every line in a block wipes at the same time, so a block of two or three lines reads best. Split a long passage into several paragraphs and let the stagger carry it.

Let colour do the hierarchy

The solid copy takes each element's own colour, so a muted label lands muted and a heading lands bright. Only the outline and the band share one colour.

Size the band to the type

The band's offsets are in em, so they grow with the text. On big headings a narrower band (data-au-band="20") keeps it tidy; on body copy the default 30 reads well.

Leave room for the outline

The faint outline shows before a group plays. On a light page, raise --gwt-ghost so it's still visible, or drop it to transparent to start from nothing.

Variations.

  • Quick write — data-au-duration="0.6" and data-au-stagger="0.15"
  • Wide smear — data-au-band="50": the band trails half the line
  • Still band — data-au-jitter="false": the copies hold their offsets, no flicker
  • Earlier start — data-au-start="95": plays as soon as a group's top enters the viewport
  • Your colours — override --gwt-glitch, --gwt-glitch-deep, --gwt-ghost, --gwt-fg and --gwt-muted on .gwt_section

Where it fits.

  • Tech and product launches — a statement that boots up line by line
  • Case study intros — a stacked headline, then the brief
  • Editorial pages — a label, a title and two short paragraphs arriving in order
  • Portfolio sections — between image runs, as a change of pace

Frequently asked.

No. Each group plays once. Scrolling back shows the finished text.

The lines re-split to the new width. A block that is mid-wipe carries on from where it was; one that has finished stays finished.

Yes. The original content stays in the outline layer, so links work and keep their focus order. The copies on top are hidden from screen readers and the pointer.

Blocks are hidden until they're built, so the full text doesn't flash before the outline. Under reduced motion CSS shows them straight away.

Each [data-au-glitch-wipe] is its own instance, and each group inside it has its own trigger.

Related components.

Pro

Multi-Cursor Typing

Load

Pro

Scroll-Lit Word List

Scroll

Free

Block Wipe Text Reveal

Scroll