Feedback and status
Blur Text
Text that blurs and rises into place, letter by letter or word by word.
Install
Usage
API
Main export: BlurText
A one-shot entrance for a heading or a short line. Each segment fades in, sharpens, and rises into place, starting one after another.
Other span props and className go to the rendered element, which carries
data-slot="blur-text" and data-by.
Behaviour
- It plays on first paint, with CSS only: no client JavaScript and no Motion. Each segment uses
the theme's
animate-blur-text-inanimation with its own delay. - The rise and blur are sized in
em, so the effect scales with the text. - A word's letters never wrap apart. A no-break space joins words into one unbreakable group, for
example
"Base UI". - The full text is read once by assistive technology; the animated letters are hidden from it.
- Under reduced motion the text is shown immediately.