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
VaultTextBlock Wipe Text Reveal
Glow Band Sheet ModalBrowse all 182Capsule Image Hero
  • 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

Block Wipe Text Reveal

This one is free. Make an account and the code is yours, no card needed.

Create a free account

What you'll need.

Install

  • gsap
  • ScrollTrigger
  • SplitText

Setup

npm i gsapregisterPlugin(ScrollTrigger, SplitText)

More like this

  • Reveal
  • Wipe
  • Stagger
  • Split text
  • ScrollTrigger

Features.

  • Text appears line by line as it scrolls in, each line from under an orange block
  • The blocks shrink away to their left edge one after another (expo.inOut)
  • 60% of the way through, the words slide out from behind them, in from the right while fading up
  • Lines are real SplitText lines, each in a mask that hugs its width, so every block is exactly as wide as its words
  • Every marked element plays on its own, once, when its top passes 95% of the viewport
  • Re-splits when the width changes: text that has played stays shown, text that hasn't is re-armed
  • Respects prefers-reduced-motion: no split, no blocks, the text is just there
  • GSAP, ScrollTrigger and SplitText

How to get it right.

Mark each element, not the section

Put data-bwt-split on every paragraph, label, quote or caption you want revealed. Each one splits and plays by itself, so a label can wipe in before its paragraph.

Mix muted and strong words

The body sits in --bwt-muted and .bwt_accent spans in --bwt-fg. A few strong phrases per paragraph give the reader something to land on as the blocks clear.

Break lines where you mean them

Lines come from the layout, so they change with the width. Use <br> for breaks that matter; the rest can fall where they fall.

Give the cover contrast

The blocks should stand out from the page. Orange on the ink page is the default. If you retheme the section to a light page, a dark or brand block reads better than a pale one.

Labels and quotes are optional

It ships with a short title and a sentence, one screen each (each .bwt_block is a full screen). To add more, put a .bwt_label above the sentence, or a second .bwt_block holding a blockquote.bwt_text and a figcaption.bwt_label. Give each data-bwt-split and it plays on its own.

Variations.

  • Slow wipe — data-au-duration="1.4" and data-au-stagger="0.12"
  • Straight wipe — data-au-shift="0": the words don't travel, the block just clears
  • Earlier start — data-au-start="80": plays when the top reaches 80% of the viewport
  • Your colours — override --bwt-cover, --bwt-fg and --bwt-muted on .bwt_section

Where it fits.

  • Statements and manifestos — a big paragraph worth reading line by line
  • Pull quotes — a quote and its source in an editorial page
  • Case study intros — the brief, revealed as the reader arrives
  • About pages — short, bold paragraphs between images

Frequently asked.

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

On a width change the lines are re-split so the blocks match the new line breaks. Text that has already played comes back as plain lines; text that hasn't gets fresh blocks.

Marked elements are hidden until they're split, so the lines don't flash before the blocks cover them. Under reduced motion they're shown straight away.

Yes. Put data-bwt-split on any text element. The size comes from your own class; .bwt_text is 3em.

Each [data-au-block-wipe-text] is its own instance, and each marked element inside it has its own trigger.

Related components.

Pro

Multi-Cursor Typing

Load

Pro

Scroll-Lit Word List

Scroll

Pro

Glitch Wipe Reveal

Scroll