Blur Reveal

Text fades in from a heavy blur into sharp focus

Installation

$ pnpm dlx shadcn@latest add @remocn/blur-reveal

Usage

// 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

PropTypeDefaultDescription
textrequired
stringThe text to reveal
blur
number10Initial blur radius in pixels. Animates down to 0.
fontSize
number48Font size in pixels
fontWeight
number600CSS font-weight
color
string"#171717"Text color (any valid CSS color)
className
stringOptional className passed to the underlying span