# M text generate effect 1

> Hero headline — word-by-word blur-fade reveal for landing page headings

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/m-text-generate-effect-1).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-text-generate-effect-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-text-generate-effect-1-light-a50458bbaeb2bb97.png
- Registry item: https://ui.cnippet.dev/r/m-text-generate-effect-1.json
- Categories: text generate effect
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/m-text-generate-effect-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/text-generate-effect`

## Files

### `registry/default/motion-variants/m-text-generate-effect-1.tsx`

```tsx
"use client";

import { TextGenerateEffect } from "@/registry/default/motion/text-generate-effect";

export default function TextGenerateEffectHero() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-3 px-6">
      <TextGenerateEffect
        as="h1"
        className="max-w-xl text-center font-bold text-4xl text-foreground tracking-tight sm:text-5xl"
        filter
        staggerDuration={0.1}
        transition={{ duration: 0.5 }}
      >
        Motion components for modern web apps
      </TextGenerateEffect>
    </div>
  );
}
```
