Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

feat: focus-blur-resolve

dev_wandry2ffc7290e2c7
diff --git a/content/docs/components.mdx b/content/docs/components.mdx
index 414a8769..7726d58b 100644
--- a/content/docs/components.mdx
+++ b/content/docs/components.mdx
@@ -55,6 +55,12 @@ Text effects, reveals, and kinetic type.
status: "stable",
href: "/docs/typography/scale-down-fade",
},
+ {
+ name: "BlurOutUp",
+ description: "Words arrive clean and depart upward with increasing blur",
+ status: "stable",
+ href: "/docs/typography/blur-out-up",
+ },
{
name: "StaggeredFadeUp",
description: "Words rise from below with a soft cascading delay",
diff --git a/content/docs/typography/blur-out-up.mdx b/content/docs/typography/blur-out-up.mdx
new file mode 100644
index 00000000..df6db70d
--- /dev/null
+++ b/content/docs/typography/blur-out-up.mdx
@@ -0,0 +1,106 @@
+---
+title: Blur Out Up
+description: Words arrive clean and depart upward with increasing blur for airy exits
+---
+
+<ComponentPreview name="blur-out-up" />
+
+## Installation
+
+<InstallBlock name="blur-out-up" />
+
+## Usage
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { BlurOutUp } from "@/components/remocn/blur-out-up";
+
+const BlurOutUpScene = () => (
+ <BlurOutUp text="Clear in, airy out." staggerDelay={1} />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="BlurOutUp"
+ component={BlurOutUpScene}
+ durationInFrames={90}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+Each word fades and slides in cleanly, holds steady in the middle of the composition, then drifts upward with increasing blur near the end—so the duration should leave room for the exit animation.
+
+### 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 { BlurOutUp } from "@/components/remocn/blur-out-up";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const BlurOutUpScene = () => (
+ <Backdrop fill={{ type: "color", value: "#ffffff" }}>
+ <BlurOutUp text="Clear in, airy out." staggerDelay={1} />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="BlurOutUp"
+ component={BlurOutUpScene}
+ durationInFrames={90}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The text to animate",
+ },
+ {
+ name: "staggerDelay",
+ type: "number",
+ default: "1",
+ description: "Per-word delay in frames for both the enter and exit phases",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "72",
+ description: "Font size in pixels",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "600",
+ description: "CSS font-weight",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#171717\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/index.mdx b/content/docs/typography/index.mdx
index 7dd51f8a..694b137d 100644
--- a/content/docs/typography/index.mdx
+++ b/content/docs/typography/index.mdx
@@ -51,6 +51,12 @@ Every way text can move, fade, glitch, or stretch across the screen. From quiet
status: "stable",
href: "/docs/typography/scale-down-fade",
},
+ {
+ name: "BlurOutUp",
+ description: "Words arrive clean and depart upward with increasing blur",
+ status: "stable",
+ href: "/docs/typography/blur-out-up",
+ },
{
name: "StaggeredFadeUp",
description: "Words rise from below with a soft cascading delay",
diff --git a/content/docs/typography/meta.json b/content/docs/typography/meta.json
index ab17423f..aa375ed1 100644
--- a/content/docs/typography/meta.json
+++ b/content/docs/typography/meta.json
@@ -10,6 +10,7 @@
"spring-scale-in",
"micro-scale-fade",
"scale-down-fade",
+ "blur-out-up",
"staggered-fade-up",
"masked-slide-reveal",
"tracking-in",
diff --git a/registry/__index__.tsx b/registry/__index__.tsx
index 9c3957b1..9c40d730 100644
--- a/registry/__index__.tsx
+++ b/registry/__index__.tsx
@@ -21,6 +21,8 @@ import { MicroScaleFade } from "@/registry/remocn/micro-scale-fade";
import { microScaleFadeConfig } from "@/registry/remocn/micro-scale-fade/config";
import { ScaleDownFade } from "@/registry/remocn/scale-down-fade";
import { scaleDownFadeConfig } from "@/registry/remocn/scale-down-fade/config";
+import { BlurOutUp } from "@/registry/remocn/blur-out-up";
+import { blurOutUpConfig } from "@/registry/remocn/blur-out-up/config";
import { BrowserFlow } from "@/registry/remocn/browser-flow";
import { browserFlowConfig } from "@/registry/remocn/browser-flow/config";
import { ChatToPreviewLayout } from "@/registry/remocn/chat-to-preview-layout";
@@ -211,6 +213,7 @@ const registry: Record<string, RegistryEntry> = {
"spring-scale-in": { Component: SpringScaleIn, config: springScaleInConfig },
"micro-scale-fade": { Component: MicroScaleFade, config: microScaleFadeConfig },
"scale-down-fade": { Component: ScaleDownFade, config: scaleDownFadeConfig },
+ "blur-out-up": { Component: BlurOutUp, config: blurOutUpConfig },
typewriter: { Component: Typewriter, config: typewriterConfig },
"inline-highlight": {
Component: InlineHighlight,
diff --git a/registry/remocn/blur-out-up/config.ts b/registry/remocn/blur-out-up/config.ts
new file mode 100644
index 00000000..1570d0be
--- /dev/null
+++ b/registry/remocn/blur-out-up/config.ts
@@ -0,0 +1,43 @@
+import {
+ type ComponentConfig,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const blurOutUpConfig: ComponentConfig = {
+ componentName: "BlurOutUp",
+ importPath: "@/components/remocn/blur-out-up",
+ controls: {
+ text: { type: "text", default: "Clear in, airy out.", label: "Text" },
+ staggerDelay: {
+ type: "number",
+ default: 1,
+ min: 0,
+ max: 8,
+ step: 1,
+ label: "Stagger",
+ },
+ fontSize: {
+ type: "number",
+ default: 72,
+ min: 12,
+ max: 160,
+ step: 1,
+ label: "Font size",
+ },
+ color: { type: "color", default: "#171717", label: "Color" },
+ fontWeight: {
+ type: "select",
+ default: "600",
+ options: FONT_WEIGHT_OPTIONS,
+ label: "Font weight",
+ },
+ },
+ durationInFrames: 90,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#ffffff" },
+};
diff --git a/registry/remocn/blur-out-up/index.tsx b/registry/remocn/blur-out-up/index.tsx
new file mode 100644
index 00000000..5b3b343f
--- /dev/null
+++ b/registry/remocn/blur-out-up/index.tsx
@@ -0,0 +1,125 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
+
+export interface BlurOutUpProps {
+ text: string;
+ staggerDelay?: number;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ speed?: number;
+ className?: string;
+}
+
+export function BlurOutUp({
+ text,
+ staggerDelay = 1,
+ fontSize = 72,
+ color = "#171717",
+ fontWeight = 600,
+ speed = 1,
+ className,
+}: BlurOutUpProps) {
+ const frame = useCurrentFrame() * speed;
+ const { durationInFrames } = useVideoConfig();
+
+ const words = text.split(" ");
+
+ const enterDur = 17;
+ const exitDur = 14;
+
+ const enterEasing = Easing.bezier(0.22, 1, 0.36, 1);
+ const exitEasing = Easing.bezier(0.64, 0, 0.78, 0);
+
+ const enterEnd = enterDur + (words.length - 1) * staggerDelay;
+ const exitStart = Math.max(enterEnd, durationInFrames - exitDur - (words.length - 1) * staggerDelay);
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ background: "transparent",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: "-0.03em",
+ fontFamily:
+ "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",
+ }}
+ >
+ {words.map((word, i) => {
+ const enterLocal = frame - i * staggerDelay;
+ const exitLocal = frame - exitStart - i * staggerDelay;
+
+ const enterP = interpolate(enterLocal, [0, enterDur], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: enterEasing,
+ });
+
+ const exitP = interpolate(exitLocal, [0, exitDur], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: exitEasing,
+ });
+
+ const opacity = enterP * (1 - exitP);
+
+ const yEnter = interpolate(enterLocal, [0, enterDur], [10, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: enterEasing,
+ });
+
+ const yExit = interpolate(exitLocal, [0, exitDur], [0, -14], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: exitEasing,
+ });
+
+ const y = yEnter + yExit;
+
+ const blurEnter = interpolate(enterLocal, [0, enterDur], [6, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: enterEasing,
+ });
+
+ const blurExit = interpolate(exitLocal, [0, exitDur], [0, 8], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: exitEasing,
+ });
+
+ const blur = blurEnter + blurExit;
+
+ return (
+ <span
+ key={i}
+ style={{
+ display: "inline-block",
+ marginRight: "0.25em",
+ transformOrigin: "50% 55%",
+ opacity,
+ transform: `translateY(${y}px)`,
+ filter: `blur(${blur}px)`,
+ }}
+ >
+ {word}
+ </span>
+ );
+ })}
+ </span>
+ </div>
+ );
+}
diff --git a/registry/remocn/registry.json b/registry/remocn/registry.json
index fbd48037..275d0a73 100644
--- a/registry/remocn/registry.json
+++ b/registry/remocn/registry.json
@@ -115,6 +115,22 @@
}
]
},
+ {
+ "name": "blur-out-up",
+ "type": "registry:component",
+ "title": "Blur Out Up",
+ "description": "Words arrive clean and depart upward with increasing blur for airy exits.",
+ "dependencies": [
+ "remotion"
+ ],
+ "files": [
+ {
+ "path": "blur-out-up/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/blur-out-up.tsx"
+ }
+ ]
+ },
{
"name": "typewriter",
"type": "registry:component",