Skip to content

Text Pop Reveal

Pro

A heading pops in piece by piece: each word or letter grows from half size at its center.

  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Text Pop Reveal needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
20
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Wrap the text of a heading. Chain the next line with delay.

The sample also uses Button. One command adds them with this item:

hero-heading.tsx

TextPopReveal

<div>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
childrenRequiredstring—The text to reveal. A new text reveals again.
by"grapheme""line""word"—The size of the pieces that enter one after another. Default word. line moves the words of one line together, so the lines enter one by one. A script that joins its letters (Arabic) never splits into letters: grapheme reveals it by word.
order"center""edges""end""random""start"—The order in which the pieces (or the lines, with by line) start: start (default, reading order), end, center (from the middle out), edges (from both ends in), or random (a fixed shuffle of each text, the same on the server and in each run).
showboolean—Off plays the text out: the pieces go back to the hidden look, the last piece in first, at half the pace. On again plays it in from where it is. Default on.
trigger"mount""view"—When the reveal starts: view (default) the first time a part of the text is on screen, mount at once.
delaynumber—Seconds to wait before the first piece, to follow another reveal. It holds for each reveal from rest (the first one, and each show on after a whole exit), not for a turn back in the middle of an exit. Default 0.
onComplete—Called when the last piece has landed.
onExitComplete—Called when the last piece has left, after show turned off.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use delay to start a lead or a second line after the heading.
  • Use show to play the text out and in again; a turn in the middle goes back from where it is.
  • Use order to start from the middle (center), from both ends (edges), or in a fixed shuffle (random).
Enter
reveal · 400ms a piece · the pieces start one after another: 20ms a letter, 50ms a word, 120ms a line, and the last starts by 0.8s
Exit
revealExit · 250ms a piece · `show` off plays the text out, the last piece first, at half the step
Turn back
reveal · 400ms · a `show` change in the middle of a run moves every piece from where it is, with no stagger
  1. AddedText Pop Reveal.
Open the release