Text & Typography Fancy Stable

BlurReveal

Scroll-triggered reveal that unblurs and slides each direct child into place as the container enters the viewport, staggering up to 10 children via CSS nth-child delays and respecting reduced motion

Preview

Installation

pnpm add fancy-ui-svelte
import { BlurReveal } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { BlurReveal } from 'fancy-ui-svelte';
</script>

<BlurReveal />

Examples

Basic Usage

Custom Duration

Control reveal speed.

Heavy Blur

Stronger initial blur.

Staggered Cards

Multiple items with stagger.

Hard Snap

mode="hard": no blur or easing, opacity snaps in stepped.

Props

PropTypeDefaultDescription
duration number1Animation duration in seconds
delay number0.2Stagger delay between children in seconds
blur string"20px"Initial blur amount (CSS value)
yOffset number20Initial vertical offset in pixels
mode "blur" | "hard""blur"Reveal style: blur softens in with blur/translate, hard snaps opacity with no easing

Slots

SlotDescription
childrenContent elements to reveal with staggered animation