Components / Text animationsv1.0.0 · updated 2026-10-08
Split Text
Free · MITSplits a line into characters or words and animates each one in when the line enters the viewport. Duration is counted in frames, the stagger in milliseconds, and the curve is one of the four Brazen motion tokens.
textstaggerscroll
Refuse to whisper
Customize
Split by
From
Curve
Accent
Install
$ npm install motion- Copy
SplitText.tsxfrom the Code tab intocomponents/brazen/. - Make sure the Brazen tokens are loaded (
tokens.css); colours and timing come from them. - Import it and pass the props below.
Props 6
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | — | The line to animate. |
by | "chars" | "words" | "chars" | What to split on. |
duration | number | 36 | Per-piece duration, in frames at 60fps. |
stagger | number | 30 | Delay between pieces, in ms. |
from | "up" | "down" | "left" | "right" | "up" | Entry direction. |
curve | "out" | "brash" | "punch" | "leave" | "out" | Brazen easing token. |
Features
- Chars or words
- Four entry directions
- Runs once, in view
- Screen readers get the whole line
Dependencies
motion@^14.0.0react@>=19peer
Works with
- React 19
- Next.js 15+
- TypeScript
Reduced motion
Renders the full line immediately with no movement.