Compositions
Core Primitives
Transitions
Typography
Customize
10
72
1
Installation
$ pnpm dlx shadcn@latest add @framecn/blur-reveal
Usage
import { BlurReveal } from "@/components/framecn/blur-reveal";<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
Blur uses backdrop-filter
The blur effect uses CSS backdrop-filter which may not be supported in all browsers. Consider providing a fallback for older browsers.