Animations/Blur In

Blur In

A cinematic entrance — elements resolve from a soft blur into crisp focus.


ajax-ui.com/blur-in
Blurred into focus

Installation

npx ajaxui add blur-in

Trigger on scroll

Reveal on scroll

Wire onView and the animation fires when the element enters the viewport.

Props

PropTypeDefaultDescription
durationnumber800Duration of the blur-in (ms).
delaynumber0Delay before the animation runs (ms).
onViewbooleanfalseTrigger when the element scrolls into view.
asHTMLElement"div"Polymorphic root element.