Blur Reveal
Text fades in from a heavy blur into sharp focus
Installation
$ pnpm dlx shadcn@latest add @remocn/blur-revealUsage
// src/Root.tsx
import { Composition } from "remotion";
import { BlurReveal } from "@/components/remocn/blur-reveal";
const BlurRevealScene = () => (
<BlurReveal text="Hello, world" blur={12} fontSize={72} />
);
export const RemotionRoot = () => (
<Composition
id="BlurReveal"
component={BlurRevealScene}
durationInFrames={90}
fps={30}
width={1280}
height={720}
/>
);Props
| Prop | Type | Default | Description |
|---|---|---|---|
textrequired | string | — | The text to reveal |
blur | number | 10 | Initial blur radius in pixels. Animates down to 0. |
fontSize | number | 48 | Font size in pixels |
fontWeight | number | 600 | CSS font-weight |
color | string | "#171717" | Text color (any valid CSS color) |
className | string | — | Optional className passed to the underlying span |