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>| Prop | Type | Default | Description |
|---|---|---|---|
| locale | string | — | The BCP 47 locale for the letter and word split (Intl.Segmenter). Default: the DisplayLocaleProvider locale, else "en-US". |
| children | string | — | The headline text. |
| spread | number | SPLIT_HEADLINE_SPREAD | How far the words wait from the line at the edges of the pass, in px. Default 64. |
| seed | number | — | The seed of the scatter. Default: a hash of the text, so one text always scatters the same way. |
| container | RefObject<HTMLElement | null> | — | The scroll box, when the headline scrolls inside one and not with the page. |
| disabled | boolean | false | Keeps the words in one line and stops the scroll work. |
| ...props | <span> attributes | — | Every other attribute goes to the <span>, with a ref. |











