Soft Blur In
Per-character fade-in with a gentle blur and upward motion
Installation
$ pnpm dlx shadcn@latest add @remocn/soft-blur-inUsage
tsx
// src/Root.tsx
import { Composition } from "remotion";
import { SoftBlurIn } from "@/components/remocn/soft-blur-in";
const SoftBlurInScene = () => (
<SoftBlurIn text="Think different." blur={12} fontSize={72} />
);
export const RemotionRoot = () => (
<Composition
id="SoftBlurIn"
component={SoftBlurInScene}
durationInFrames={60}
fps={30}
width={1280}
height={720}
/>
);With Backdrop
The component renders transparent — supply the background via Backdrop. It ships single-theme; edit the copied file to re-theme colors.
Pair with Backdrop to place the text inside a full-frame fill with a rounded, shadowed content frame:
tsx
import { Composition } from "remotion";
import { SoftBlurIn } from "@/components/remocn/soft-blur-in";
import { Backdrop } from "@/components/remocn/backdrop";
const SoftBlurInScene = () => (
<Backdrop fill={{ type: "color", value: "#ffffff" }}>
<SoftBlurIn text="Think different." blur={12} fontSize={72} />
</Backdrop>
);
export const RemotionRoot = () => (
<Composition
id="SoftBlurIn"
component={SoftBlurInScene}
durationInFrames={60}
fps={30}
width={1280}
height={720}
/>
);Props6
| Prop | Type | Default |
|---|---|---|
| textrequired | string— The text to reveal | |
| blur | number12 Initial blur radius in pixels. Animates down to 0 per character. | |
| fontSize | number72 Font size in pixels | |
| fontWeight | number600 CSS font-weight | |
| color | string"#171717" Text color (any valid CSS color) | |
| className | string— Optional className passed to the underlying span | |
- textrequiredstring
The text to reveal
- blurnumber
Initial blur radius in pixels. Animates down to 0 per character.
Default
12 - fontSizenumber
Font size in pixels
Default
72 - fontWeightnumber
CSS font-weight
Default
600 - colorstring
Text color (any valid CSS color)
Default
"#171717" - classNamestring
Optional className passed to the underlying span