# Blur Reveal

> Words come into focus one after another, sharpening from a soft blur as the text scrolls into view.

Category: Text · Free · Updated 2026-11-14 · Live demo: https://www.motionkitui.com/components/blur-reveal

## When to use it

Hero headlines, section intros, manifestos and quotes on premium landing pages.

## How it works

The text is split into words, each an inline element with its own variant. When the heading scrolls into view, the parent's staggerChildren starts each word a fraction of a second after the last, animating blur, opacity and a small rise together with a strong ease-out. A hidden copy of the sentence is what screen readers read.

## Installation

```bash
npx shadcn@latest add https://www.motionkitui.com/r/blur-reveal.json
```

Or copy `components/motionkit/blur-reveal.tsx` below. Requires react, motion and Tailwind CSS v4. Free for personal projects; commercial use needs MotionKit Plus (https://www.motionkitui.com/pricing).

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `text` | `string` |  | The text to reveal. |
| `as` | `"h1" \| "h2" \| "h3" \| "p" \| "span"` | `"h2"` | The element to render. |
| `stagger` | `number` | `0.06` | Seconds between words. |
| `duration` | `number` | `0.7` | Seconds each word takes to sharpen. |
| `blur` | `number` | `12` | Starting blur in pixels. |
| `trigger` | `"view" \| "mount"` | `"view"` | Start when scrolled into view, or straight away. |

## Accessibility

- **Keyboard: Not applicable.** Text, nothing to operate.
- **Screen readers: Pass.** Screen readers get the whole sentence once from a hidden copy; the animated words are hidden.
- **Reduced motion: Pass.** With reduced motion on, words fade in without blur or movement.
- **Colour contrast: Pass.** Inherits your text colour, so contrast is whatever you set once the words have settled.

## Source

```tsx
"use client";

import { motion, useReducedMotion } from "motion/react";

type BlurRevealProps = {
  text?: string;
  /** The element to render, for the right heading level. */
  as?: "h1" | "h2" | "h3" | "p" | "span";
  /** Seconds between one word and the next. */
  stagger?: number;
  /** Seconds each word takes to come into focus. */
  duration?: number;
  /** How blurred words start, in pixels. */
  blur?: number;
  /** Start when scrolled into view, or straight away. */
  trigger?: "view" | "mount";
  className?: string;
};

/**
 * Text that comes into focus a word at a time: each word starts soft, faint and slightly low, then sharpens into
 * place just after the one before. Plays once as it scrolls into view. Screen readers get the sentence whole, and
 * with reduced motion the words simply fade in.
 */
export function BlurReveal({ text = "Interfaces that feel considered, down to the last frame.", as = "h2", stagger = 0.06, duration = 0.7, blur = 12, trigger = "view", className = "" }: BlurRevealProps) {
  const reduceMotion = useReducedMotion();
  const Tag = motion[as];
  const words = text.split(" ");
  const hidden = reduceMotion ? { opacity: 0 } : { opacity: 0, filter: `blur(${blur}px)`, y: "0.25em" };
  const shown = reduceMotion ? { opacity: 1 } : { opacity: 1, filter: "blur(0px)", y: "0em" };

  return (
    <Tag
      className={className}
      initial="hidden"
      {...(trigger === "view" ? { whileInView: "shown", viewport: { once: true, amount: 0.6 } } : { animate: "shown" })}
      transition={{ staggerChildren: stagger }}
    >
      <span className="sr-only">{text}</span>
      <span aria-hidden>
        {words.map((word, index) => (
          <span key={index}>
            <motion.span
              className="inline-block will-change-[filter,transform]"
              variants={{ hidden, shown }}
              transition={{ duration: reduceMotion ? 0.3 : duration, ease: [0.16, 1, 0.3, 1] }}
            >
              {word}
            </motion.span>
            {index < words.length - 1 && " "}
          </span>
        ))}
      </span>
    </Tag>
  );
}
```
