Skip to content

Blur Fade

BlurFade wraps any content and fades it in with a blur + translate effect on mount, or when the element scrolls into view.

Basic usage

Animates immediately on mount.

Tailwind v4
vue
<BlurFade>
  <p>This content fades and unblurs on mount.</p>
</BlurFade>

With delay

Tailwind v4
vue
<BlurFade :delay="0">...</BlurFade>
<BlurFade :delay="150">...</BlurFade>
<BlurFade :delay="300">...</BlurFade>

Scroll-triggered (in-view)

Set in-view to defer the animation until the element enters the viewport.

Tailwind v4
vue
<BlurFade :in-view="true">
  <p>Triggered when this scrolls into view.</p>
</BlurFade>

Props

PropTypeDefaultDescription
delaynumber0Delay before animation starts in ms
durationnumber400Animation duration in ms
inViewbooleanfalseTrigger with IntersectionObserver instead of on mount
blurstring'6px'Initial blur amount
yOffsetnumber8Initial Y translation in px

Slots

SlotDescription
defaultContent to animate in

Private — Jetpack Labs internal use only