Skip to content

Text Split Headline

Pro

The words of a heading wait apart at different depths and slide together into one line as it scrolls to mid view.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 14, 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 Split Headline 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
24
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 headline of a section. Keep it short: two to six words.

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

features-section.tsx

TextSplitHeadline

<span>
PropTypeDefaultDescription
localestring—The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US".
childrenRequiredstring—The headline text.
spreadnumberSPLIT_HEADLINE_SPREADHow far the words wait from the line at the edges of the pass, in px. Default 64.
seednumber—The seed of the scatter. Default: a hash of the text, so one text always scatters the same way.
containerRefObject<HTMLElement | null>—The scroll box, when the headline scrolls inside one and not with the page.
disabledbooleanfalseKeeps the words in one line and stops the scroll work.
...props<span> attributes—Every other attribute goes to the <span>, with a ref.

TextSplitHeadlineWord

PropTypeDefaultDescription
progressRequiredMotionValue<number>—
signRequiredMotionValue<-1 | 1>—
farRequired—
childrenRequiredstring—
  • Wrap the text of a heading. Every element is a span, so it is valid in an h1 or h2.
  • Use spread (in px, default 64) to set how far the words wait from the line at the edges of the pass.
  • Use seed to pick another scatter. With no seed, the text picks its own, so one text always scatters the same way.
  • Use container when the headline scrolls inside a box and not with the page, disabled to keep the line whole, and locale for the word breaks of a language.
  • For images and layers that move at their own speed as the page scrolls, use Parallax.
  • For a long headline or body text that people must read at once, use plain text.
Scroll scatter
none · the words slide together into one line as the headline reaches the middle of the view, and part as it leaves, in the same frame as the scroll; the last px come slowly
  1. AddedText Split Headline.
Open the release