Text Reveal

A text animation component that reveals words or letters with blur, offset, and staggered motion effects.

Examples

Title Reveal

Title animation revealing each letter with blur and vertical motion.

Hello Berlix UI!
Hello Berlix UI!

Text Reveal with Custom Props

Reveals each word with custom blur, timing, and reveal direction.

Iamthedanger.Iamtheonewhoknocks.
I am the danger. I am the one who knocks.

Installation

npx shadcn@latest add "https://ui.rechesoares.com/registry/text-reveal.json"

Component Props

PropTypeDefaultRequiredDescription
childrenstring-YesText to be revealed
classNamestring-NoOptional class names for styling the text.
blurnumber10NoInitial blur amount in pixels before the animation starts
delaynumber0.1NoDelay in seconds between revealing each word or letter
durationnumber1NoAnimation duration in seconds for each word or letter
from'top' | 'bottom''bottom'NoAnimation Direction from which each word or letter enters
split'word' | 'letter''word'NoWhether to animate the text by words or individual letters