A text fill animation that adds visual emphasis to short phrases, metrics, proof points, and high-impact statements.

Text Fill helps important words arrive with intent: text fill.
Reach for it on headlines, launch claims, section openers, and one-line proof. Keep it away from body copy, error messages, legal text, and instructions, where reading has to be effortless.
The production risk is that the words get lost in the motion. The resolved phrase has to be real DOM text, the animation must not spell itself out to a screen reader, and a reduced-motion visitor should land on the final, readable state at once.
You can preview it now. Upgrade to Pro for instant install access.
You can preview it now. Upgrade to Pro for instant install access.
You can preview it now. Upgrade to Pro for instant install access.
Use this as text-animation implementation guidance. Verify the shipped component API, splitting strategy, accessible text exposure, duplicated span handling, layout reservation, and reduced-motion behavior before relying on exact props, defaults, imports, or installation steps.
Not for body text, labels, errors, legal copy, or anything a user must read right away.
Limit motion to the phrase that earns it, hold its layout space ahead of time, and keep heavy filters off large blocks of text.
Make the whole phrase available to assistive technology a single time; where the text is split into per-character spans, mark the duplicates aria-hidden.
| Prop | Type | Default | Description |
|---|---|---|---|
textColor | string | #111111 | Final text color. |
primaryColor | string | #ff6b00 | Highlight color. |
dimColor | string | #AAAAAA | Initial dimmed text color. |
backgroundColor | string | #F0EFE9 | Section background color. |
Use it when a headline needs its fill animating in to add emphasis.
Ship the final phrase in the DOM and surface it a single time, hiding duplicated animated fragments from assistive technology where needed.
Not when the final text ships as real HTML rather than living inside canvas or client-only animation.
Pre-reserve the final text's space so line breaks stay put across breakpoints.
Render the settled, legible text at once, with no scrambling, staggering, or looping.
Need a custom effect? Tell us what to create.