# Blur Reveal

Text fades in from a heavy blur into sharp focus.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown variants are available by appending `.md` to any URL or sending an `Accept: text/markdown` header. An agent skill is available at [/.well-known/agent-skills/site-skill.md](/.well-known/agent-skills/site-skill.md).

## Installation

<TabsTrigger value="cli">Command</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>

```bash
npx shadcn@latest add @framecn/blur-reveal
```

<Step>Copy and paste the following code into your project.</Step>

<Step>Update the import paths to match your project setup.</Step>

## Usage

```tsx
import { BlurReveal } from "@/components/framecn/blur-reveal";
```

```tsx
<BlurReveal />
```

## API Reference

### BlurReveal

| Prop               | Type     | Default        |
| ------------------ | -------- | -------------- |
| `text`             | `string` | `"BlurReveal"` |
| `className`        | `string` | `-`            |
| `blur`             | `number` | `10`           |
| `fontSize`         | `number` | `48`           |
| `color`            | `string` | `"#171717"`    |
| `fontWeight`       | `number` | `600`          |
| `speed`            | `number` | `1`            |
| `fps`              | `number` | `30`           |
| `durationInFrames` | `number` | `90`           |
| `width`            | `number` | `1000`         |
| `height`           | `number` | `500`          |
| `background`       | `string` | `"white"`      |

## Notes

  The blur effect uses CSS backdrop-filter which may not be supported in all
  browsers. Consider providing a fallback for older browsers.