Toggle Sidebar B
AppearanceLight & dark mode D

Blur Text

Text starts blurred then crisply resolves for a soft-focus reveal effect.

Default

Every prop is wired to the controls underneath. The animation starts when the text scrolls into view and replays when a control changes.

Dark previewReplay previewOpen in new tab

Isn't this so cool?!

Customize

Animate By
Direction
Delay200ms

API Reference

BlurText

PropTypeDefaultDescription
textstring""The text content to animate.
animateBystring"words"Determines whether to animate by 'words' or 'letters'.
directionstring"top"Direction from which the words/letters appear ('top' or 'bottom').
delaynumber200Delay between animations for each word/letter (in ms).
stepDurationnumber0.35The time taken for each letter/word to animate (in seconds).
thresholdnumber0.1Intersection threshold for triggering the animation.
rootMarginstring"0px"Root margin for the intersection observer.
animationFromobjectundefinedStarting snapshot of each segment (filter, opacity, y). Overrides the direction default.
animationToobject[]undefinedKeyframe snapshots the segment passes through after the starting one.
easingfunction | string(t) => tEasing applied across the keyframes.
animationCompleteevent-Emitted when the last word/letter finishes animating.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Each word or letter is a separate span, so screen readers may read letters one by one when animating by letters.