Skip to content

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

docs: design stage and camera move (#265) (#266)

KapishDima74480255a39c
diff --git a/app/(home)/components/hero-badge.tsx b/app/(home)/components/hero-badge.tsx
index 4db16f5a..5c300201 100644
--- a/app/(home)/components/hero-badge.tsx
+++ b/app/(home)/components/hero-badge.tsx
@@ -5,7 +5,7 @@ import Link from "next/link";
import { Badge } from "@/components/ui/badge";
import { useTrackEvent } from "@/lib/analytics";
-const HERO_BADGE_HREF = "http://remocn.studio/";
+const HERO_BADGE_HREF = "/changelog#2026-08-25-saas-typography";
export function HeroBadge() {
const trackEvent = useTrackEvent();
@@ -19,7 +19,7 @@ export function HeroBadge() {
href={HERO_BADGE_HREF}
onClick={() =>
trackEvent("cta_clicked", {
- cta: "hero_ui_badge",
+ cta: "hero_saas_typography_badge",
destination: HERO_BADGE_HREF,
})
}
@@ -30,7 +30,7 @@ export function HeroBadge() {
<span aria-hidden className="text-muted-foreground/60">
·
</span>
- <span className="text-foreground">Remocn Studio</span>
+ <span className="text-foreground">SaaS Typography</span>
<ArrowRight
className="size-3 transition-transform group-hover:translate-x-0.5"
aria-hidden="true"
diff --git a/bun.lock b/bun.lock
index ccb5852e..082fd2dd 100644
--- a/bun.lock
+++ b/bun.lock
@@ -51,6 +51,7 @@
},
"devDependencies": {
"@biomejs/biome": "2.2.0",
+ "@remotion/cli": "4.0.513",
"@tailwindcss/postcss": "^4",
"@types/bun": "latest",
"@types/culori": "^4.0.0",
@@ -108,7 +109,7 @@
"@babel/helpers": ["@babel/[email protected]", "", { "dependencies": { "@babel/template": "^7.28.6", "@babel/types": "^7.29.0" } }, "sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw=="],
- "@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="],
+ "@babel/parser": ["@babel/[email protected]", "", { "bin": "./bin/babel-parser.js" }, "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg=="],
"@babel/plugin-syntax-jsx": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-plugin-utils": "^7.28.6" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-wgEmr06G6sIpqr8YDwA2dSRTE3bJ+V0IfpzfSY3Lfgd7YWOaAdlykvJi13ZKBt8cZHfgH1IXN+CL656W3uUa4w=="],
@@ -126,7 +127,7 @@
"@babel/traverse": ["@babel/[email protected]", "", { "dependencies": { "@babel/code-frame": "^7.29.0", "@babel/generator": "^7.29.0", "@babel/helper-globals": "^7.28.0", "@babel/parser": "^7.29.0", "@babel/template": "^7.28.6", "@babel/types": "^7.29.0", "debug": "^4.3.1" } }, "sha512-4HPiQr0X7+waHfyXPZpWPfWL/J7dcN1mx9gL6WdQVMbPnF3+ZhSMs8tCxN7oHddJE9fhNE7+lxdnlyemKfJRuA=="],
- "@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+ "@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.23.4", "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" } }, "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w=="],
"@base-ui/react": ["@base-ui/[email protected]", "", { "dependencies": { "@babel/runtime": "^7.28.6", "@base-ui/utils": "0.2.6", "@floating-ui/react-dom": "^2.1.8", "@floating-ui/utils": "^0.2.11", "tabbable": "^6.4.0", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { "@types/react": "^17 || ^18 || ^19", "react": "^17 || ^18 || ^19", "react-dom": "^17 || ^18 || ^19" }, "optionalPeers": ["@types/react"] }, "sha512-FwpKqZbPz14AITp1CVgf4AjhKPe1OeeVKSBMdgD10zbFlj3QSWelmtCMLi2+/PFZZcIm3l87G7rwtCZJwHyXWA=="],
@@ -434,6 +435,8 @@
"@remotion/captions": ["@remotion/[email protected]", "", {}, "sha512-b2bqswypfeOYiOOhnvW/WMncCKBBougnYl4wnZDkeQ2ni+zxJkV9xWCBO59BeeoUn4e/UIsgKA0YaQiMvf4NvA=="],
+ "@remotion/cli": ["@remotion/[email protected]", "", { "dependencies": { "@babel/parser": "7.24.1", "@remotion/bundler": "4.0.513", "@remotion/media-utils": "4.0.513", "@remotion/player": "4.0.513", "@remotion/renderer": "4.0.513", "@remotion/studio": "4.0.513", "@remotion/studio-server": "4.0.513", "@remotion/studio-shared": "4.0.513", "dotenv": "17.3.1", "minimist": "1.2.6", "prompts": "2.4.2", "remotion": "4.0.513", "semver": "7.5.3" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "bin": { "remotion": "remotion-cli.js", "remotionb": "remotionb-cli.js", "remotiond": "remotiond-cli.js" } }, "sha512-uoqHZ2rh2T9mAIVnXmJO16BXOz3TuMkbVld5J+4T/zZwj1m2fL8c7RnLphatVEKOnbvZHPE/1gj6AdgfHh3gaA=="],
+
"@remotion/compositor-darwin-arm64": ["@remotion/[email protected]", "", { "os": "darwin", "cpu": "arm64" }, "sha512-ZsCB+HLjwhmotGKU/TIlkoalAozzXjubB/8mOvWgLdO7XcSugGmvDJ17dHiXGcIadF9Mwy0zykiquArEnjJfnA=="],
"@remotion/compositor-darwin-x64": ["@remotion/[email protected]", "", { "os": "darwin", "cpu": "x64" }, "sha512-Xr2zphIHAgLnIZNE+ZJlj8bgVg7Z39BSzXDD0HYTfs9N5u78rNf+LXKGgAZ6eCMZpTpZP06qI9mzYeI1wAjLeQ=="],
@@ -468,8 +471,12 @@
"@remotion/studio": ["@remotion/[email protected]", "", { "dependencies": { "@jridgewell/trace-mapping": "0.3.31", "@remotion/captions": "4.0.513", "@remotion/media-utils": "4.0.513", "@remotion/player": "4.0.513", "@remotion/renderer": "4.0.513", "@remotion/studio-protocol": "4.0.513", "@remotion/studio-shared": "4.0.513", "@remotion/timeline-utils": "4.0.513", "@remotion/web-renderer": "4.0.513", "@remotion/zod-types": "4.0.513", "mediabunny": "1.50.8", "memfs": "3.4.3", "open": "8.4.2", "remotion": "4.0.513", "semver": "7.5.3", "zod": "4.4.3" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-hEg6CNTf/XQQUyv/1ccXfCZ1LaHXFInnR4mb3HzDE9aIbzo+GSgspsgB8W7OiWfOfEZVpI4HAFPRRtw1GCay1w=="],
+ "@remotion/studio-codemods": ["@remotion/[email protected]", "", { "dependencies": { "@babel/parser": "7.24.1", "@babel/types": "7.24.0", "@remotion/studio-shared": "4.0.513", "ast-types": "0.16.1", "recast": "0.23.11", "remotion": "4.0.513" } }, "sha512-10wiG/anJgW8MH4dT9IeMYI0T/7EQTLQwWEawLLYyO9/VRXwJL1uRJ6O9mJg13Q9IgWqLGxv6Xaaw5UlmSOM6w=="],
+
"@remotion/studio-protocol": ["@remotion/[email protected]", "", {}, "sha512-wRfIxboi3Np5z16NhkM2K8DT+rBvBb4hfbXpTV9nmcS+IVeuVeptTUSu5r7L9fE9zlbY/gag/V7ThS/CyYsrvg=="],
+ "@remotion/studio-server": ["@remotion/[email protected]", "", { "dependencies": { "@babel/parser": "7.24.1", "@babel/types": "7.24.0", "@remotion/bundler": "4.0.513", "@remotion/renderer": "4.0.513", "@remotion/studio-codemods": "4.0.513", "@remotion/studio-protocol": "4.0.513", "@remotion/studio-shared": "4.0.513", "@svgr/core": "8.1.0", "@svgr/plugin-jsx": "8.1.0", "kiwi-schema": "0.5.0", "memfs": "3.4.3", "open": "8.4.2", "prettier": "3.8.1", "recast": "0.23.11", "remotion": "4.0.513", "semver": "7.5.3", "zod": "4.4.3" } }, "sha512-QkqOOcD7AKEYCDClPmNFLFmwK8cx/L0zA8sv4Poop6i2eawNc1pY86gOSYyAl/QIqwaJ0Mkl2zHicO9UA7I7nw=="],
+
"@remotion/studio-shared": ["@remotion/[email protected]", "", { "dependencies": { "@remotion/studio-protocol": "4.0.513", "remotion": "4.0.513" } }, "sha512-RuXntxoeu8SSzPN037vwWtiV/IGYXxmrHztMXk0I0Kyf/R6qz5DupVYEJoBUA53rVOrCFo+2k1jH3IOBixRUBw=="],
"@remotion/timeline-utils": ["@remotion/[email protected]", "", { "dependencies": { "mediabunny": "1.50.8" } }, "sha512-PYpK/VRh1kdrjE4kcNkatsLBeVa1yL+tTqoj0lRVW2N/5NXP9PNTwXF5/CsTZyjGPz01FF0lj+mOW2J8ECCdDg=="],
@@ -540,6 +547,30 @@
"@standard-schema/spec": ["@standard-schema/[email protected]", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="],
+ "@svgr/babel-plugin-add-jsx-attribute": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-b9MIk7yhdS1pMCZM8VeNfUlSKVRhsHZNMl5O9SfaX0l0t5wjdgu4IDzGB8bpnGBBOjGST3rRFVsaaEtI4W6f7g=="],
+
+ "@svgr/babel-plugin-remove-jsx-attribute": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-BcCkm/STipKvbCl6b7QFrMh/vx00vIP63k2eM66MfHJzPr6O2U0jYEViXkHJWqXqQYjdeA9cuCl5KWmlwjDvbA=="],
+
+ "@svgr/babel-plugin-remove-jsx-empty-expression": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-5BcGCBfBxB5+XSDSWnhTThfI9jcO5f0Ai2V24gZpG+wXF14BzwxxdDb4g6trdOux0rhibGs385BeFMSmxtS3uA=="],
+
+ "@svgr/babel-plugin-replace-jsx-attribute-value": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-KVQ+PtIjb1BuYT3ht8M5KbzWBhdAjjUPdlMtpuw/VjT8coTrItWX6Qafl9+ji831JaJcu6PJNKCV0bp01lBNzQ=="],
+
+ "@svgr/babel-plugin-svg-dynamic-title": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-omNiKqwjNmOQJ2v6ge4SErBbkooV2aAWwaPFs2vUY7p7GhVkzRkJ00kILXQvRhA6miHnNpXv7MRnnSjdRjK8og=="],
+
+ "@svgr/babel-plugin-svg-em-dimensions": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-mURHYnu6Iw3UBTbhGwE/vsngtCIbHE43xCRK7kCw4t01xyGqb2Pd+WXekRRoFOBIY29ZoOhUCTEweDMdrjfi9g=="],
+
+ "@svgr/babel-plugin-transform-react-native-svg": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-Tx8T58CHo+7nwJ+EhUwx3LfdNSG9R2OKfaIXXs5soiy5HtgoAEkDay9LIimLOcG8dJQH1wPZp/cnAv6S9CrR1Q=="],
+
+ "@svgr/babel-plugin-transform-svg-component": ["@svgr/[email protected]", "", { "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-DFx8xa3cZXTdb/k3kfPeaixecQLgKh5NVBMwD0AQxOzcZawK4oo1Jh9LbrcACUivsCA7TLG8eeWgrDXjTMhRmw=="],
+
+ "@svgr/babel-preset": ["@svgr/[email protected]", "", { "dependencies": { "@svgr/babel-plugin-add-jsx-attribute": "8.0.0", "@svgr/babel-plugin-remove-jsx-attribute": "8.0.0", "@svgr/babel-plugin-remove-jsx-empty-expression": "8.0.0", "@svgr/babel-plugin-replace-jsx-attribute-value": "8.0.0", "@svgr/babel-plugin-svg-dynamic-title": "8.0.0", "@svgr/babel-plugin-svg-em-dimensions": "8.0.0", "@svgr/babel-plugin-transform-react-native-svg": "8.1.0", "@svgr/babel-plugin-transform-svg-component": "8.0.0" }, "peerDependencies": { "@babel/core": "^7.0.0-0" } }, "sha512-7EYDbHE7MxHpv4sxvnVPngw5fuR6pw79SkcrILHJ/iMpuKySNCl5W1qcwPEpU+LgyRXOaAFgH0KhwD18wwg6ug=="],
+
+ "@svgr/core": ["@svgr/[email protected]", "", { "dependencies": { "@babel/core": "^7.21.3", "@svgr/babel-preset": "8.1.0", "camelcase": "^6.2.0", "cosmiconfig": "^8.1.3", "snake-case": "^3.0.4" } }, "sha512-8QqtOQT5ACVlmsvKOJNEaWmRPmcojMOzCz4Hs2BGG/toAp/K38LcsMRyLp349glq5AzJbCEeimEoxaX6v/fLrA=="],
+
+ "@svgr/hast-util-to-babel-ast": ["@svgr/[email protected]", "", { "dependencies": { "@babel/types": "^7.21.3", "entities": "^4.4.0" } }, "sha512-EbDKwO9GpfWP4jN9sGdYwPBU0kdomaPIL2Eu4YwmgP+sJeXT+L7bMwJUBnhzfH8Q2qMBqZ4fJwpCyYsAN3mt2Q=="],
+
+ "@svgr/plugin-jsx": ["@svgr/[email protected]", "", { "dependencies": { "@babel/core": "^7.21.3", "@svgr/babel-preset": "8.1.0", "@svgr/hast-util-to-babel-ast": "8.0.0", "svg-parser": "^2.0.4" }, "peerDependencies": { "@svgr/core": "*" } }, "sha512-0xiIyBsLlr8quN+WyuxooNW9RJ0Dpr8uOnH/xrCVO8GLUcwHISwj1AG0k+LFzteTkAA0GbX0kj9q6Dk70PTiPA=="],
+
"@swc/helpers": ["@swc/[email protected]", "", { "dependencies": { "tslib": "^2.8.0" } }, "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g=="],
"@tailwindcss/node": ["@tailwindcss/[email protected]", "", { "dependencies": { "@jridgewell/remapping": "^2.3.5", "enhanced-resolve": "^5.19.0", "jiti": "^2.6.1", "lightningcss": "1.32.0", "magic-string": "^0.30.21", "source-map-js": "^1.2.1", "tailwindcss": "4.2.2" } }, "sha512-pXS+wJ2gZpVXqFaUEjojq7jzMpTGf8rU6ipJz5ovJV6PUGmlJ+jvIwGrzdHdQ80Sg+wmQxUFuoW1UAAwHNEdFA=="],
@@ -736,6 +767,8 @@
"callsites": ["[email protected]", "", {}, "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ=="],
+ "camelcase": ["[email protected]", "", {}, "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA=="],
+
"caniuse-lite": ["[email protected]", "", {}, "sha512-4oxTZEvqmLLrERwxO76yfKM7acZo310U+v4kqexI2TL1DkkUEMT8UijrxxcnVdxR3qkVf5awGRX+4Z6aPHVKrA=="],
"ccount": ["[email protected]", "", {}, "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg=="],
@@ -830,7 +863,9 @@
"diff": ["[email protected]", "", {}, "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw=="],
- "dotenv": ["[email protected]", "", {}, "sha512-k8DaKGP6r1G30Lx8V4+pCsLzKr8vLmV2paqEj1Y55GdAgJuIqpRp5FfajGF8KtwMxCz9qJc6wUIJnm053d/WCw=="],
+ "dot-case": ["[email protected]", "", { "dependencies": { "no-case": "^3.0.4", "tslib": "^2.0.3" } }, "sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w=="],
+
+ "dotenv": ["[email protected]", "", {}, "sha512-IO8C/dzEb6O3F9/twg6ZLXz164a2fhTnEWb95H23Dm4OuN+92NmEAlTrupP9VW6Jm3sO26tQlqyvyi4CsnY9GA=="],
"dunder-proto": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.1", "es-errors": "^1.3.0", "gopd": "^1.2.0" } }, "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A=="],
@@ -846,7 +881,7 @@
"enhanced-resolve": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.0" } }, "sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA=="],
- "entities": ["[email protected]", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
+ "entities": ["[email protected]", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
"env-paths": ["[email protected]", "", {}, "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A=="],
@@ -1044,7 +1079,7 @@
"is-decimal": ["[email protected]", "", {}, "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A=="],
- "is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ=="],
+ "is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="],
"is-extglob": ["[email protected]", "", {}, "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="],
@@ -1072,7 +1107,7 @@
"is-unicode-supported": ["[email protected]", "", {}, "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ=="],
- "is-wsl": ["[email protected]", "", { "dependencies": { "is-inside-container": "^1.0.0" } }, "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw=="],
+ "is-wsl": ["[email protected]", "", { "dependencies": { "is-docker": "^2.0.0" } }, "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww=="],
"isexe": ["[email protected]", "", {}, "sha512-6B3tLtFqtQS4ekarvLVMZ+X+VlvQekbe4taUkf/rhVO3d/h0M2rfARm/pXLcPEsjjMsFgrFgSrhQIxcSVrBz8w=="],
@@ -1100,6 +1135,8 @@
"jsonfile": ["[email protected]", "", { "dependencies": { "universalify": "^2.0.0" }, "optionalDependencies": { "graceful-fs": "^4.1.6" } }, "sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg=="],
+ "kiwi-schema": ["[email protected]", "", { "bin": { "kiwic": "cli.js" } }, "sha512-X+FpfU0yTEtc6aTHS7VwbOpvQwRt70+pXXWRI5fd6CvWhe7pSVC854TVo4Zo0x5/wwcWj+/9KUlXpdcP0dY9AA=="],
+
"kleur": ["[email protected]", "", {}, "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ=="],
"lightningcss": ["[email protected]", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-android-arm64": "1.32.0", "lightningcss-darwin-arm64": "1.32.0", "lightningcss-darwin-x64": "1.32.0", "lightningcss-freebsd-x64": "1.32.0", "lightningcss-linux-arm-gnueabihf": "1.32.0", "lightningcss-linux-arm64-gnu": "1.32.0", "lightningcss-linux-arm64-musl": "1.32.0", "lightningcss-linux-x64-gnu": "1.32.0", "lightningcss-linux-x64-musl": "1.32.0", "lightningcss-win32-arm64-msvc": "1.32.0", "lightningcss-win32-x64-msvc": "1.32.0" } }, "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ=="],
@@ -1134,7 +1171,9 @@
"longest-streak": ["[email protected]", "", {}, "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g=="],
- "lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],
+ "lower-case": ["[email protected]", "", { "dependencies": { "tslib": "^2.0.3" } }, "sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg=="],
+
+ "lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA=="],
"lucide-react": ["[email protected]", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-yI7BeItCLZJTXikmK4KNUGCKoGzSvbKlfCvw44bU4fXAL6v3gYS4uHD1jzsLkfwODYwI6Drw5Tu9Z5ulDe0TSg=="],
@@ -1272,7 +1311,7 @@
"minimatch": ["[email protected]", "", { "dependencies": { "brace-expansion": "^5.0.5" } }, "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg=="],
- "minimist": ["[email protected]", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],
+ "minimist": ["[email protected]", "", {}, "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="],
"mitt": ["[email protected]", "", {}, "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="],
@@ -1294,6 +1333,8 @@
"next-themes": ["[email protected]", "", { "peerDependencies": { "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" } }, "sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA=="],
+ "no-case": ["[email protected]", "", { "dependencies": { "lower-case": "^2.0.2", "tslib": "^2.0.3" } }, "sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg=="],
+
"node-domexception": ["[email protected]", "", {}, "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ=="],
"node-fetch": ["[email protected]", "", { "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", "formdata-polyfill": "^4.0.10" } }, "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA=="],
@@ -1350,6 +1391,8 @@
"path-to-regexp": ["[email protected]", "", {}, "sha512-qRcuIdP69NPm4qbACK+aDogI5CBDMi1jKe0ry5rSQJz8JVLsC7jV8XpiJjGRLLol3N+R5ihGYcrPLTno6pAdBA=="],
+ "path-type": ["[email protected]", "", {}, "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="],
+
"picocolors": ["[email protected]", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="],
"picomatch": ["[email protected]", "", {}, "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A=="],
@@ -1372,6 +1415,8 @@
"powershell-utils": ["[email protected]", "", {}, "sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A=="],
+ "prettier": ["[email protected]", "", { "bin": { "prettier": "bin/prettier.cjs" } }, "sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg=="],
+
"pretty-ms": ["[email protected]", "", { "dependencies": { "parse-ms": "^4.0.0" } }, "sha512-gjVS5hOP+M3wMm5nmNOucbIrqudzs9v/57bWRHQWLYklXqoXKrVfYW2W9+glfGsqtPgpiz5WwyEEB+ksXIx3gQ=="],
"prompts": ["[email protected]", "", { "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" } }, "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q=="],
@@ -1474,7 +1519,7 @@
"scroll-into-view-if-needed": ["[email protected]", "", { "dependencies": { "compute-scroll-into-view": "^3.0.2" } }, "sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ=="],
- "semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
+ "semver": ["[email protected]", "", { "dependencies": { "lru-cache": "^6.0.0" }, "bin": { "semver": "bin/semver.js" } }, "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ=="],
"send": ["[email protected]", "", { "dependencies": { "debug": "^4.4.3", "encodeurl": "^2.0.0", "escape-html": "^1.0.3", "etag": "^1.8.1", "fresh": "^2.0.0", "http-errors": "^2.0.1", "mime-types": "^3.0.2", "ms": "^2.1.3", "on-finished": "^2.4.1", "range-parser": "^1.2.1", "statuses": "^2.0.2" } }, "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ=="],
@@ -1506,6 +1551,8 @@
"sisteransi": ["[email protected]", "", {}, "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="],
+ "snake-case": ["[email protected]", "", { "dependencies": { "dot-case": "^3.0.4", "tslib": "^2.0.3" } }, "sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg=="],
+
"sonner": ["[email protected]", "", { "peerDependencies": { "react": "^18.0.0 || ^19.0.0 || ^19.0.0-rc", "react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-rc" } }, "sha512-W6ZN4p58k8aDKA4XPcx2hpIQXBRAgyiWVkYhT7CvK6D3iAu7xjvVyhQHg2/iaKJZ1XVJ4r7XuwGL+WGEK37i9w=="],
"source-map": ["[email protected]", "", {}, "sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ=="],
@@ -1544,6 +1591,8 @@
"supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q=="],
+ "svg-parser": ["[email protected]", "", {}, "sha512-bwLf38YmY+TDYHJw1Ex0Co8c4yeXuJAo8YnXGZrscxrvYoVVIvLeniEkV1Ks/54VteMnL4FtyN1+P+TZJdUPmQ=="],
+
"tabbable": ["[email protected]", "", {}, "sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg=="],
"tailwind-merge": ["[email protected]", "", {}, "sha512-I8K9wewnVDkL1NTGoqWmVEIlUcB9gFriAEkXkfCjX5ib8ezGxtR3xD7iZIxrfArjEsH7F1CHD4RFUtxefdqV/A=="],
@@ -1564,6 +1613,8 @@
"tinyglobby": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="],
+ "to-fast-properties": ["[email protected]", "", {}, "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog=="],
+
"to-regex-range": ["[email protected]", "", { "dependencies": { "is-number": "^7.0.0" } }, "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="],
"toidentifier": ["[email protected]", "", {}, "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="],
@@ -1648,7 +1699,7 @@
"wsl-utils": ["[email protected]", "", { "dependencies": { "is-wsl": "^3.1.0", "powershell-utils": "^0.1.0" } }, "sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg=="],
- "yallist": ["[email protected]", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
+ "yallist": ["[email protected]", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="],
"yocto-queue": ["[email protected]", "", {}, "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ=="],
@@ -1662,8 +1713,46 @@
"zwitch": ["[email protected]", "", {}, "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A=="],
+ "@babel/core/@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="],
+
+ "@babel/core/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/core/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
+
+ "@babel/generator/@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="],
+
+ "@babel/generator/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/helper-annotate-as-pure/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/helper-compilation-targets/lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^3.0.2" } }, "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w=="],
+
+ "@babel/helper-compilation-targets/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
+
+ "@babel/helper-create-class-features-plugin/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA=="],
+
+ "@babel/helper-member-expression-to-functions/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/helper-module-imports/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/helper-optimise-call-expression/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/helper-skip-transparent-expression-wrappers/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/helpers/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/template/@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="],
+
+ "@babel/template/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
+ "@babel/traverse/@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="],
+
+ "@babel/traverse/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
"@dotenvx/dotenvx/commander": ["[email protected]", "", {}, "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ=="],
+ "@dotenvx/dotenvx/dotenv": ["[email protected]", "", {}, "sha512-k8DaKGP6r1G30Lx8V4+pCsLzKr8vLmV2paqEj1Y55GdAgJuIqpRp5FfajGF8KtwMxCz9qJc6wUIJnm053d/WCw=="],
+
"@dotenvx/dotenvx/execa": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="],
"@mdx-js/mdx/source-map": ["[email protected]", "", {}, "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ=="],
@@ -1684,10 +1773,16 @@
"@remotion/studio/open": ["[email protected]", "", { "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", "is-wsl": "^2.2.0" } }, "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ=="],
- "@remotion/studio/semver": ["[email protected]", "", { "dependencies": { "lru-cache": "^6.0.0" }, "bin": { "semver": "bin/semver.js" } }, "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ=="],
-
"@remotion/studio/zod": ["[email protected]", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="],
+ "@remotion/studio-server/open": ["[email protected]", "", { "dependencies": { "define-lazy-prop": "^2.0.0", "is-docker": "^2.1.1", "is-wsl": "^2.2.0" } }, "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ=="],
+
+ "@remotion/studio-server/zod": ["[email protected]", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="],
+
+ "@svgr/core/cosmiconfig": ["[email protected]", "", { "dependencies": { "import-fresh": "^3.3.0", "js-yaml": "^4.1.0", "parse-json": "^5.2.0", "path-type": "^4.0.0" }, "peerDependencies": { "typescript": ">=4.9.5" }, "optionalPeers": ["typescript"] }, "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA=="],
+
+ "@svgr/hast-util-to-babel-ast/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
+
"@tailwindcss/oxide-wasm32-wasi/@emnapi/core": ["@emnapi/[email protected]", "", { "dependencies": { "@emnapi/wasi-threads": "1.2.1", "tslib": "^2.4.0" }, "bundled": true }, "sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA=="],
"@tailwindcss/oxide-wasm32-wasi/@emnapi/runtime": ["@emnapi/[email protected]", "", { "dependencies": { "tslib": "^2.4.0" }, "bundled": true }, "sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw=="],
@@ -1716,6 +1811,8 @@
"fumadocs-ui/motion": ["[email protected]", "", { "dependencies": { "framer-motion": "^12.38.0", "tslib": "^2.4.0" }, "peerDependencies": { "@emotion/is-prop-valid": "*", "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "optionalPeers": ["@emotion/is-prop-valid", "react", "react-dom"] }, "sha512-uYfXzeHlgThchzwz5Te47dlv5JOUC7OB4rjJ/7XTUgtBZD8CchMN8qEJ4ZVsUmTyYA44zjV0fBwsiktRuFnn+w=="],
+ "is-inside-container/is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ=="],
+
"log-symbols/is-unicode-supported": ["[email protected]", "", {}, "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ=="],
"micromatch/picomatch": ["[email protected]", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="],
@@ -1728,6 +1825,8 @@
"parse-entities/@types/unist": ["@types/[email protected]", "", {}, "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA=="],
+ "parse5/entities": ["[email protected]", "", {}, "sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g=="],
+
"prompts/kleur": ["[email protected]", "", {}, "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="],
"recast/source-map": ["[email protected]", "", {}, "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="],
@@ -1738,6 +1837,8 @@
"send/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],
+ "shadcn/@babel/parser": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.29.0" }, "bin": "./bin/babel-parser.js" }, "sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA=="],
+
"shadcn/zod": ["[email protected]", "", {}, "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ=="],
"sharp/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],
@@ -1746,8 +1847,14 @@
"terser/commander": ["[email protected]", "", {}, "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="],
+ "tsconfig-paths/minimist": ["[email protected]", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],
+
"type-is/mime-types": ["[email protected]", "", { "dependencies": { "mime-db": "^1.54.0" } }, "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A=="],
+ "wsl-utils/is-wsl": ["[email protected]", "", { "dependencies": { "is-inside-container": "^1.0.0" } }, "sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw=="],
+
+ "@babel/helper-compilation-targets/lru-cache/yallist": ["[email protected]", "", {}, "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g=="],
+
"@dotenvx/dotenvx/execa/get-stream": ["[email protected]", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="],
"@dotenvx/dotenvx/execa/human-signals": ["[email protected]", "", {}, "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="],
@@ -1772,13 +1879,9 @@
"@remotion/renderer/execa/strip-final-newline": ["[email protected]", "", {}, "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="],
- "@remotion/studio/open/define-lazy-prop": ["[email protected]", "", {}, "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og=="],
-
- "@remotion/studio/open/is-docker": ["[email protected]", "", { "bin": { "is-docker": "cli.js" } }, "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="],
-
- "@remotion/studio/open/is-wsl": ["[email protected]", "", { "dependencies": { "is-docker": "^2.0.0" } }, "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww=="],
+ "@remotion/studio-server/open/define-lazy-prop": ["[email protected]", "", {}, "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og=="],
- "@remotion/studio/semver/lru-cache": ["[email protected]", "", { "dependencies": { "yallist": "^4.0.0" } }, "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA=="],
+ "@remotion/studio/open/define-lazy-prop": ["[email protected]", "", {}, "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og=="],
"accepts/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
@@ -1844,9 +1947,9 @@
"send/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
- "type-is/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
+ "shadcn/@babel/parser/@babel/types": ["@babel/[email protected]", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A=="],
- "@remotion/studio/semver/lru-cache/yallist": ["[email protected]", "", {}, "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="],
+ "type-is/mime-types/mime-db": ["[email protected]", "", {}, "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ=="],
"fumadocs-ui/motion/framer-motion/motion-dom": ["[email protected]", "", { "dependencies": { "motion-utils": "^12.36.0" } }, "sha512-pdkHLD8QYRp8VfiNLb8xIBJis1byQ9gPT3Jnh2jqfFtAsWUA3dEepDlsWe/xMpO8McV+VdpKVcp+E+TGJEtOoA=="],
diff --git a/config/site.ts b/config/site.ts
index df8c3ff2..641af81b 100644
--- a/config/site.ts
+++ b/config/site.ts
@@ -64,13 +64,20 @@ export const NAV_LINKS: NavLink[] = [
* tag another menu item — no component changes needed. See `withNewBadges`.
*/
export const NEW_BADGE_PATHS = new Set<string>([
- "/docs/typography/kinetic-warp",
- "/docs/transitions/lens-zoom",
- "/docs/typography/gooey-morph",
- "/docs/typography/perspective-squeeze",
- "/docs/typography/extrude-pop",
- "/docs/typography/chromatic-wave",
- "/docs/typography/stretch-in",
+ "/docs/layout/stage",
+ "/docs/typography/caret-swap",
+ "/docs/typography/centered-word-build",
+ "/docs/typography/fog-rise",
+ "/docs/typography/gradient-scale-cut-text",
+ "/docs/typography/inline-pill-takeover",
+ "/docs/typography/outline-fill-track-text",
+ "/docs/typography/shadow-sweep-text",
+ "/docs/typography/sheen-slide-in",
+ "/docs/typography/squeeze-in",
+ "/docs/typography/typed-split-wipe",
+ "/docs/typography/word-push",
+ "/docs/typography/word-stream",
+ "/docs/typography/zoom-words",
]);
export type FooterGroup = {
diff --git a/content/changelog/2026-08-25-saas-typography.mdx b/content/changelog/2026-08-25-saas-typography.mdx
new file mode 100644
index 00000000..64f2565f
--- /dev/null
+++ b/content/changelog/2026-08-25-saas-typography.mdx
@@ -0,0 +1,22 @@
+---
+title: SaaS typography collection
+date: 2026-08-25
+---
+
+### New components
+
+- [Word Stream](/docs/typography/word-stream) builds narration-paced phrases with blurred previews of the next word.
+- [Word Push](/docs/typography/word-push) drives new words into a phrase while easing the line toward its new center.
+- [Sheen Slide In](/docs/typography/sheen-slide-in) settles a title from the right while a restrained highlight crosses the glyphs.
+- [Squeeze In](/docs/typography/squeeze-in) reveals a word before compressing its tracking in one coordinated move.
+- [Fog Rise](/docs/typography/fog-rise) stands text upright through perspective, blur, and a center-out reveal.
+- [Caret Swap](/docs/typography/caret-swap) consumes one phrase with a caret block and types the replacement.
+- [Zoom Words](/docs/typography/zoom-words) tracks a growing line at close range while the shot pulls into focus.
+- [Centered Word Build](/docs/typography/centered-word-build) snaps words into view from below while the centered phrase pushes closer on every beat, then wipes away from left to right.
+- [Inline Pill Takeover](/docs/typography/inline-pill-takeover) expands an inline CTA to push a sentence apart, blur it away, and take over the frame through a fast camera punch-in.
+- [Typed Split Wipe](/docs/typography/typed-split-wipe) types a centered introduction, holds it, then erases fixed segments in opposing directions without reflow.
+- [Shadow Sweep Text](/docs/typography/shadow-sweep-text) moves a line up and left while two dense dark shadows uncover it and then sweep it away.
+- [Outline Fill Track Text](/docs/typography/outline-fill-track-text) carries a rising lead word into an outlined value that fills from left to right on the same moving track.
+- [Gradient Scale Cut Text](/docs/typography/gradient-scale-cut-text) reveals an oversized gradient title before snapping to a compact blurred layer that settles into focus.
+
+<ChangelogPreview name="gradient-scale-cut-text" />
diff --git a/content/docs/typography/caret-swap.mdx b/content/docs/typography/caret-swap.mdx
new file mode 100644
index 00000000..23e599b3
--- /dev/null
+++ b/content/docs/typography/caret-swap.mdx
@@ -0,0 +1,149 @@
+---
+title: Caret Swap
+description: A gradient caret expands into a block that consumes the first text, then types the second
+component: caret-swap
+vibe: tech
+length: 67
+useWhen:
+ - "One phrase should be replaced by another through a caret gesture: the cursor swells into a block that eats the old text, collapses back and types the new one."
+ - "You want a typewriter beat mid-scene without clearing to an empty frame — the swap carries the eye through the whole replace."
+ - "The gradient caret should read as a character of its own, matching editor or AI-tool aesthetics."
+avoidWhen:
+ - "You only need one phrase typed from empty — use `typewriter`."
+ - "The swap should happen word by word rather than through a caret block — use `word-stream` or `value-swap`."
+ - "You need a full-frame scene transition driven by a caret — use the `caret-wipe` transition."
+---
+
+<ComponentPreview name="caret-swap" />
+
+## Installation
+
+<InstallBlock name="caret-swap" />
+
+## Usage
+
+The first text sits still until `swapAt`. Seven frames earlier the caret pops in after the last character; at `swapAt` it swells leftward into a full block with a sharp acceleration, consuming the text right to left in six frames. The block then dissolves its gradient tail to the right — the left edge holds still and what remains is the caret line at the start of the row. After a beat it types the second text — `typeSpeed` frames for the first character with every following gap shrinking, one accelerando to the finish — growing rightward from the anchor while drifting left to end centered. After the last character the caret blinks. All timings measured frame-by-frame from the reference footage.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { CaretSwap } from "@/components/remocn/caret-swap";
+
+const CaretSwapScene = () => (
+ <CaretSwap
+ fromText="Executing it?"
+ toText="That's where everyone quits"
+ />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="CaretSwap"
+ component={CaretSwapScene}
+ durationInFrames={100}
+ 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.
+
+```tsx
+import { Composition } from "remotion";
+import { CaretSwap } from "@/components/remocn/caret-swap";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const CaretSwapScene = () => (
+ <Backdrop fill={{ type: "color", value: "#fdf6f0" }}>
+ <CaretSwap
+ fromText="Executing it?"
+ toText="That's where everyone quits"
+ />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="CaretSwap"
+ component={CaretSwapScene}
+ durationInFrames={100}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Syncing
+
+The exported `caretSwapLength(toText, swapAt, typeSpeed)` helper returns the frame on which the last character lands — use it as the lower bound of the `Sequence`, plus whatever hold you want for the blinking caret.
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "fromText",
+ type: "string",
+ required: true,
+ description: "The phrase shown first and consumed by the caret block",
+ },
+ {
+ name: "toText",
+ type: "string",
+ required: true,
+ description: "The phrase typed out after the swap",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "72",
+ description: "Font size in pixels; caret and block scale with it",
+ },
+ {
+ name: "swapAt",
+ type: "number",
+ default: "20",
+ description: "Frame at which the caret starts expanding into the block; the caret itself appears seven frames earlier",
+ },
+ {
+ name: "typeSpeed",
+ type: "number",
+ default: "1",
+ description: "Frames for the first typed character; every next gap shrinks by a fixed ratio so the typing accelerates toward the end",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#171717\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "caretColor",
+ type: "string",
+ default: "\"#FF4DAA\"",
+ description: "Top color of the caret gradient",
+ },
+ {
+ name: "caretColorEnd",
+ type: "string",
+ default: "\"#8A5CF6\"",
+ description: "Bottom color of the caret gradient",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/centered-word-build.mdx b/content/docs/typography/centered-word-build.mdx
new file mode 100644
index 00000000..6c885a0d
--- /dev/null
+++ b/content/docs/typography/centered-word-build.mdx
@@ -0,0 +1,167 @@
+---
+title: Centered Word Build
+description: Words appear sharply from below while the centered phrase pushes closer on every beat
+component: centered-word-build
+vibe: clean
+length: 63
+useWhen:
+ - "A short statement should assemble one word at a time while every visible prefix stays centered and pushes closer."
+ - "You want beat-synced typography where words appear sharply but still travel up into place."
+ - "The completed line should leave through a soft left-to-right opacity wipe."
+avoidWhen:
+ - "Each new word should physically drive the existing line aside — use `word-push`."
+ - "Words should replace one another in the same fixed slot — use `per-word-crossfade`."
+ - "You need character-by-character input with a caret — use `typewriter`."
+---
+
+<ComponentPreview name="centered-word-build" />
+
+## Installation
+
+<InstallBlock name="centered-word-build" />
+
+## Usage
+
+The visible prefix is laid out as one centered line. Each word becomes fully visible on a hard cut `rise` em below the baseline and settles upward over `settleFrames`; opacity is never animated. In the same frame, the whole phrase starts another cumulative `zoomStep` push-in and holds the closer scale until the next word. The first two word gaps establish the rhythm; later gaps are multiplied by `accel` to tighten the cadence. At `exitAt`, a broad opacity mask wipes through the completed phrase from left to right. All timings were measured frame-by-frame from the reference footage.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { CenteredWordBuild } from "@/components/remocn/centered-word-build";
+
+const CenteredWordBuildScene = () => (
+ <CenteredWordBuild text="everything we learn from" />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="CenteredWordBuild"
+ component={CenteredWordBuildScene}
+ durationInFrames={75}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### With Backdrop
+
+The component is transparent. Add the scene color separately with `Backdrop`; the reference pairs warm white text with an orange radial glow.
+
+```tsx
+import { Composition } from "remotion";
+import { CenteredWordBuild } from "@/components/remocn/centered-word-build";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const CenteredWordBuildScene = () => (
+ <Backdrop
+ fill={{
+ type: "gradient",
+ value:
+ "radial-gradient(circle at 50% 108%, #ffd77a 0%, #ff6840 31%, #f13d21 78%)",
+ }}
+ >
+ <CenteredWordBuild text="everything we learn from" />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="CenteredWordBuild"
+ component={CenteredWordBuildScene}
+ durationInFrames={75}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Syncing
+
+With the defaults, a four-word phrase reveals on frames 0, 11, 22, and 30, reaching cumulative scales of 1, 1.035, 1.07, and 1.105. The exported `centeredWordBuildLength(text, wordGap, accel, settleFrames, exitAt, exitFrames)` helper returns the frame on which all motion finishes.
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The phrase to build word by word",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "52",
+ description: "Font size in pixels",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#fff3df\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "wordGap",
+ type: "number",
+ default: "11",
+ description: "Frames between each of the first two word additions",
+ },
+ {
+ name: "accel",
+ type: "number",
+ default: "0.75",
+ description: "Multiplier applied to each later word gap; lower values accelerate more strongly",
+ },
+ {
+ name: "rise",
+ type: "number",
+ default: "0.18",
+ description: "Starting vertical offset of each new word in em",
+ },
+ {
+ name: "zoomStep",
+ type: "number",
+ default: "0.035",
+ description: "Cumulative scale added to the whole visible phrase after each new word",
+ },
+ {
+ name: "settleFrames",
+ type: "number",
+ default: "9",
+ description: "Frames used by the synchronized word rise and whole-phrase push-in",
+ },
+ {
+ name: "exitAt",
+ type: "number",
+ default: "51",
+ description: "Frame on which the left-to-right opacity wipe begins",
+ },
+ {
+ name: "exitFrames",
+ type: "number",
+ default: "12",
+ description: "Duration of the opacity wipe in frames",
+ },
+ {
+ name: "speed",
+ type: "number",
+ default: "1",
+ description: "Playback speed multiplier",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the text span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/fog-rise.mdx b/content/docs/typography/fog-rise.mdx
new file mode 100644
index 00000000..d24a14c8
--- /dev/null
+++ b/content/docs/typography/fog-rise.mdx
@@ -0,0 +1,202 @@
+---
+title: Fog Rise
+description: Display text resolves out of fog center-out, sharpening from heavy blur with vertical streaks
+component: fog-rise
+vibe: premium
+length: 27
+useWhen:
+ - "A big display word should materialize out of atmosphere — already at its size and position, resolving from heavy blur as if rising along the z-axis."
+ - "You want the center characters to resolve first and the edges to follow, each scaling up around its own centroid."
+ - "The scene has a foggy or gradient backdrop the text should feel physically embedded in."
+avoidWhen:
+ - "The whole line should sharpen at once without per-character order — use `focus-blur-resolve`."
+ - "Characters should travel up from below the baseline — use `per-character-rise` or `bottom-up-letters`."
+ - "You need a soft, small-scale heading entrance — use `soft-blur-in`; fog-rise is tuned for large display sizes."
+---
+
+<ComponentPreview name="fog-rise" />
+
+## Installation
+
+<InstallBlock name="fog-rise" />
+
+## Usage
+
+The word starts lying face-down — rotated back around its baseline inside a real CSS perspective — and is thrown upright by a configurable spring (mass, stiffness, damping), travelling up as it stands while each character dissolves in from translucent blur. Characters start slightly spread apart and pull together on the same spring. The choreography has three phases, matching the reference: the enter — spring stand-up, lift and blur dissolve; a slow perpetual `drift` upward so the word never freezes; and at `exitAt` the exit, accelerating the word upward with no fade, meant to be hard-cut by the next scene. The reveal order runs center-out via `stagger`. Motion profile measured frame-by-frame from the reference footage.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { FogRise } from "@/components/remocn/fog-rise";
+
+const FogRiseScene = () => <FogRise text="Remocn" />;
+
+export const RemotionRoot = () => (
+ <Composition
+ id="FogRise"
+ component={FogRiseScene}
+ durationInFrames={90}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### With Backdrop
+
+The component renders transparent — supply the background via `Backdrop`. The reference look pairs a light text color with a dark-to-blue vertical gradient so the word reads as embedded in fog.
+
+```tsx
+import { Composition } from "remotion";
+import { FogRise } from "@/components/remocn/fog-rise";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const FogRiseScene = () => (
+ <Backdrop
+ fill={{
+ type: "gradient",
+ value: "linear-gradient(180deg, #04070f 30%, #1e4f8f 100%)",
+ }}
+ >
+ <FogRise text="Remocn" color="#eaf2ff" />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="FogRise"
+ component={FogRiseScene}
+ durationInFrames={90}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The display text",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "304",
+ description: "Font size in pixels; blur, rise and streaks scale with it",
+ },
+ {
+ name: "stagger",
+ type: "number",
+ default: "5",
+ description: "Frames between each center-out ring of characters starting to resolve",
+ },
+ {
+ name: "blur",
+ type: "number",
+ default: "0.17",
+ description: "Starting blur of each character in em, dissolving linearly to sharp over resolveFrames",
+ },
+ {
+ name: "tilt",
+ type: "number",
+ default: "55",
+ description: "Starting rotateX in degrees — the word lies face-down at this angle and stands up to face the camera",
+ },
+ {
+ name: "depth",
+ type: "number",
+ default: "5",
+ description: "CSS perspective distance in multiples of fontSize; smaller is more dramatic foreshortening",
+ },
+ {
+ name: "lift",
+ type: "number",
+ default: "0.85",
+ description: "How far below its resting spot the word starts, in em — it travels up while standing up",
+ },
+ {
+ name: "drift",
+ type: "number",
+ default: "0.005",
+ description: "Slow upward crawl in em per frame between the enter settling and the exit — the word never freezes, matching the reference choreography",
+ },
+ {
+ name: "exitAt",
+ type: "number",
+ default: "60",
+ description: "Frame at which the exit starts: the word accelerates upward with no fade, meant to be hard-cut by the next scene. 0 disables the exit.",
+ },
+ {
+ name: "exitAccel",
+ type: "number",
+ default: "0.04",
+ description: "Upward exit acceleration in em per frame squared",
+ },
+ {
+ name: "mass",
+ type: "number",
+ default: "1.3",
+ description: "Spring mass of the stand-up motion — more mass, more inertia",
+ },
+ {
+ name: "stiffness",
+ type: "number",
+ default: "60",
+ description: "Spring force of the stand-up motion",
+ },
+ {
+ name: "damping",
+ type: "number",
+ default: "13",
+ description: "Spring damping — lower values overshoot with a visible bounce",
+ },
+ {
+ name: "spreadGap",
+ type: "number",
+ default: "0.07",
+ description: "Extra starting gap between characters in em, collapsing to zero as the word converges",
+ },
+ {
+ name: "tracking",
+ type: "number",
+ default: "-0.07",
+ description: "Resting letter-spacing in em",
+ },
+ {
+ name: "resolveFrames",
+ type: "number",
+ default: "22",
+ description: "Frames the blur dissolve takes; the stand-up motion itself is spring-driven",
+ },
+ {
+ name: "fadeFrames",
+ type: "number",
+ default: "18",
+ description: "Frames each character takes to fade in",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#004CFF\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/gradient-scale-cut-text.mdx b/content/docs/typography/gradient-scale-cut-text.mdx
new file mode 100644
index 00000000..97992207
--- /dev/null
+++ b/content/docs/typography/gradient-scale-cut-text.mdx
@@ -0,0 +1,178 @@
+---
+title: Gradient Scale Cut Text
+description: An oversized gradient reveal snaps to a compact blurred line that settles into focus
+component: gradient-scale-cut-text
+vibe: premium
+length: 36
+useWhen:
+ - "A title should begin at an imposing scale and resolve through a deliberately abrupt editorial cut."
+ - "A gradient reveal needs to continue coherently across two very different framings."
+ - "A compact product-introduction beat needs more force than a continuous scale-down animation."
+avoidWhen:
+ - "The scale change must feel continuous — use `scale-down-fade` or `zoom-words`."
+ - "The text should remain one size while a gradient passes over it — use `shimmer-sweep`."
+ - "The background must remain transparent because the unrevealed ghost relies on a black field."
+---
+
+<ComponentPreview name="gradient-scale-cut-text" />
+
+## Installation
+
+<InstallBlock name="gradient-scale-cut-text" />
+
+## Usage
+
+`GradientScaleCutText` begins with an oversized line moving left while a soft
+mask uncovers a fixed orange-to-white text gradient. On frame 13 it switches to
+a separate compact layer with no intermediate scale. That layer slides into its
+final position while clearing its blur, then remains fixed in both position and
+size as the same reveal continues across the remaining letters.
+At completion, the soft mask edge travels beyond the text box so the final
+letter is fully filled rather than left under the reveal fade.
+The text layers use a descender-safe line box, preventing letters such as `g`,
+`p`, and `y` from being clipped without moving the baseline.
+
+The two layers never crossfade. Their opacity stays constant, and a discrete
+visibility condition creates the scale cut between adjacent frames.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { GradientScaleCutText } from "@/components/remocn/gradient-scale-cut-text";
+
+const GradientScaleCutTextScene = () => (
+ <GradientScaleCutText text="Introducing" />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="GradientScaleCutText"
+ component={GradientScaleCutTextScene}
+ durationInFrames={36}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Tuning The Cut
+
+`cutFrame` changes the exact frame where the giant layer is replaced. The
+gradient reveal remains tied to the full component timeline, so it does not
+restart after the cut. `settleTravel` controls the compact entrance distance,
+`anchorOffsetX` sets its final position, and `compactBlur` controls focus.
+
+```tsx
+<GradientScaleCutText
+ text="Now shipping"
+ cutFrame={13}
+ giantTravel={400}
+ settleTravel={160}
+ compactBlur={12}
+ gradientStart="#f04a14"
+ gradientEnd="#f3f1f1"
+/>
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ default: '"Introducing"',
+ description: "Single-line text shared by both scale phases",
+ },
+ {
+ name: "giantFontSize",
+ type: "number",
+ default: "520",
+ description: "Font size before the hard cut",
+ },
+ {
+ name: "compactFontSize",
+ type: "number",
+ default: "132",
+ description: "Font size after the hard cut",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "700",
+ description: "Shared CSS font-weight",
+ },
+ {
+ name: "gradientStart",
+ type: "string",
+ default: '"#f04a14"',
+ description: "Color at the left edge of the revealed text",
+ },
+ {
+ name: "gradientEnd",
+ type: "string",
+ default: '"#f3f1f1"',
+ description: "Color across the right portion of the revealed text",
+ },
+ {
+ name: "ghostColor",
+ type: "string",
+ default: '"#170b0a"',
+ description: "Color of the text ahead of the reveal boundary",
+ },
+ {
+ name: "backgroundColor",
+ type: "string",
+ default: '"#000000"',
+ description: "Full-frame background color",
+ },
+ {
+ name: "anchorOffsetX",
+ type: "number",
+ default: "-16",
+ description: "Compact line offset from the frame center",
+ },
+ {
+ name: "giantTravel",
+ type: "number",
+ default: "400",
+ description: "Leftward travel before the cut",
+ },
+ {
+ name: "settleTravel",
+ type: "number",
+ default: "160",
+ description: "Compact entrance distance before it stops at the anchor",
+ },
+ {
+ name: "cutFrame",
+ type: "number",
+ default: "13",
+ description: "First frame that renders the compact layer",
+ },
+ {
+ name: "revealSoftness",
+ type: "number",
+ default: "14",
+ description: "Width of the soft mask boundary as a percentage of the text box",
+ },
+ {
+ name: "compactBlur",
+ type: "number",
+ default: "12",
+ description: "Starting blur after the cut in pixels",
+ },
+ {
+ name: "speed",
+ type: "number",
+ default: "1",
+ description: "Playback speed multiplier",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the full-frame root",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/inline-pill-takeover.mdx b/content/docs/typography/inline-pill-takeover.mdx
new file mode 100644
index 00000000..b3c5fda0
--- /dev/null
+++ b/content/docs/typography/inline-pill-takeover.mdx
@@ -0,0 +1,219 @@
+---
+title: Inline Pill Takeover
+description: A clipped pill expands inside a sentence, pushes the words apart, and takes over the frame
+component: inline-pill-takeover
+vibe: premium
+length: 30
+useWhen:
+ - "A sentence should transform an inline placeholder into a CTA without cutting to a separate title card."
+ - "You want the inserted label to physically push the surrounding copy apart before taking visual control."
+ - "A short beat needs both an inline reveal and a decisive camera punch-in."
+avoidWhen:
+ - "Only one phrase should change color without affecting layout — use `inline-highlight`."
+ - "The inserted copy should replace text rather than displace it — use `caret-swap`."
+ - "The camera should track a long growing line instead of one CTA — use `zoom-words`."
+---
+
+<ComponentPreview name="inline-pill-takeover" />
+
+## Installation
+
+<InstallBlock name="inline-pill-takeover" />
+
+## Usage
+
+The line starts with a short pill between `before` and `after`. Its first animation changes explicit background width and height values, so the shape expands outward from center without scaling its contents. The full-size `insert` text appears through a hard opacity switch and is cropped by `overflow: hidden` until the pill opens around it. When that reveal finishes, a second local pill animation increases the background width and height through independent controls without changing the text's local font size. An independent camera wrapper begins its approach at the same time, cuts instantly to 86% of its final close-up, then settles to 100%. The pill and camera therefore move toward one another, and the pill keeps growing briefly after the camera settles. All timings were measured frame-by-frame from the reference footage.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { InlinePillTakeover } from "@/components/remocn/inline-pill-takeover";
+
+const InlinePillTakeoverScene = () => (
+ <InlinePillTakeover
+ before="powering 20%"
+ insert="Start building"
+ after="of the Internet."
+ />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="InlinePillTakeover"
+ component={InlinePillTakeoverScene}
+ durationInFrames={45}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### With Backdrop
+
+The component paints no background. The reference pairs warm white type and pill with an orange radial glow.
+
+```tsx
+import { Composition } from "remotion";
+import { InlinePillTakeover } from "@/components/remocn/inline-pill-takeover";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const InlinePillTakeoverScene = () => (
+ <Backdrop
+ fill={{
+ type: "gradient",
+ value:
+ "radial-gradient(circle at 50% 108%, #ffd77a 0%, #ff6840 31%, #f13d21 78%)",
+ }}
+ >
+ <InlinePillTakeover
+ before="powering 20%"
+ insert="Start building"
+ after="of the Internet."
+ />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="InlinePillTakeover"
+ component={InlinePillTakeoverScene}
+ durationInFrames={45}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "before",
+ type: "string",
+ required: true,
+ description: "Text rendered before the expanding pill",
+ },
+ {
+ name: "insert",
+ type: "string",
+ required: true,
+ description: "Text centered inside the pill and revealed through its clip",
+ },
+ {
+ name: "after",
+ type: "string",
+ required: true,
+ description: "Text rendered after the expanding pill",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "52",
+ description: "Base font size in pixels",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight shared by the sentence and pill",
+ },
+ {
+ name: "pillWidth",
+ type: "number",
+ default: "260",
+ description: "Expanded pill width in pixels; tune this when changing insert text",
+ },
+ {
+ name: "expandFrames",
+ type: "number",
+ default: "12",
+ description: "Frames used for the initial width-and-height reveal",
+ },
+ {
+ name: "pillRevealHeightScale",
+ type: "number",
+ default: "0.35",
+ description: "Starting height as a fraction of the full pill height",
+ },
+ {
+ name: "pillGrowAt",
+ type: "number",
+ default: "12",
+ description: "Frame on which the local width-and-height growth begins",
+ },
+ {
+ name: "pillGrowFrames",
+ type: "number",
+ default: "24",
+ description: "Frames used for the local width-and-height growth",
+ },
+ {
+ name: "pillGrowWidthScale",
+ type: "number",
+ default: "1.08",
+ description: "Final local scale applied only to the pill width",
+ },
+ {
+ name: "pillGrowHeightScale",
+ type: "number",
+ default: "1.16",
+ description: "Final local scale applied only to the pill height",
+ },
+ {
+ name: "outerExitFrames",
+ type: "number",
+ default: "18",
+ description: "Frames used to blur and remove the outer copy",
+ },
+ {
+ name: "takeoverAt",
+ type: "number",
+ default: "12",
+ description: "Frame on which the camera approach begins",
+ },
+ {
+ name: "takeoverScale",
+ type: "number",
+ default: "2.15",
+ description: "Final scale held after the takeover settles",
+ },
+ {
+ name: "blur",
+ type: "number",
+ default: "12",
+ description: "Maximum blur applied to the disappearing outer text in pixels",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#fff3df\"",
+ description: "Outer text color",
+ },
+ {
+ name: "pillColor",
+ type: "string",
+ default: "\"#fffaf0\"",
+ description: "Pill background color",
+ },
+ {
+ name: "pillTextColor",
+ type: "string",
+ default: "\"#1c1210\"",
+ description: "Pill text color",
+ },
+ {
+ name: "speed",
+ type: "number",
+ default: "1",
+ description: "Playback speed multiplier",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the component root",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/meta.json b/content/docs/typography/meta.json
index 796024ec..be2ce757 100644
--- a/content/docs/typography/meta.json
+++ b/content/docs/typography/meta.json
@@ -14,6 +14,19 @@
"focus-blur-resolve",
"line-by-line-slide",
"per-word-crossfade",
+ "word-stream",
+ "word-push",
+ "sheen-slide-in",
+ "squeeze-in",
+ "fog-rise",
+ "caret-swap",
+ "zoom-words",
+ "centered-word-build",
+ "inline-pill-takeover",
+ "typed-split-wipe",
+ "shadow-sweep-text",
+ "outline-fill-track-text",
+ "gradient-scale-cut-text",
"fade-through",
"shared-axis-y",
"shared-axis-z",
diff --git a/content/docs/typography/outline-fill-track-text.mdx b/content/docs/typography/outline-fill-track-text.mdx
new file mode 100644
index 00000000..081f2b1b
--- /dev/null
+++ b/content/docs/typography/outline-fill-track-text.mdx
@@ -0,0 +1,192 @@
+---
+title: Outline Fill Track Text
+description: A rising lead word gives way to an outlined value that fills as one continuous track moves left
+component: outline-fill-track-text
+vibe: premium
+length: 80
+useWhen:
+ - "A statement should hand focus from a lead word to a large numeric value in one continuous move."
+ - "An outlined percentage or metric should progressively gain visual weight without fading."
+ - "A dark title beat needs a soft atmospheric entrance followed by a precise graphic fill."
+avoidWhen:
+ - "The two texts should swap in place — use `value-swap` for a compact replacement."
+ - "The value needs to count numerically — use `rolling-number` or `number-wheel`."
+ - "The background must remain transparent because the entrance field is part of this effect."
+---
+
+<ComponentPreview name="outline-fill-track-text" />
+
+## Installation
+
+<InstallBlock name="outline-fill-track-text" />
+
+## Usage
+
+`OutlineFillTrackText` places the lead and value on one measured horizontal
+track. The lead rises through a soft violet-black field, holds briefly, then
+the whole track travels left. The value enters as a thin outline while a
+separate filled duplicate is uncovered from left to right. Neither text layer
+animates its opacity.
+
+The track begins moving slowly as the lead settles. At frame 34 the value is
+cut into view with the fill already crossing the `1`, matching the abrupt handoff
+in the reference instead of exposing a stray piece of outline at the frame edge.
+
+The default 80-frame cycle ends on the large filled value. It deliberately does
+not include an exit, so the result can hold for the remainder of a scene or cut
+directly into the next composition.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { OutlineFillTrackText } from "@/components/remocn/outline-fill-track-text";
+
+const OutlineFillTrackTextScene = () => (
+ <OutlineFillTrackText leadText="Keep" valueText="100%" />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="OutlineFillTrackText"
+ component={OutlineFillTrackTextScene}
+ durationInFrames={80}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Controlling The Track
+
+With `trackDistance={0}`, the component measures both strings and derives the
+distance between their centers. `wordGap` controls the actual empty space
+between their glyph boxes. A value that fits the composition stops on the
+measured anchor. When it is wider than the available frame, the component adds
+the exact overflow to the camera travel and leaves its trailing edge at
+`endPadding` instead of stopping in the middle of the string.
+
+Set a positive `trackDistance` to override the center-to-center distance. The
+long-value overflow is still applied, so the camera continues through the final
+visible glyphs. The track uses a symmetric ease-in-out curve: it accelerates
+from rest, carries speed through the middle, and decelerates into the hold.
+
+```tsx
+<OutlineFillTrackText
+ leadText="Save"
+ valueText="42%"
+ wordGap={180}
+ endPadding={96}
+ outlineWidth={3}
+ fillDuration={38}
+ glowColor="#64109a"
+/>
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "leadText",
+ type: "string",
+ default: '"Keep"',
+ description: "Lead copy shown at the beginning of the track",
+ },
+ {
+ name: "valueText",
+ type: "string",
+ default: '"1000000000%"',
+ description: "Outlined value that becomes the final filled text",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "368",
+ description: "Shared font size in pixels",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "700",
+ description: "Shared CSS font-weight",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: '"#f4f3f6"',
+ description: "Lead and value fill color",
+ },
+ {
+ name: "outlineColor",
+ type: "string",
+ default: '"#e6e2ed"',
+ description: "Value outline color",
+ },
+ {
+ name: "outlineWidth",
+ type: "number",
+ default: "3",
+ description: "Value outline width in pixels",
+ },
+ {
+ name: "backgroundColor",
+ type: "string",
+ default: '"#030012"',
+ description: "Full-frame background color",
+ },
+ {
+ name: "glowColor",
+ type: "string",
+ default: '"#64109a"',
+ description: "Diffuse color above the entering lead word",
+ },
+ {
+ name: "enterOffset",
+ type: "number",
+ default: "240",
+ description: "Lead word starting offset below its resting position",
+ },
+ {
+ name: "trackDistance",
+ type: "number",
+ default: "0",
+ description: "Fixed horizontal travel; zero derives it from measured text",
+ },
+ {
+ name: "anchorOffsetX",
+ type: "number",
+ default: "-84",
+ description: "Shared horizontal offset for the lead and final value anchors",
+ },
+ {
+ name: "wordGap",
+ type: "number",
+ default: "220",
+ description: "Gap between lead and value when travel is measured",
+ },
+ {
+ name: "endPadding",
+ type: "number",
+ default: "96",
+ description: "Right-side padding where an overflowing value stops",
+ },
+ {
+ name: "fillDuration",
+ type: "number",
+ default: "38",
+ description: "Duration of the left-to-right fill in frames",
+ },
+ {
+ name: "speed",
+ type: "number",
+ default: "1",
+ description: "Playback speed multiplier",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the full-frame root",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/shadow-sweep-text.mdx b/content/docs/typography/shadow-sweep-text.mdx
new file mode 100644
index 00000000..84b805a4
--- /dev/null
+++ b/content/docs/typography/shadow-sweep-text.mdx
@@ -0,0 +1,148 @@
+---
+title: Shadow Sweep Text
+description: A rising line is uncovered and removed by two dense dark shadow sweeps
+component: shadow-sweep-text
+vibe: premium
+length: 37
+useWhen:
+ - "A short statement should emerge through a dense shadow instead of fading or clipping into view."
+ - "The text needs a subtle diagonal rise while the reveal travels independently across the line."
+ - "A compact title beat needs a matched shadow enter and exit on a dark field."
+avoidWhen:
+ - "The text should stay visible after entering — use `mask-reveal-up` for a one-way reveal."
+ - "Each word needs its own entrance timing — use `per-word-crossfade` or `centered-word-build`."
+ - "The background must remain transparent because this effect relies on a matched dark field and occluders."
+---
+
+<ComponentPreview name="shadow-sweep-text" />
+
+## Installation
+
+<InstallBlock name="shadow-sweep-text" />
+
+## Usage
+
+`ShadowSweepText` keeps the text at constant opacity for the complete cycle.
+Frames 0–23 move a directional mask and a broad Gaussian shadow field to the
+right, uncovering the line without exposing a rectangular layer. After a
+three-frame hold, the same paired motion returns from the left and covers the
+line by frame 36. Independently, the text eases 96 pixels up and 16 pixels left
+across the shot.
+
+The component paints its own near-black violet background. That field and the
+slightly darker shadow are part of the animation rather than preview chrome, so
+the installed result matches the customizer without requiring a separate
+backdrop.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { ShadowSweepText } from "@/components/remocn/shadow-sweep-text";
+
+const ShadowSweepTextScene = () => (
+ <ShadowSweepText text="are abandoned" />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="ShadowSweepText"
+ component={ShadowSweepTextScene}
+ durationInFrames={37}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Tuning The Shadow
+
+`backgroundColor` fills the canvas. By default, `shadowColor` inherits that
+same color, so the radial field is visible over the letters without becoming a
+separate black shape on the blue field. It still fades to transparency
+horizontally and vertically. Reducing `shadowSoftness` makes the reveal feel
+like a hard wipe, while increasing it leaves more of each glyph partially
+covered.
+
+```tsx
+<ShadowSweepText
+ text="built for motion"
+ backgroundColor="#030012"
+ shadowColor="#030012"
+ shadowSoftness={130}
+ rise={96}
+ driftLeft={16}
+/>
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "Single-line copy rendered beneath both shadow layers",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "96",
+ description: "Font size in pixels",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: '"#aaa6b5"',
+ description: "Text color",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "700",
+ description: "CSS font-weight",
+ },
+ {
+ name: "backgroundColor",
+ type: "string",
+ default: '"#030012"',
+ description: "Canvas color",
+ },
+ {
+ name: "shadowColor",
+ type: "string",
+ default: "backgroundColor",
+ description: "Color at the center of the moving Gaussian shadow; inherits the background by default",
+ },
+ {
+ name: "shadowSoftness",
+ type: "number",
+ default: "130",
+ description: "Approximate width of each soft shadow edge in pixels",
+ },
+ {
+ name: "rise",
+ type: "number",
+ default: "96",
+ description: "Vertical travel from the starting position in pixels",
+ },
+ {
+ name: "driftLeft",
+ type: "number",
+ default: "16",
+ description: "Horizontal travel toward the left in pixels",
+ },
+ {
+ name: "speed",
+ type: "number",
+ default: "1",
+ description: "Playback speed multiplier",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the full-frame root",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/sheen-slide-in.mdx b/content/docs/typography/sheen-slide-in.mdx
new file mode 100644
index 00000000..e61530c9
--- /dev/null
+++ b/content/docs/typography/sheen-slide-in.mdx
@@ -0,0 +1,119 @@
+---
+title: Sheen Slide In
+description: A title glides in from the right with a long settle while a gradient sheen sweeps through the glyphs
+component: sheen-slide-in
+vibe: premium
+length: 64
+useWhen:
+ - "An intro title should arrive with momentum — a fast entrance, a long exponential settle and a barely visible final creep into center."
+ - "You want a colored gradient highlight to sweep once through the glyphs while the title is settling, then cool down to the base color."
+ - "The brand moment needs more physicality than a plain fade but no per-character or per-word choreography."
+avoidWhen:
+ - "You want a repeating metallic shimmer loop rather than a single arrival — use `shimmer-sweep`."
+ - "The title should build word by word — use `word-push` or `word-stream`."
+ - "The entrance should be soft and blurred rather than kinetic — use `soft-blur-in` or `focus-blur-resolve`."
+---
+
+<ComponentPreview name="sheen-slide-in" />
+
+## Installation
+
+<InstallBlock name="sheen-slide-in" />
+
+## Usage
+
+The title enters from the right at peak velocity and settles as a sum of two exponentials — a fast settle (τ ≈ 2.5 frames) plus a slow creep (τ ≈ 12 frames) that eases it into exact center. The sheen starts moving with the text on frame 0 and sweeps left-to-right through the glyphs on an ease-in-out over 48 frames — gaining speed while the text sheds it — then cools down by frame 58. At `exitAt` the title shrinks to 0.9 over four frames at full opacity and vanishes with a hard cut. All timings were measured frame-by-frame from the reference footage.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { SheenSlideIn } from "@/components/remocn/sheen-slide-in";
+
+const SheenSlideInScene = () => <SheenSlideIn text="Introducing" />;
+
+export const RemotionRoot = () => (
+ <Composition
+ id="SheenSlideIn"
+ component={SheenSlideInScene}
+ durationInFrames={70}
+ 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.
+
+```tsx
+import { Composition } from "remotion";
+import { SheenSlideIn } from "@/components/remocn/sheen-slide-in";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const SheenSlideInScene = () => (
+ <Backdrop fill={{ type: "color", value: "#ffffff" }}>
+ <SheenSlideIn text="Introducing" />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="SheenSlideIn"
+ component={SheenSlideInScene}
+ durationInFrames={70}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The title text",
+ },
+ {
+ name: "exitAt",
+ type: "number",
+ default: "60",
+ description: "Frame at which the title shrinks to 0.9 and hard-cuts away",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "72",
+ description: "Font size in pixels; travel distances scale with it",
+ },
+ {
+ name: "baseColor",
+ type: "string",
+ default: "\"#18181b\"",
+ description: "Resting text color",
+ },
+ {
+ name: "sheenColor",
+ type: "string",
+ default: "\"#4f8ef7\"",
+ description: "Color of the gradient highlight sweeping through the glyphs",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/squeeze-in.mdx b/content/docs/typography/squeeze-in.mdx
new file mode 100644
index 00000000..1a9fbaaa
--- /dev/null
+++ b/content/docs/typography/squeeze-in.mdx
@@ -0,0 +1,119 @@
+---
+title: Squeeze In
+description: Characters appear one by one, then the whole word squeezes as the last one lands
+component: squeeze-in
+vibe: premium
+length: 34
+useWhen:
+ - "A wordmark or short title should be uncovered by a clean wipe, as if a background-colored cover slides off it."
+ - "You want the signature detail where the arrival of the last character compresses every letter gap as one — the word visibly settles tighter."
+ - "The animation must stay subtle: no blur, no bounce, just typography breathing in."
+avoidWhen:
+ - "You want the whole word to collapse from a wide tracked-out state with blur — use `tracking-in`."
+ - "Characters should rise or drop into place — use `per-character-rise` or `top-down-letters`."
+ - "You need a typing rhythm with a caret — use `typewriter`."
+---
+
+<ComponentPreview name="squeeze-in" />
+
+## Installation
+
+<InstallBlock name="squeeze-in" />
+
+## Usage
+
+The word is uncovered by an invisible wipe travelling left to right — as if a background-colored rectangle slides off the text, revealing character after character. Once the wipe clears the last character, every letter gap compresses leftward toward the first character simultaneously — one unified gap, so the word reads as settling tighter against its first letter. Motion profile measured frame-by-frame from the reference footage.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { SqueezeIn } from "@/components/remocn/squeeze-in";
+
+const SqueezeInScene = () => <SqueezeIn text="Remocn" />;
+
+export const RemotionRoot = () => (
+ <Composition
+ id="SqueezeIn"
+ component={SqueezeInScene}
+ 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.
+
+```tsx
+import { Composition } from "remotion";
+import { SqueezeIn } from "@/components/remocn/squeeze-in";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const SqueezeInScene = () => (
+ <Backdrop fill={{ type: "color", value: "#09090b" }}>
+ <SqueezeIn text="Remocn" color="#fafafa" />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="SqueezeIn"
+ component={SqueezeInScene}
+ durationInFrames={60}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The text to assemble",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "72",
+ description: "Font size in pixels",
+ },
+ {
+ name: "stagger",
+ type: "number",
+ default: "3",
+ description: "Frames of wipe travel per character; total reveal lasts stagger times the character count",
+ },
+ {
+ name: "squeeze",
+ type: "number",
+ default: "0.03",
+ description: "Extra gap between characters in em, collapsed to zero as one when the last character lands",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#171717\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/typed-split-wipe.mdx b/content/docs/typography/typed-split-wipe.mdx
new file mode 100644
index 00000000..b09917ef
--- /dev/null
+++ b/content/docs/typography/typed-split-wipe.mdx
@@ -0,0 +1,165 @@
+---
+title: Typed Split Wipe
+description: A centered cursorless type build exits through opposing fixed-layout glyph wipes
+component: typed-split-wipe
+vibe: tech
+length: 75
+useWhen:
+ - "A product or feature introduction should type itself cleanly before breaking into controlled directional fragments."
+ - "One short anchor needs to remain visible while the surrounding words are erased independently."
+ - "The exit must cut through glyphs without allowing the surviving text to reflow."
+avoidWhen:
+ - "You need a conventional typewriter with a blinking caret and no exit — use `typewriter`."
+ - "Every character should rise or move independently — use `per-character-rise`."
+ - "One phrase should be consumed and replaced by another — use `caret-swap`."
+---
+
+<ComponentPreview name="typed-split-wipe" />
+
+## Installation
+
+<InstallBlock name="typed-split-wipe" />
+
+## Usage
+
+The enter renders only the currently typed substring, so every hard character step remains centered. At `exitAt`, the component switches to a visually identical fixed layout. The prefix clips from right to left and suffix words clip from left to right with a stagger. While those gaps open, the anchor travels left by `anchorShift`, making the empty spaces on its two sides deliberately uneven before it closes last from both sides.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { TypedSplitWipe } from "@/components/remocn/typed-split-wipe";
+
+const TypedSplitWipeScene = () => (
+ <TypedSplitWipe
+ prefix="Introducing"
+ anchor="X"
+ suffix="Ads MCP"
+ />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="TypedSplitWipe"
+ component={TypedSplitWipeScene}
+ durationInFrames={75}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### With Backdrop
+
+The component is transparent. The reference uses warm white text on an almost-black field.
+
+```tsx
+import { Composition } from "remotion";
+import { Backdrop } from "@/components/remocn/backdrop";
+import { TypedSplitWipe } from "@/components/remocn/typed-split-wipe";
+
+const TypedSplitWipeScene = () => (
+ <Backdrop fill={{ type: "color", value: "#101010" }}>
+ <TypedSplitWipe
+ prefix="Introducing"
+ anchor="X"
+ suffix="Ads MCP"
+ />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="TypedSplitWipe"
+ component={TypedSplitWipeScene}
+ durationInFrames={75}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "prefix",
+ type: "string",
+ required: true,
+ description: "Leading text typed first and clipped right-to-left on exit",
+ },
+ {
+ name: "anchor",
+ type: "string",
+ required: true,
+ description: "Central segment that remains visible longest",
+ },
+ {
+ name: "suffix",
+ type: "string",
+ required: true,
+ description: "Space-delimited trailing words clipped left-to-right with a stagger",
+ },
+ {
+ name: "typeFrames",
+ type: "number",
+ default: "30",
+ description: "Frames used to type the complete line",
+ },
+ {
+ name: "exitAt",
+ type: "number",
+ default: "50",
+ description: "Frame on which the segmented exit begins",
+ },
+ {
+ name: "exitFrames",
+ type: "number",
+ default: "20",
+ description: "Frames used by the prefix wipe and final anchor close",
+ },
+ {
+ name: "wordStagger",
+ type: "number",
+ default: "4",
+ description: "Delay in frames between suffix word wipes",
+ },
+ {
+ name: "anchorShift",
+ type: "number",
+ default: "-72",
+ description: "Horizontal anchor travel in pixels during the prefix wipe",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "42",
+ description: "Font size in pixels",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#e8e8e8\"",
+ description: "Text color",
+ },
+ {
+ name: "speed",
+ type: "number",
+ default: "1",
+ description: "Playback speed multiplier",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the text container",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/word-push.mdx b/content/docs/typography/word-push.mdx
new file mode 100644
index 00000000..7466af18
--- /dev/null
+++ b/content/docs/typography/word-push.mdx
@@ -0,0 +1,123 @@
+---
+title: Word Push
+description: Words drive in from the right and push the line left into its new center
+component: word-push
+vibe: premium
+length: 42
+useWhen:
+ - "A single tagline or closing phrase should build word by word with physical, push-driven motion instead of plain fades."
+ - "The first word must glide in from the left to center and visibly get shoved further left as each next word arrives from the right."
+ - "The line follows a voiceover and each spoken word lands with a kinetic nudge."
+avoidWhen:
+ - "Several phrases must play in sequence with cuts between them — use `word-stream` for the multi-phrase flow."
+ - "You want a calm, driftless word-by-word entrance — use `per-word-crossfade`."
+ - "The reveal should happen per character rather than per word — use `per-character-rise` or `soft-blur-in`."
+---
+
+<ComponentPreview name="word-push" />
+
+## Installation
+
+<InstallBlock name="word-push" />
+
+## Usage
+
+The first word glides in from the left and settles at center. Each following word appears slightly to the right of its slot and drives left into place, pushing the whole line left by half its width so the phrase always settles centered.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { WordPush } from "@/components/remocn/word-push";
+
+const WordPushScene = () => <WordPush text="move at your own pace" />;
+
+export const RemotionRoot = () => (
+ <Composition
+ id="WordPush"
+ component={WordPushScene}
+ durationInFrames={90}
+ 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.
+
+```tsx
+import { Composition } from "remotion";
+import { WordPush } from "@/components/remocn/word-push";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const WordPushScene = () => (
+ <Backdrop fill={{ type: "color", value: "#0b0b14" }}>
+ <WordPush text="move at your own pace" color="#ffffff" />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="WordPush"
+ component={WordPushScene}
+ durationInFrames={90}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Syncing to a voiceover
+
+`wordGap` sets the first gap and `accel` shrinks every following one, so the build accelerates as one gesture rather than per word. The exported `wordPushLength(text, wordGap)` helper returns the frame on which the last push settles — use it as the lower bound of the `Sequence`.
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The phrase; words are split on spaces.",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "72",
+ description: "Font size in pixels",
+ },
+ {
+ name: "wordGap",
+ type: "number",
+ default: "10",
+ description: "Frames between the first two word arrivals; later gaps shrink by accel.",
+ },
+ {
+ name: "accel",
+ type: "number",
+ default: "0.8",
+ description: "Each next gap is the previous one multiplied by this — one accelerando across the phrase. 1 keeps the rhythm uniform.",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#171717\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/word-stream.mdx b/content/docs/typography/word-stream.mdx
new file mode 100644
index 00000000..ccbf7c77
--- /dev/null
+++ b/content/docs/typography/word-stream.mdx
@@ -0,0 +1,134 @@
+---
+title: Word Stream
+description: Voiceover-paced phrases building word by word while the line drifts left
+component: word-stream
+vibe: premium
+length: 63
+useWhen:
+ - "An intro or narration follows a voiceover and each phrase should build word by word at speaking pace."
+ - "You want the keynote-style restless motion where the whole line keeps drifting left as new words pop in on the right."
+ - "Several short phrases need to play in sequence inside a single component, with fast cut-like swaps between them."
+avoidWhen:
+ - "There is only one static phrase to reveal — use `per-word-crossfade` for a single calm word-by-word entrance."
+ - "You need a two-state before/after text swap rather than a stream — use `value-swap` or `strikethrough-replace`."
+ - "The text is a multi-line paragraph — use `line-by-line-slide` or `mask-reveal-up` for line-level reveals."
+---
+
+<ComponentPreview name="word-stream" />
+
+## Installation
+
+<InstallBlock name="word-stream" />
+
+## Usage
+
+Phrases are passed as a single string separated by `|`. Each phrase glides in decelerating, builds word by word while slowly drifting left, then accelerates out to the left and hard-cuts to the next phrase. The last phrase stays on screen.
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { WordStream } from "@/components/remocn/word-stream";
+
+const WordStreamScene = () => (
+ <WordStream text="introducing | one-tap checkout | for your store" />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="WordStream"
+ component={WordStreamScene}
+ durationInFrames={100}
+ 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.
+
+```tsx
+import { Composition } from "remotion";
+import { WordStream } from "@/components/remocn/word-stream";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const WordStreamScene = () => (
+ <Backdrop fill={{ type: "color", value: "#0b0b14" }}>
+ <WordStream
+ text="introducing | one-tap checkout | for your store"
+ color="#ffffff"
+ />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="WordStream"
+ component={WordStreamScene}
+ durationInFrames={100}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Syncing to a voiceover
+
+`wordGap` is the number of frames between word reveals — match it to the speaking pace of the narration (at 30fps, `wordGap={6}` is 5 words per second). `hold` controls how long a finished phrase stays before the next one starts. The exported `wordStreamLength(text, wordGap, hold)` helper returns the frame on which the last word finishes resolving — use it as the lower bound of the `Sequence`.
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "Phrases separated by |. Words within a phrase are split on spaces.",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "72",
+ description: "Font size in pixels",
+ },
+ {
+ name: "wordGap",
+ type: "number",
+ default: "6",
+ description: "Frames between consecutive word reveals",
+ },
+ {
+ name: "hold",
+ type: "number",
+ default: "18",
+ description: "Frames a completed phrase holds before swapping to the next",
+ },
+ {
+ name: "drift",
+ type: "number",
+ default: "2",
+ description: "Leftward crawl of the line in pixels per frame between the entry glide and the exit run-out (at fontSize 72, scales proportionally). 0 disables the crawl.",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#171717\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/content/docs/typography/zoom-words.mdx b/content/docs/typography/zoom-words.mdx
new file mode 100644
index 00000000..6536733c
--- /dev/null
+++ b/content/docs/typography/zoom-words.mdx
@@ -0,0 +1,148 @@
+---
+title: Zoom Words
+description: Huge words fade into a long line while the camera rides the write head
+component: zoom-words
+vibe: premium
+length: 63
+useWhen:
+ - "An intro should open uncomfortably close: huge words appearing one by one while the camera tracks the growing line off-frame."
+ - "You want the shot to start slightly defocused and sharpen while the reveal runs — a cold-open feel before a hard cut."
+ - "The phrase is long and should never need to fit the frame."
+avoidWhen:
+ - "The whole phrase must fit the frame at rest — use `per-word-crossfade` or `word-stream`."
+ - "You need character-by-character typing with a caret — use `typewriter`."
+ - "The camera language should be a real 2.5D move over a scene rather than a text close-up — use `stage`."
+---
+
+<ComponentPreview name="zoom-words" />
+
+## Installation
+
+<InstallBlock name="zoom-words" />
+
+## Usage
+
+The first word fades in centered and the camera holds still. The whole phrase then reveals on one clock with a short gentle ramp-up settling into constant speed — the measured profile of the reference — with each word sliding in on a small diagonal, lightly softened but always readable, while the camera rides the growing line and stops with the last word centered. The shot starts `blur` em out of focus and sharpens over `blurFrames`. Meant to be hard-cut into the next scene (in the reference, a typewriter scene follows the cut).
+
+```tsx
+// src/Root.tsx
+import { Composition } from "remotion";
+import { ZoomWords } from "@/components/remocn/zoom-words";
+
+const ZoomWordsScene = () => (
+ <ZoomWords text="Still piecing together tools" />
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="ZoomWords"
+ component={ZoomWordsScene}
+ durationInFrames={75}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### With Backdrop
+
+The component renders transparent — supply the background via `Backdrop`. The reference pairs it with a dark-to-violet vertical gradient.
+
+```tsx
+import { Composition } from "remotion";
+import { ZoomWords } from "@/components/remocn/zoom-words";
+import { Backdrop } from "@/components/remocn/backdrop";
+
+const ZoomWordsScene = () => (
+ <Backdrop
+ fill={{
+ type: "gradient",
+ value: "linear-gradient(180deg, #0a0612 25%, #6a3fd6 100%)",
+ }}
+ >
+ <ZoomWords text="Still piecing together tools" />
+ </Backdrop>
+);
+
+export const RemotionRoot = () => (
+ <Composition
+ id="ZoomWords"
+ component={ZoomWordsScene}
+ durationInFrames={75}
+ fps={30}
+ width={1280}
+ height={720}
+ />
+);
+```
+
+### Syncing
+
+The exported `zoomWordsLength(text, wordGap)` helper returns the frame on which the camera settles after the last word — cut to the next scene at or shortly after it.
+
+## Props
+
+<PropsTable
+ rows={[
+ {
+ name: "text",
+ type: "string",
+ required: true,
+ description: "The phrase to reveal; it may be arbitrarily long",
+ },
+ {
+ name: "wordGap",
+ type: "number",
+ default: "12",
+ description: "Frames between word reveals",
+ },
+ {
+ name: "fontSize",
+ type: "number",
+ default: "64",
+ description: "Base font size in pixels before the camera zoom",
+ },
+ {
+ name: "zoom",
+ type: "number",
+ default: "2.2",
+ description: "Camera scale applied to the whole shot",
+ },
+ {
+ name: "anchor",
+ type: "number",
+ default: "0.5",
+ description: "Horizontal fraction of the frame the camera holds — the first word appears centered on it",
+ },
+ {
+ name: "blur",
+ type: "number",
+ default: "0.04",
+ description: "Starting defocus in em, sharpening to zero over blurFrames",
+ },
+ {
+ name: "blurFrames",
+ type: "number",
+ default: "60",
+ description: "Frames the focus pull takes",
+ },
+ {
+ name: "color",
+ type: "string",
+ default: "\"#cfc2ff\"",
+ description: "Text color (any valid CSS color)",
+ },
+ {
+ name: "fontWeight",
+ type: "number",
+ default: "400",
+ description: "CSS font-weight",
+ },
+ {
+ name: "className",
+ type: "string",
+ description: "Optional className passed to the underlying span",
+ },
+ ]}
+/>
diff --git a/docs/plans/2026-08-25-centered-word-build-design.md b/docs/plans/2026-08-25-centered-word-build-design.md
new file mode 100644
index 00000000..a9b28b76
--- /dev/null
+++ b/docs/plans/2026-08-25-centered-word-build-design.md
@@ -0,0 +1,54 @@
+# Centered Word Build
+
+## Reference
+
+Recreate the typography animation shown from 00:04.000 to 00:06.000 in
+`LtDRmo2bVZySoIKZ.mp4`. The component is text-only: the reference icon and
+background are not part of it.
+
+## Motion
+
+The phrase is built as a centered visible prefix. Each new word appears on a
+hard cut at full opacity, starting `0.18em` below the baseline and settling
+upward over nine frames. In the same frame, the full visible prefix recenters
+and begins a cumulative camera push-in. The whole line scales by another 3.5%
+over those nine frames and holds that closer scale until the next word. For the
+default four-word phrase, the measured reveal frames at 30 fps are 0, 11, 22,
+and 30. The resulting line scales are 1, 1.035, 1.07, and 1.105.
+
+After the completed phrase holds, a soft opacity mask crosses the text from
+left to right. The measured exit begins on frame 51 and finishes on frame 63.
+The component remains transparent throughout.
+
+## Component
+
+The registry item is named `centered-word-build` and exports
+`CenteredWordBuild`, its props interface, and a length helper. The public props
+cover text styling, accelerating word cadence, word rise, cumulative zoom,
+settle duration, exit timing, playback speed, and a text class name. Defaults
+reproduce `everything we learn from`.
+
+The reveal clock establishes two even beats before it accelerates: `wordGap`
+defines those first two intervals and `accel` multiplies every interval after
+them. Defaults of `wordGap={11}` and `accel={0.75}` yield reveal frames 0, 11,
+22, and 30 after rounding, matching the reference while remaining useful for
+phrases with more words.
+
+`rise`, `zoomStep`, and `settleFrames` form one synchronized gesture. Only the
+new word translates upward; the scale applies to the whole visible phrase and
+is never reset. Opacity is intentionally not animated.
+
+## Integration
+
+Add the component source and preview config, register it in the remocn
+registry and preview index, add the typography documentation and navigation
+entry, then regenerate the preview manifest and shadcn registry artifacts.
+The branch-level changelog entry will include the new component.
+
+## Verification
+
+Run the metadata test, typecheck, lint for touched files, registry and manifest
+checks, then render the preview at representative reveal and exit frames. The
+frame sequence should show hard-cut word additions, exact recentering, and a
+cumulative whole-line push-in, upward settling of only the new word, and a
+continuous left-to-right fade with no background or icon.
diff --git a/docs/plans/2026-08-25-inline-pill-takeover-design.md b/docs/plans/2026-08-25-inline-pill-takeover-design.md
new file mode 100644
index 00000000..94171e14
--- /dev/null
+++ b/docs/plans/2026-08-25-inline-pill-takeover-design.md
@@ -0,0 +1,57 @@
+# Inline Pill Takeover
+
+## Reference
+
+Recreate the full typography beat shown from 00:08.000 to 00:09.000 in
+`LtDRmo2bVZySoIKZ.mp4`. The component is text-only: the reference icon and
+background remain outside its scope.
+
+## Motion
+
+The initial line reads `powering 20% — of the Internet.`. A short white pill
+occupies the dash position. Over the first 12 frames, explicit width and height
+values expand the pill background outward from its center, exposing `Start
+building` and physically pushing the left and right text apart. No transform is
+applied to this reveal, so the text keeps a fixed local font size. It becomes
+visible through a hard opacity switch and remains clipped by the growing pill
+until enough background has opened around it.
+
+Starting on frame 2, the surrounding text gains blur and fades away, reaching
+zero opacity on frame 18 while the pill background keeps expanding. An
+independent camera wrapper starts moving on frame 12: it grows from scale 1 to
+1.25 through frame 23, cuts on frame 24 to 86% of the final close-up scale,
+then eases from 86% to 100% by frame 30. At the same moment the width reveal
+finishes, a second local pill animation begins. Through frame 36 it grows the
+background width from scale 1 to 1.08 and its height independently from 1 to
+1.16 while the text keeps its local font size. Separate width and height
+controls keep the vertical expansion visible without making the CTA too wide.
+The pill therefore grows toward the approaching camera and continues moving
+after the camera settles. The discontinuity is intentional: it should read as
+an impact too fast for the viewer to perceive as a continuous zoom.
+
+## Component
+
+The registry item is named `inline-pill-takeover` and exports
+`InlinePillTakeover` plus its props interface. A centered flex row owns three
+siblings: `before`, the clipped pill, and `after`. Animating the pill's explicit
+width lets flex layout displace the surrounding text without brittle absolute
+positions.
+
+The public API covers the three strings, typography and pill colors, expansion
+and takeover timing, takeover scale, outer-text blur, playback speed, and a
+root class name. Defaults reproduce the reference copy.
+
+## Integration
+
+Add the component source and preview config, register it in the remocn
+registry and preview index, add its typography documentation and navigation
+entry, include it in the branch changelog, then regenerate the preview
+manifest and shadcn registry artifacts.
+
+## Verification
+
+Run typecheck, focused lint, metadata and customizer tests, then render frames
+0, 6, 12, 18, 21, 24, and 30. The pill must reveal from its center, move both
+outer text spans through layout, fully replace their visual focus by frame 18,
+and perform the measured two-stage takeover without painting a background or
+icon.
diff --git a/docs/plans/2026-08-25-typed-split-wipe-design.md b/docs/plans/2026-08-25-typed-split-wipe-design.md
new file mode 100644
index 00000000..1f99bd95
--- /dev/null
+++ b/docs/plans/2026-08-25-typed-split-wipe-design.md
@@ -0,0 +1,46 @@
+# Typed Split Wipe
+
+## Reference
+
+Recreate the typography beat from 00:00.000 through approximately 00:02.300
+in `XSHgA_pUBKpD4PXG.mp4`. The default copy is `Introducing X Ads MCP`, split
+into a prefix, a central anchor, and a suffix so the exit can preserve the
+reference's fixed layout and independent wipe directions.
+
+## Motion
+
+Frames 0–29 type the full line without a cursor. Characters become visible in
+hard steps and the currently visible substring remains centered while it
+grows. Frames 30–49 hold the completed line.
+
+At frame 50, the component switches to a fixed full-line layout so disappearing
+letters never cause reflow. `Introducing` clips from right to left. The suffix
+is split into words: `Ads` and then `MCP` clip from left to right with a short
+stagger. As the prefix opens empty space, the `X` anchor travels left into it,
+creating unequal gaps on either side before it exits last. The wipe clips
+through glyphs rather than fading or translating whole characters.
+
+## Component
+
+The registry item is named `typed-split-wipe` and exports `TypedSplitWipe`
+plus its props interface. Its primary content API is `prefix`, `anchor`, and
+`suffix`; defaults produce `Introducing X Ads MCP`. Public controls cover the
+typing duration, exit start and duration, suffix-word stagger, anchor travel,
+typography, playback speed, and root class name.
+
+The component paints no background. Its preview uses near-black so the warm
+white type matches the source footage.
+
+## Integration
+
+Add the component source and customizer config, register it in the remocn
+registry and preview index, add typography documentation and navigation, add a
+changelog entry, then regenerate the preview manifest and registry artifacts.
+
+## Verification
+
+Run focused Biome checks, TypeScript, customizer and docs metadata tests, then
+render a 75-frame 1280×720 preview at 30 fps. Inspect the typed build, full hold,
+and frames 50–69 of the exit. The enter must re-center the current substring;
+the exit must keep all surviving glyphs in their original positions and show
+the measured opposing clip directions.
diff --git a/docs/plans/2026-08-27-outline-fill-track-text-design.md b/docs/plans/2026-08-27-outline-fill-track-text-design.md
new file mode 100644
index 00000000..ce272f12
--- /dev/null
+++ b/docs/plans/2026-08-27-outline-fill-track-text-design.md
@@ -0,0 +1,90 @@
+# Outline Fill Track Text
+
+## Reference
+
+Recreate the typography transition from 00:28.333 through 00:30.800 in
+`vVYqitqLt1Y2dgKy.mp4`. The source is 480x270 at 30 fps. The reference copy is
+`Keep 100%`, and the standalone component ends on the large, completely filled
+value. The registry default uses `1000000000%` to demonstrate the adaptive
+long-value camera travel. It does not include the following cut to the small
+sentence.
+
+## Measurements
+
+The lead word first becomes readable at approximately 00:28.400 and finishes
+its rise at 00:28.933. Its visible baseline travels about 90 source pixels
+upward while a broad violet-black field clears the glyphs. At the 1280x720
+registry size, the default entrance offset is therefore 240 pixels.
+
+The continuous horizontal move starts near 00:28.933. `Keep` crosses the left
+edge while `100%` enters from the right at approximately 00:29.500. The track
+decelerates until the value is centered at approximately 00:30.700. The source
+glyphs occupy about 135 pixels vertically, which maps to a 368-pixel default
+font size after matching Arial's cap height. Both the lead and value visual
+centers sit about 32 source pixels left of the frame center, represented by an
+84-pixel registry anchor offset.
+
+The value first appears as a roughly one-source-pixel outline, represented by
+a 3-pixel stroke at registry resolution. A white fill advances from the left
+edge of `1` through both zeroes, the upper dot, the slash, and finally the lower
+dot. The fill is readable from approximately 00:29.500 and completes near
+00:30.750. The background is the same near-black violet as the surrounding
+scene, represented by `#030012`; the fill is a cool white, represented by
+`#f4f3f6`.
+
+## Motion
+
+The component has an 80-frame natural length at 30 fps. Frames 0-16 lift and
+uncover `Keep`. Frames 16-24 move so slowly that they read as a short lead-word
+hold, while the complete horizontal track travel runs from frames 16-72. The
+value remains hidden until a hard reveal on frame 34. Its fill mask starts ten
+frames earlier, so the `1` is already gaining weight at the cut, then the
+visible fill continues through frame 72. The glyph opacity remains constant.
+Frames 72-79 hold the filled value at its final anchor.
+
+`Keep` and `100%` share one no-wrap track so their spacing and velocity cannot
+diverge. The value is rendered twice at the same coordinates: an outlined base
+remains visible for the whole travel, while a filled duplicate is exposed by a
+left-to-right mask. This reproduces the sequential fill of the percent sign
+without animating individual glyphs.
+
+The final track travel is responsive to the measured value width. Values that
+fit the composition stop on the reference anchor. If a value is wider than the
+available frame, its right-side overflow is added to the travel so the camera
+reaches the trailing glyphs and leaves them at a configurable end padding. The
+track follows a symmetric ease-in-out curve with a visible acceleration from
+rest and deceleration into the final hold.
+
+The entrance uses a vertical mask plus a large radial violet-black field. The
+field is separate from the text and soft in both axes, avoiding a rectangular
+occluder. The lead word does not fade or scale.
+
+## Component
+
+The registry item is named `outline-fill-track-text` and exports
+`OutlineFillTrackText`, `OutlineFillTrackTextProps`, and
+`outlineFillTrackTextLength`. Public controls cover both text values,
+typography, fill and outline colors, outline width, background and glow colors,
+entrance offset, shared horizontal anchor, track travel, word gap, long-value
+end padding, fill duration, playback speed, and the root class name.
+
+The default implementation uses Arial/Helvetica to match the measured wide
+geometric sans closely while remaining dependency-free. Empty strings remain
+valid: an empty lead skips its visible glyphs, and an empty value leaves only
+the background after the track move.
+
+## Integration
+
+Add the component and customizer config, register it in the preview index and
+remocn registry, add the typography documentation and navigation entry, update
+the SaaS typography changelog, then regenerate the preview manifest and
+registry artifacts.
+
+## Verification
+
+Run focused Biome checks, TypeScript, customizer and docs metadata tests, and a
+production build. Render the 80-frame 1280x720 composition at 30 fps and inspect
+frames 0, 8, 16, 24, 34, 44, 56, 68, 72, and 79. The lead word must rise without
+an opacity change, both words must follow the same horizontal transform, the
+outline must remain visible ahead of the fill boundary, and the last frames
+must hold a completely filled `100%` at the measured left-shifted anchor.
diff --git a/docs/plans/2026-08-27-shadow-sweep-text-design.md b/docs/plans/2026-08-27-shadow-sweep-text-design.md
new file mode 100644
index 00000000..d9f07989
--- /dev/null
+++ b/docs/plans/2026-08-27-shadow-sweep-text-design.md
@@ -0,0 +1,76 @@
+# Shadow Sweep Text
+
+## Reference
+
+Recreate the full typography cycle beginning at 00:05.000 in
+`vVYqitqLt1Y2dgKy.mp4`. The source is 480x270 at 30 fps and the default copy is
+`are abandoned`. The component includes the reveal, its brief fully visible
+hold, and the returning shadow that removes the line.
+
+## Measurements
+
+The first readable text appears at 00:05.033. The incoming occluder's soft
+edge clears the complete line between 00:05.733 and 00:05.800. The line remains
+fully readable for roughly three frames before the exit occluder starts at
+00:05.900. The last readable pixels disappear at 00:06.233.
+
+During the complete cycle, the line eases from below and slightly right toward
+its resting position. Comparing the same `are` glyphs once they are readable
+gives approximately -6 source pixels horizontally and -36 source pixels
+vertically. At the 1280x720 registry canvas this is a default travel of 16
+pixels left and 96 pixels up. The source glyphs are about
+30 pixels tall. Matching the measured 256-pixel line width against Arial Bold
+metrics gives a 36-pixel source CSS size, corresponding to a 96-pixel default
+font size in the registry.
+
+The sampled background is a near-black violet, represented by `#030012`. The
+Gaussian field inherits that background color by default so it covers the text
+without becoming a separate black shape. Its compressed soft transition
+measures about 45 to 55 source pixels, or approximately 130 pixels at registry
+resolution. The text is a cool gray represented by `#aaa6b5`.
+
+## Motion
+
+The component has a 37-frame natural length. Frames 0-23 move the first dark
+occluder to the right, exposing the text from left to right. Frames 24-26 form
+the short readable hold. Frames 27-36 move a second dark occluder from the left
+across the line, covering it in the same direction. The text itself never
+changes opacity.
+
+Text coverage and the visible shadow are separate layers. A directional mask
+controls which glyph pixels are readable during the enter and exit, while an
+independent Gaussian field travels over the mask boundary. The field is built
+from a radial gradient that fades horizontally and vertically, so it has no
+rectangular body or concrete contour. This keeps the shadow dense over the
+letters without exposing the geometry of the DOM element that carries it.
+
+The text's diagonal movement runs across the full cycle with a strong ease-out:
+it starts 16 pixels right and 96 pixels below its final position, then moves
+up and left without a scale or blur animation.
+
+## Component
+
+The registry item is named `shadow-sweep-text` and exports `ShadowSweepText`
+plus its props interface. Public controls cover the copy, typography,
+background and shadow colors, shadow softness, vertical rise, horizontal drift,
+playback speed, and root class name. Defaults reproduce the measured reference.
+
+Unlike most typography components, this component paints its own background
+because the dark field and darker physical occluders are inseparable parts of
+the effect.
+
+## Integration
+
+Add the component source and customizer config, register it in the remocn
+registry and preview index, add typography documentation and navigation, add a
+changelog entry, then regenerate the preview manifest and registry artifacts.
+
+## Verification
+
+Run focused Biome checks, TypeScript, customizer and docs metadata tests, then
+render a 37-frame 1280x720 preview at 30 fps. Inspect frames 0, 1, 8, 16, 23,
+26, 27, 31, 35, and 36. The text must remain at constant element opacity,
+travel up and left, become fully readable for only a short hold, and disappear
+under the returning shadow. A pixel-gradient check on the covered frame must
+not find a hard horizontal or vertical rectangle edge around the Gaussian
+field.
diff --git a/docs/plans/2026-08-28-gradient-scale-cut-text-design.md b/docs/plans/2026-08-28-gradient-scale-cut-text-design.md
new file mode 100644
index 00000000..1489641d
--- /dev/null
+++ b/docs/plans/2026-08-28-gradient-scale-cut-text-design.md
@@ -0,0 +1,85 @@
+# Gradient Scale Cut Text
+
+## Reference
+
+Recreate the typography cycle around 00:12.900 through 00:14.000 in
+`ykwRvJLcuCvNzUAV.mp4`. The source is 480x270 at 30 fps and the default copy is
+`Introducing`. The component includes the oversized reveal, the hard scale cut,
+the compact settling move, and a short final hold. The following CodeRabbit logo
+scene is outside the component.
+
+## Measurements
+
+The oversized phase occupies source frames 00:12.900 through 00:13.300. Its
+visible glyph height remains approximately 140 pixels while the line moves
+about 150 source pixels left. The full text extends beyond the right edge, and
+a soft reveal boundary exposes progressively more letters. At the 1280x720
+registry size, the matching defaults are a 520-pixel giant font and 400 pixels
+of horizontal travel.
+
+The scale cut occurs between adjacent source frames 399 and 400, at 00:13.300
+and 00:13.333. At a luminance threshold of 45, the visible bounding box changes
+from 353x141 pixels to 173x38 pixels without an interpolated intermediate size.
+The compact layer begins near source center x=295 and enters to x=235, a
+leftward move of about 60 source pixels or 160 registry pixels. Its glyph core
+measures 40-41 pixels high on frames 408-413. Changes in the remaining
+thresholded bounds come from blur and progressive reveal, not scaling. A fixed
+132-pixel registry font with a constant 0.87 horizontal correction matches the
+measured compact height and width.
+
+The fill is a fixed horizontal text gradient rather than a moving highlight.
+Its left edge is a saturated orange near `#f04a14`, it transitions through a
+warm peach, and the right portion resolves to a cool white near `#f3f1f1`. A
+soft left-to-right mask exposes that gradient over a near-black red ghost layer.
+The background is black.
+
+## Motion
+
+The component has a 36-frame natural length at 30 fps. Frames 0-12 show the
+giant layer and translate it left while the shared reveal advances. Frame 13
+switches visibility to the compact layer with no scale interpolation. Frames
+13-21 move that layer the full 160 pixels to its final anchor while reducing its
+blur to zero. From frame 21 onward, compact position and font size are fixed.
+The reveal continues through frame 33, and frames 34-35 hold the completed line.
+
+The compact entrance uses one clamped progress curve and ends exactly at the
+final anchor. There is no secondary translation after it lands and no uniform
+scale transform or scale progress after the cut.
+
+The two phases are separate, overlapping DOM layers. They share text,
+typography colors, and one deterministic reveal-progress value, but each owns
+its position, blur, and font size. This avoids transform-origin drift at the cut
+and guarantees that no intermediate scale can appear. Text opacity
+remains constant; visibility changes as a discrete frame condition.
+
+The gradient fill is duplicated over a persistent ghost layer and clipped by
+a soft mask. The mask boundary advances across the complete measured text box,
+then moves half its softness beyond the right edge. This fully uncovers the
+final glyph while alternate copy remains supported without per-character
+timing. Both text layers use a 1.12em line box so mask and background clipping
+preserve glyph descenders without an additional transform or baseline shift.
+
+## Component
+
+The registry item is named `gradient-scale-cut-text` and exports
+`GradientScaleCutText`, `GradientScaleCutTextProps`, and
+`gradientScaleCutTextLength`. Public controls cover the text, giant and compact
+font sizes, final horizontal anchor, both travel distances, cut frame, reveal
+softness, compact blur, ghost and background colors, gradient start and end
+colors, font weight, playback speed, and root class name.
+
+## Integration
+
+Add the component and customizer config, register it in the preview index and
+remocn registry, add a typography documentation page and navigation entry,
+update the SaaS typography changelog, then regenerate the preview manifest and
+registry artifacts.
+
+## Verification
+
+Run focused Biome checks, TypeScript, customizer and docs metadata tests, and a
+production build. Render the 36-frame 1280x720 composition and inspect frames
+0, 4, 8, 12, 13, 14, 17, 21, 28, 33, and 35. Frame 12 must contain only the
+giant layer and frame 13 only the compact layer. The mask must continue across
+the cut, the compact text must clear its blur while moving left, and the last
+two frames must hold the fully revealed gradient line without opacity changes.
diff --git a/lib/analytics.ts b/lib/analytics.ts
index 8b69b0e3..42d61afd 100644
--- a/lib/analytics.ts
+++ b/lib/analytics.ts
@@ -12,7 +12,7 @@ export type PreviewSurface =
export type CtaId =
| "hero_start"
| "hero_showcases"
- | "hero_ui_badge"
+ | "hero_saas_typography_badge"
| "how_it_works_setup"
| "final_cta"
| "github_header";
diff --git a/package.json b/package.json
index d10b473c..ff36d297 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"registry:check": "shadcn build --output registry-artifacts && bun scripts/build-elements.mts && biome format --write registry-artifacts && git diff --quiet -- registry-artifacts || (echo 'registry-artifacts is out of sync with registry/ sources. Run: bun run registry:build and commit the result.' && exit 1)",
"manifest:build": "bun scripts/build-preview-manifest.mts && biome format --write registry/__manifest__.ts",
"manifest:check": "bun run manifest:build && git diff --quiet -- registry/__manifest__.ts || (echo 'registry/__manifest__.ts is out of sync with registry config sources. Run: bun run manifest:build and commit the result.' && exit 1)",
+ "studio": "remotion studio",
"remotion:browser": "bun scripts/ensure-browser.mts",
"bundle:remotion": "bun scripts/bundle-remotion.mts",
"render:demos": "bun scripts/render-demos.mts",
@@ -70,6 +71,7 @@
},
"devDependencies": {
"@biomejs/biome": "2.2.0",
+ "@remotion/cli": "4.0.513",
"@tailwindcss/postcss": "^4",
"@types/bun": "latest",
"@types/culori": "^4.0.0",
diff --git a/registry-artifacts/caret-swap.json b/registry-artifacts/caret-swap.json
new file mode 100644
index 00000000..60ca5bd0
--- /dev/null
+++ b/registry-artifacts/caret-swap.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "caret-swap",
+ "title": "Caret Swap",
+ "description": "A gradient caret swells into a block that consumes the first phrase right-to-left, collapses back and types the second phrase out with a blinking caret.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/caret-swap/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface CaretSwapProps {\n fromText: string;\n toText: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n caretColor?: string;\n caretColorEnd?: string;\n swapAt?: number;\n typeSpeed?: number;\n speed?: number;\n className?: string;\n}\n\nconst CARET_LEAD = 7;\nconst EXPAND_FRAMES = 6;\nconst COLLAPSE_FRAMES = 7;\nconst IDLE_FRAMES = 7;\nconst BLINK_FRAMES = 8;\nconst CARET_WIDTH_EM = 0.08;\nconst CARET_HEIGHT_EM = 1.1;\nconst CARET_GAP_EM = 0.06;\nconst CHAR_WIDTH_EM = 0.52;\nconst TYPE_ACCEL = 0.96;\n\nfunction typeElapsed(count: number, typeSpeed: number): number {\n return (typeSpeed * (1 - TYPE_ACCEL ** count)) / (1 - TYPE_ACCEL);\n}\n\nexport function caretSwapLength(\n toText: string,\n swapAt = 20,\n typeSpeed = 1,\n): number {\n return Math.ceil(\n swapAt +\n EXPAND_FRAMES +\n COLLAPSE_FRAMES +\n IDLE_FRAMES +\n typeElapsed(Array.from(toText).length, typeSpeed),\n );\n}\n\nconst expandEasing = Easing.bezier(0.6, 0, 0.8, 0.4);\nconst collapseEasing = Easing.bezier(0.2, 0.7, 0.3, 1);\n\nexport function CaretSwap({\n fromText,\n toText,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n caretColor = \"#FF4DAA\",\n caretColorEnd = \"#8A5CF6\",\n swapAt = 20,\n typeSpeed = 1,\n speed = 1,\n className,\n}: CaretSwapProps) {\n const frame = useCurrentFrame() * speed;\n\n const toChars = Array.from(toText);\n const caretWidth = CARET_WIDTH_EM * fontSize;\n const caretHeight = CARET_HEIGHT_EM * fontSize;\n\n const caretVisibleAt = Math.max(swapAt - CARET_LEAD, 0);\n const expandEnd = swapAt + EXPAND_FRAMES;\n const collapseEnd = expandEnd + COLLAPSE_FRAMES;\n const typeStart = collapseEnd + IDLE_FRAMES;\n const typeEnd = typeStart + typeElapsed(toChars.length, typeSpeed);\n\n const expand = interpolate(frame, [swapAt, expandEnd], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: expandEasing,\n });\n const collapse = interpolate(frame, [expandEnd, collapseEnd], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: collapseEasing,\n });\n\n const typing = frame >= typeStart;\n let typedCount = 0;\n if (typing) {\n while (\n typedCount < toChars.length &&\n typeElapsed(typedCount, typeSpeed) <= frame - typeStart\n ) {\n typedCount++;\n }\n }\n const typed = toChars.slice(0, typedCount).join(\"\");\n\n const anchorWidthEm =\n Array.from(fromText).length * CHAR_WIDTH_EM +\n CARET_WIDTH_EM +\n CARET_GAP_EM;\n const targetShiftEm = (anchorWidthEm - toChars.length * CHAR_WIDTH_EM) / 2;\n const typeProgress = toChars.length > 0 ? typedCount / toChars.length : 0;\n const typedShift = targetShiftEm * typeProgress * fontSize;\n\n const blinkOff =\n frame >= typeEnd + BLINK_FRAMES &&\n Math.floor((frame - typeEnd) / BLINK_FRAMES) % 2 === 1;\n\n const caretStyle = {\n background: `linear-gradient(180deg, ${caretColor}, ${caretColorEnd})`,\n borderRadius: fontSize * 0.03,\n };\n\n const overlayWidth =\n frame < expandEnd\n ? `calc(${(expand * 100).toFixed(3)}% + ${((1 - expand) * caretWidth).toFixed(2)}px)`\n : `calc(${((1 - collapse) * 100).toFixed(3)}% + ${(collapse * caretWidth).toFixed(2)}px)`;\n\n const tailSolidStop =\n frame < expandEnd ? 100 - 90 * expand : 10 + 90 * collapse;\n const tailMask =\n frame >= swapAt\n ? `linear-gradient(90deg, black ${tailSolidStop.toFixed(1)}%, transparent 100%)`\n : undefined;\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n position: \"relative\",\n display: \"inline-flex\",\n alignItems: \"center\",\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.15,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n <span\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n visibility: frame < expandEnd ? \"visible\" : \"hidden\",\n }}\n >\n {fromText}\n </span>\n <span\n aria-hidden\n style={{\n ...caretStyle,\n display: \"inline-block\",\n flexShrink: 0,\n width: caretWidth,\n height: caretHeight,\n marginLeft: CARET_GAP_EM * fontSize,\n visibility: \"hidden\",\n }}\n />\n {!typing && (\n <span\n aria-hidden\n style={{\n ...caretStyle,\n position: \"absolute\",\n top: \"50%\",\n transform: \"translateY(-50%)\",\n height: caretHeight,\n ...(frame < swapAt\n ? { right: 0, width: caretWidth }\n : frame < expandEnd\n ? { right: 0, width: overlayWidth }\n : { left: 0, width: overlayWidth }),\n WebkitMaskImage: tailMask,\n maskImage: tailMask,\n opacity: frame >= caretVisibleAt ? 1 : 0,\n }}\n />\n )}\n {typing && (\n <span\n style={{\n position: \"absolute\",\n left: 0,\n top: \"50%\",\n transform: `translate(${typedShift.toFixed(1)}px, -50%)`,\n display: \"inline-flex\",\n alignItems: \"center\",\n whiteSpace: \"pre\",\n }}\n >\n <span style={{ display: \"inline-block\", whiteSpace: \"pre\" }}>\n {typed}\n </span>\n <span\n aria-hidden\n style={{\n ...caretStyle,\n display: \"inline-block\",\n flexShrink: 0,\n width: caretWidth,\n height: caretHeight,\n marginLeft: CARET_GAP_EM * fontSize,\n opacity: blinkOff ? 0 : 1,\n }}\n />\n </span>\n )}\n </span>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/caret-swap.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/centered-word-build.json b/registry-artifacts/centered-word-build.json
new file mode 100644
index 00000000..693d0dfd
--- /dev/null
+++ b/registry-artifacts/centered-word-build.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "centered-word-build",
+ "title": "Centered Word Build",
+ "description": "Words appear sharply from below while the centered phrase pushes cumulatively closer on every beat, then clears through a soft left-to-right opacity wipe.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/centered-word-build/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface CenteredWordBuildProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n accel?: number;\n rise?: number;\n zoomStep?: number;\n settleFrames?: number;\n exitAt?: number;\n exitFrames?: number;\n speed?: number;\n className?: string;\n}\n\nfunction revealFrame(index: number, wordGap: number, accel: number): number {\n let frame = 0;\n\n for (let step = 1; step <= index; step++) {\n // Establish two even beats before tightening the cadence.\n frame += wordGap * accel ** Math.max(step - 2, 0);\n }\n\n return Math.round(frame);\n}\n\nexport function centeredWordBuildLength(\n text: string,\n wordGap = 11,\n accel = 0.75,\n settleFrames = 9,\n exitAt = 51,\n exitFrames = 12,\n): number {\n const words = text.trim().split(/\\s+/).filter(Boolean);\n if (words.length === 0) return 0;\n\n const lastReveal = revealFrame(words.length - 1, wordGap, accel);\n return Math.max(lastReveal + settleFrames, exitAt + exitFrames);\n}\n\nconst settleEasing = Easing.bezier(0.16, 1, 0.3, 1);\n\nexport function CenteredWordBuild({\n text,\n fontSize = 52,\n color = \"#fff3df\",\n fontWeight = 400,\n wordGap = 11,\n accel = 0.75,\n rise = 0.18,\n zoomStep = 0.035,\n settleFrames = 9,\n exitAt = 51,\n exitFrames = 12,\n speed = 1,\n className,\n}: CenteredWordBuildProps) {\n const frame = useCurrentFrame() * speed;\n const words = text.trim().split(/\\s+/).filter(Boolean);\n\n if (words.length === 0) return null;\n\n const visibleCount = words.filter(\n (_, index) => frame >= revealFrame(index, wordGap, accel),\n ).length;\n let cameraScale = 1;\n for (let index = 1; index < visibleCount; index++) {\n const revealAt = revealFrame(index, wordGap, accel);\n cameraScale +=\n zoomStep *\n interpolate(\n frame,\n [revealAt, revealAt + Math.max(settleFrames, 0.001)],\n [0, 1],\n {\n easing: settleEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n }\n const exitProgress = interpolate(\n frame,\n [exitAt, exitAt + Math.max(exitFrames, 0.001)],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const fadeStart = -35 + exitProgress * 135;\n const fadeEnd = fadeStart + 35;\n const exitMask = `linear-gradient(90deg, transparent ${fadeStart}%, black ${fadeEnd}%)`;\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n color,\n display: \"inline-block\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n fontSize,\n fontWeight,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.1,\n whiteSpace: \"nowrap\",\n scale: `${cameraScale}`,\n opacity: exitProgress >= 1 ? 0 : 1,\n maskImage: exitProgress > 0 ? exitMask : undefined,\n WebkitMaskImage: exitProgress > 0 ? exitMask : undefined,\n maskRepeat: \"no-repeat\",\n WebkitMaskRepeat: \"no-repeat\",\n }}\n >\n {words.slice(0, visibleCount).map((word, index) => {\n const revealAt = revealFrame(index, wordGap, accel);\n const y = interpolate(\n frame,\n [revealAt, revealAt + Math.max(settleFrames, 0.001)],\n [rise * fontSize, 0],\n {\n easing: settleEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n\n return (\n <span\n key={index}\n style={{\n display: \"inline-block\",\n marginLeft: index > 0 ? \"0.25em\" : undefined,\n translate: `0 ${y}px`,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/centered-word-build.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/elements/caret-swap.json b/registry-artifacts/elements/caret-swap.json
new file mode 100644
index 00000000..1b7b317a
--- /dev/null
+++ b/registry-artifacts/elements/caret-swap.json
@@ -0,0 +1,17 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": {
+ "width": 1100,
+ "height": 120
+ },
+ "displayName": "Caret Swap",
+ "durationInFrames": 67,
+ "installationMode": "component-owned-sequence",
+ "slug": "caret-swap",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface CaretSwapProps {\n fromText: string;\n toText: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n caretColor?: string;\n caretColorEnd?: string;\n swapAt?: number;\n typeSpeed?: number;\n speed?: number;\n className?: string;\n}\n\nconst CARET_LEAD = 7;\nconst EXPAND_FRAMES = 6;\nconst COLLAPSE_FRAMES = 7;\nconst IDLE_FRAMES = 7;\nconst BLINK_FRAMES = 8;\nconst CARET_WIDTH_EM = 0.08;\nconst CARET_HEIGHT_EM = 1.1;\nconst CARET_GAP_EM = 0.06;\nconst CHAR_WIDTH_EM = 0.52;\nconst TYPE_ACCEL = 0.96;\n\nfunction typeElapsed(count: number, typeSpeed: number): number {\n return (typeSpeed * (1 - TYPE_ACCEL ** count)) / (1 - TYPE_ACCEL);\n}\n\nfunction caretSwapLength(\n toText: string,\n swapAt = 20,\n typeSpeed = 1,\n): number {\n return Math.ceil(\n swapAt +\n EXPAND_FRAMES +\n COLLAPSE_FRAMES +\n IDLE_FRAMES +\n typeElapsed(Array.from(toText).length, typeSpeed),\n );\n}\n\nconst expandEasing = Easing.bezier(0.6, 0, 0.8, 0.4);\nconst collapseEasing = Easing.bezier(0.2, 0.7, 0.3, 1);\n\nfunction CaretSwapBase({\n fromText,\n toText,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n caretColor = \"#FF4DAA\",\n caretColorEnd = \"#8A5CF6\",\n swapAt = 20,\n typeSpeed = 1,\n speed = 1,\n className,\n}: CaretSwapProps) {\n const frame = useCurrentFrame() * speed;\n\n const toChars = Array.from(toText);\n const caretWidth = CARET_WIDTH_EM * fontSize;\n const caretHeight = CARET_HEIGHT_EM * fontSize;\n\n const caretVisibleAt = Math.max(swapAt - CARET_LEAD, 0);\n const expandEnd = swapAt + EXPAND_FRAMES;\n const collapseEnd = expandEnd + COLLAPSE_FRAMES;\n const typeStart = collapseEnd + IDLE_FRAMES;\n const typeEnd = typeStart + typeElapsed(toChars.length, typeSpeed);\n\n const expand = interpolate(frame, [swapAt, expandEnd], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: expandEasing,\n });\n const collapse = interpolate(frame, [expandEnd, collapseEnd], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: collapseEasing,\n });\n\n const typing = frame >= typeStart;\n let typedCount = 0;\n if (typing) {\n while (\n typedCount < toChars.length &&\n typeElapsed(typedCount, typeSpeed) <= frame - typeStart\n ) {\n typedCount++;\n }\n }\n const typed = toChars.slice(0, typedCount).join(\"\");\n\n const anchorWidthEm =\n Array.from(fromText).length * CHAR_WIDTH_EM +\n CARET_WIDTH_EM +\n CARET_GAP_EM;\n const targetShiftEm = (anchorWidthEm - toChars.length * CHAR_WIDTH_EM) / 2;\n const typeProgress = toChars.length > 0 ? typedCount / toChars.length : 0;\n const typedShift = targetShiftEm * typeProgress * fontSize;\n\n const blinkOff =\n frame >= typeEnd + BLINK_FRAMES &&\n Math.floor((frame - typeEnd) / BLINK_FRAMES) % 2 === 1;\n\n const caretStyle = {\n background: `linear-gradient(180deg, ${caretColor}, ${caretColorEnd})`,\n borderRadius: fontSize * 0.03,\n };\n\n const overlayWidth =\n frame < expandEnd\n ? `calc(${(expand * 100).toFixed(3)}% + ${((1 - expand) * caretWidth).toFixed(2)}px)`\n : `calc(${((1 - collapse) * 100).toFixed(3)}% + ${(collapse * caretWidth).toFixed(2)}px)`;\n\n const tailSolidStop =\n frame < expandEnd ? 100 - 90 * expand : 10 + 90 * collapse;\n const tailMask =\n frame >= swapAt\n ? `linear-gradient(90deg, black ${tailSolidStop.toFixed(1)}%, transparent 100%)`\n : undefined;\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n position: \"relative\",\n display: \"inline-flex\",\n alignItems: \"center\",\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.15,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n <span\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n visibility: frame < expandEnd ? \"visible\" : \"hidden\",\n }}\n >\n {fromText}\n </span>\n <span\n aria-hidden\n style={{\n ...caretStyle,\n display: \"inline-block\",\n flexShrink: 0,\n width: caretWidth,\n height: caretHeight,\n marginLeft: CARET_GAP_EM * fontSize,\n visibility: \"hidden\",\n }}\n />\n {!typing && (\n <span\n aria-hidden\n style={{\n ...caretStyle,\n position: \"absolute\",\n top: \"50%\",\n transform: \"translateY(-50%)\",\n height: caretHeight,\n ...(frame < swapAt\n ? { right: 0, width: caretWidth }\n : frame < expandEnd\n ? { right: 0, width: overlayWidth }\n : { left: 0, width: overlayWidth }),\n WebkitMaskImage: tailMask,\n maskImage: tailMask,\n opacity: frame >= caretVisibleAt ? 1 : 0,\n }}\n />\n )}\n {typing && (\n <span\n style={{\n position: \"absolute\",\n left: 0,\n top: \"50%\",\n transform: `translate(${typedShift.toFixed(1)}px, -50%)`,\n display: \"inline-flex\",\n alignItems: \"center\",\n whiteSpace: \"pre\",\n }}\n >\n <span style={{ display: \"inline-block\", whiteSpace: \"pre\" }}>\n {typed}\n </span>\n <span\n aria-hidden\n style={{\n ...caretStyle,\n display: \"inline-block\",\n flexShrink: 0,\n width: caretWidth,\n height: caretHeight,\n marginLeft: CARET_GAP_EM * fontSize,\n opacity: blinkOff ? 0 : 1,\n }}\n />\n </span>\n )}\n </span>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n fromText: {\n type: \"text-content\",\n default: \"Executing it?\",\n description: \"From text\",\n },\n toText: {\n type: \"text-content\",\n default: \"That's where everyone quits\",\n description: \"To text\",\n },\n fontSize: {\n type: \"number\",\n min: 12,\n max: 160,\n step: 1,\n default: 72,\n description: \"Font size\",\n hiddenFromList: false,\n },\n swapAt: {\n type: \"number\",\n min: 10,\n max: 120,\n step: 5,\n default: 20,\n description: \"Swap frame\",\n hiddenFromList: false,\n },\n typeSpeed: {\n type: \"number\",\n min: 1,\n max: 6,\n step: 1,\n default: 1,\n description: \"Frames / char\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#171717\",\n description: \"Color\",\n },\n caretColor: {\n type: \"color\",\n default: \"#FF4DAA\",\n description: \"Caret top\",\n },\n caretColorEnd: {\n type: \"color\",\n default: \"#8A5CF6\",\n description: \"Caret bottom\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n width: {\n type: \"number\",\n default: 1100,\n min: 10,\n step: 10,\n description: \"Width\",\n },\n height: {\n type: \"number\",\n default: 120,\n min: 10,\n step: 10,\n description: \"Height\",\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"fromText\",\"toText\",\"fontSize\",\"swapAt\",\"typeSpeed\",\"color\",\"caretColor\",\"caretColorEnd\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n fromText: \"Executing it?\",\n toText: \"That's where everyone quits\",\n fontSize: 72,\n swapAt: 20,\n typeSpeed: 1,\n color: \"#171717\",\n caretColor: \"#FF4DAA\",\n caretColorEnd: \"#8A5CF6\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype CaretSwapElementProps = InteractiveBaseProps &\n InteractiveTransformProps & { readonly width?: number; readonly height?: number } &\n ComponentProps<typeof CaretSwapBase>;\n\nconst CaretSwapInner = forwardRef<\n HTMLDivElement,\n CaretSwapElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, width = 1100, height = 120, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<CaretSwap>\"}\n outlineRef={outlineRef}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width,\n height,\n ...style,\n }}\n >\n <CaretSwapBase\n {...(componentProps as unknown as ComponentProps<typeof CaretSwapBase>)}\n />\n </div>\n </div>\n </Sequence>\n );\n});\n\nexport const CaretSwap = Interactive.withSchema({\n Component: CaretSwapInner,\n componentName: \"<CaretSwap>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 67
+}
diff --git a/registry-artifacts/elements/centered-word-build.json b/registry-artifacts/elements/centered-word-build.json
new file mode 100644
index 00000000..2f4d8930
--- /dev/null
+++ b/registry-artifacts/elements/centered-word-build.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Centered Word Build",
+ "durationInFrames": 63,
+ "installationMode": "component-owned-sequence",
+ "slug": "centered-word-build",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface CenteredWordBuildProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n accel?: number;\n rise?: number;\n zoomStep?: number;\n settleFrames?: number;\n exitAt?: number;\n exitFrames?: number;\n speed?: number;\n className?: string;\n}\n\nfunction revealFrame(index: number, wordGap: number, accel: number): number {\n let frame = 0;\n\n for (let step = 1; step <= index; step++) {\n // Establish two even beats before tightening the cadence.\n frame += wordGap * accel ** Math.max(step - 2, 0);\n }\n\n return Math.round(frame);\n}\n\nfunction centeredWordBuildLength(\n text: string,\n wordGap = 11,\n accel = 0.75,\n settleFrames = 9,\n exitAt = 51,\n exitFrames = 12,\n): number {\n const words = text.trim().split(/\\s+/).filter(Boolean);\n if (words.length === 0) return 0;\n\n const lastReveal = revealFrame(words.length - 1, wordGap, accel);\n return Math.max(lastReveal + settleFrames, exitAt + exitFrames);\n}\n\nconst settleEasing = Easing.bezier(0.16, 1, 0.3, 1);\n\nfunction CenteredWordBuildBase({\n text,\n fontSize = 52,\n color = \"#fff3df\",\n fontWeight = 400,\n wordGap = 11,\n accel = 0.75,\n rise = 0.18,\n zoomStep = 0.035,\n settleFrames = 9,\n exitAt = 51,\n exitFrames = 12,\n speed = 1,\n className,\n}: CenteredWordBuildProps) {\n const frame = useCurrentFrame() * speed;\n const words = text.trim().split(/\\s+/).filter(Boolean);\n\n if (words.length === 0) return null;\n\n const visibleCount = words.filter(\n (_, index) => frame >= revealFrame(index, wordGap, accel),\n ).length;\n let cameraScale = 1;\n for (let index = 1; index < visibleCount; index++) {\n const revealAt = revealFrame(index, wordGap, accel);\n cameraScale +=\n zoomStep *\n interpolate(\n frame,\n [revealAt, revealAt + Math.max(settleFrames, 0.001)],\n [0, 1],\n {\n easing: settleEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n }\n const exitProgress = interpolate(\n frame,\n [exitAt, exitAt + Math.max(exitFrames, 0.001)],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const fadeStart = -35 + exitProgress * 135;\n const fadeEnd = fadeStart + 35;\n const exitMask = `linear-gradient(90deg, transparent ${fadeStart}%, black ${fadeEnd}%)`;\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n color,\n display: \"inline-block\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n fontSize,\n fontWeight,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.1,\n whiteSpace: \"nowrap\",\n scale: `${cameraScale}`,\n opacity: exitProgress >= 1 ? 0 : 1,\n maskImage: exitProgress > 0 ? exitMask : undefined,\n WebkitMaskImage: exitProgress > 0 ? exitMask : undefined,\n maskRepeat: \"no-repeat\",\n WebkitMaskRepeat: \"no-repeat\",\n }}\n >\n {words.slice(0, visibleCount).map((word, index) => {\n const revealAt = revealFrame(index, wordGap, accel);\n const y = interpolate(\n frame,\n [revealAt, revealAt + Math.max(settleFrames, 0.001)],\n [rise * fontSize, 0],\n {\n easing: settleEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n\n return (\n <span\n key={index}\n style={{\n display: \"inline-block\",\n marginLeft: index > 0 ? \"0.25em\" : undefined,\n translate: `0 ${y}px`,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"everything we learn from\",\n description: \"Text\",\n },\n fontSize: {\n type: \"number\",\n min: 24,\n max: 160,\n step: 1,\n default: 52,\n description: \"Font size\",\n hiddenFromList: false,\n },\n wordGap: {\n type: \"number\",\n min: 4,\n max: 24,\n step: 1,\n default: 11,\n description: \"First word gaps\",\n hiddenFromList: false,\n },\n accel: {\n type: \"number\",\n min: 0.4,\n max: 1,\n step: 0.05,\n default: 0.75,\n description: \"Later gap multiplier\",\n hiddenFromList: false,\n },\n rise: {\n type: \"number\",\n min: 0,\n max: 0.5,\n step: 0.01,\n default: 0.18,\n description: \"Word rise (em)\",\n hiddenFromList: false,\n },\n zoomStep: {\n type: \"number\",\n min: 0,\n max: 0.1,\n step: 0.005,\n default: 0.035,\n description: \"Zoom / word\",\n hiddenFromList: false,\n },\n settleFrames: {\n type: \"number\",\n min: 2,\n max: 20,\n step: 1,\n default: 9,\n description: \"Rise and zoom frames\",\n hiddenFromList: false,\n },\n exitAt: {\n type: \"number\",\n min: 20,\n max: 100,\n step: 1,\n default: 51,\n description: \"Exit start frame\",\n hiddenFromList: false,\n },\n exitFrames: {\n type: \"number\",\n min: 4,\n max: 30,\n step: 1,\n default: 12,\n description: \"Exit duration\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#fff3df\",\n description: \"Color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"wordGap\",\"accel\",\"rise\",\"zoomStep\",\"settleFrames\",\"exitAt\",\"exitFrames\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"everything we learn from\",\n fontSize: 52,\n wordGap: 11,\n accel: 0.75,\n rise: 0.18,\n zoomStep: 0.035,\n settleFrames: 9,\n exitAt: 51,\n exitFrames: 12,\n color: \"#fff3df\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype CenteredWordBuildElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof CenteredWordBuildBase>;\n\nconst CenteredWordBuildInner = forwardRef<\n HTMLDivElement,\n CenteredWordBuildElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<CenteredWordBuild>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <CenteredWordBuildBase\n {...(componentProps as unknown as ComponentProps<typeof CenteredWordBuildBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const CenteredWordBuild = Interactive.withSchema({\n Component: CenteredWordBuildInner,\n componentName: \"<CenteredWordBuild>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 63
+}
diff --git a/registry-artifacts/elements/fog-rise.json b/registry-artifacts/elements/fog-rise.json
new file mode 100644
index 00000000..d85b0db7
--- /dev/null
+++ b/registry-artifacts/elements/fog-rise.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Fog Rise",
+ "durationInFrames": 27,
+ "installationMode": "component-owned-sequence",
+ "slug": "fog-rise",
+ "sourceCode": "import { Interactive, Sequence, interpolate, spring, useCurrentFrame, useVideoConfig, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface FogRiseProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n stagger?: number;\n blur?: number;\n tilt?: number;\n depth?: number;\n lift?: number;\n drift?: number;\n exitAt?: number;\n exitAccel?: number;\n mass?: number;\n stiffness?: number;\n damping?: number;\n spreadGap?: number;\n tracking?: number;\n resolveFrames?: number;\n fadeFrames?: number;\n speed?: number;\n className?: string;\n}\n\nfunction fogRiseLength(\n text: string,\n stagger = 5,\n resolveFrames = 22,\n): number {\n const chars = Array.from(text);\n if (chars.length === 0) return 0;\n const center = (chars.length - 1) / 2;\n const maxRing = Math.floor(center);\n return maxRing * stagger + resolveFrames;\n}\n\nfunction FogRiseBase({\n text,\n fontSize = 304,\n color = \"#004CFF\",\n fontWeight = 400,\n stagger = 5,\n blur = 0.17,\n tilt = 55,\n depth = 5,\n lift = 0.85,\n drift = 0.005,\n exitAt = 60,\n exitAccel = 0.04,\n mass = 1.3,\n stiffness = 60,\n damping = 13,\n spreadGap = 0.07,\n tracking = -0.07,\n resolveFrames = 22,\n fadeFrames = 18,\n speed = 1,\n className,\n}: FogRiseProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const chars = Array.from(text);\n const center = (chars.length - 1) / 2;\n const minRing = chars.length % 2 === 0 ? 0.5 : 0;\n const maxRing = Math.floor(center);\n\n const converge = spring({\n frame,\n fps,\n config: { mass, stiffness, damping },\n });\n const angle = tilt * (1 - converge);\n const liftY = lift * fontSize * (1 - converge);\n const driftY = drift * fontSize * frame;\n const exitT = exitAt > 0 ? Math.max(frame - exitAt, 0) : 0;\n const exitY = 0.5 * exitAccel * exitT * exitT * fontSize;\n const gap = spreadGap * fontSize * (1 - converge);\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"flex-end\",\n justifyContent: \"center\",\n paddingBottom: \"6%\",\n whiteSpace: \"nowrap\",\n perspective: `${depth * fontSize}px`,\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n transform: `translateY(${liftY - driftY - exitY}px) rotateX(${-angle}deg)`,\n transformOrigin: \"50% 100%\",\n fontSize,\n fontWeight,\n color,\n letterSpacing: `${tracking}em`,\n lineHeight: 1.15,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {chars.map((char, j) => {\n const ring = Math.abs(j - center) - minRing;\n const startAt = ring * stagger;\n\n const opacity = interpolate(\n frame,\n [startAt, startAt + fadeFrames],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const charBlur =\n blur *\n fontSize *\n interpolate(frame, [0, maxRing * stagger + resolveFrames], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n return (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight: j < chars.length - 1 ? gap : undefined,\n opacity,\n filter: charBlur > 0.05 ? `blur(${charBlur}px)` : undefined,\n }}\n >\n {char}\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"Remocn\",\n description: \"Text\",\n },\n fontSize: {\n type: \"number\",\n min: 40,\n max: 560,\n step: 4,\n default: 304,\n description: \"Font size\",\n hiddenFromList: false,\n },\n stagger: {\n type: \"number\",\n min: 0,\n max: 15,\n step: 1,\n default: 5,\n description: \"Frames / ring\",\n hiddenFromList: false,\n },\n blur: {\n type: \"number\",\n min: 0,\n max: 0.5,\n step: 0.01,\n default: 0.17,\n description: \"Blur (em)\",\n hiddenFromList: false,\n },\n tilt: {\n type: \"number\",\n min: 0,\n max: 90,\n step: 5,\n default: 55,\n description: \"Start tilt (deg)\",\n hiddenFromList: false,\n },\n depth: {\n type: \"number\",\n min: 1,\n max: 8,\n step: 0.5,\n default: 5,\n description: \"Perspective depth\",\n hiddenFromList: false,\n },\n lift: {\n type: \"number\",\n min: 0,\n max: 1,\n step: 0.05,\n default: 0.85,\n description: \"Lift (em)\",\n hiddenFromList: false,\n },\n drift: {\n type: \"number\",\n min: 0,\n max: 0.012,\n step: 0.001,\n default: 0.005,\n description: \"Drift (em / frame)\",\n hiddenFromList: false,\n },\n exitAt: {\n type: \"number\",\n min: 0,\n max: 200,\n step: 5,\n default: 60,\n description: \"Exit frame\",\n hiddenFromList: false,\n },\n exitAccel: {\n type: \"number\",\n min: 0.002,\n max: 0.05,\n step: 0.002,\n default: 0.04,\n description: \"Exit accel\",\n hiddenFromList: false,\n },\n mass: {\n type: \"number\",\n min: 0.3,\n max: 3,\n step: 0.1,\n default: 1.3,\n description: \"Mass\",\n hiddenFromList: false,\n },\n stiffness: {\n type: \"number\",\n min: 30,\n max: 250,\n step: 10,\n default: 60,\n description: \"Stiffness\",\n hiddenFromList: false,\n },\n damping: {\n type: \"number\",\n min: 5,\n max: 30,\n step: 1,\n default: 13,\n description: \"Damping\",\n hiddenFromList: false,\n },\n spreadGap: {\n type: \"number\",\n min: 0,\n max: 0.3,\n step: 0.01,\n default: 0.07,\n description: \"Spread gap (em)\",\n hiddenFromList: false,\n },\n tracking: {\n type: \"number\",\n min: -0.12,\n max: 0,\n step: 0.005,\n default: -0.07,\n description: \"Tracking (em)\",\n hiddenFromList: false,\n },\n resolveFrames: {\n type: \"number\",\n min: 8,\n max: 50,\n step: 1,\n default: 22,\n description: \"Converge frames\",\n hiddenFromList: false,\n },\n fadeFrames: {\n type: \"number\",\n min: 2,\n max: 25,\n step: 1,\n default: 18,\n description: \"Fade frames\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#004CFF\",\n description: \"Color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"stagger\",\"blur\",\"tilt\",\"depth\",\"lift\",\"drift\",\"exitAt\",\"exitAccel\",\"mass\",\"stiffness\",\"damping\",\"spreadGap\",\"tracking\",\"resolveFrames\",\"fadeFrames\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"Remocn\",\n fontSize: 304,\n stagger: 5,\n blur: 0.17,\n tilt: 55,\n depth: 5,\n lift: 0.85,\n drift: 0.005,\n exitAt: 60,\n exitAccel: 0.04,\n mass: 1.3,\n stiffness: 60,\n damping: 13,\n spreadGap: 0.07,\n tracking: -0.07,\n resolveFrames: 22,\n fadeFrames: 18,\n color: \"#004CFF\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype FogRiseElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof FogRiseBase>;\n\nconst FogRiseInner = forwardRef<\n HTMLDivElement,\n FogRiseElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<FogRise>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <FogRiseBase\n {...(componentProps as unknown as ComponentProps<typeof FogRiseBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const FogRise = Interactive.withSchema({\n Component: FogRiseInner,\n componentName: \"<FogRise>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 27
+}
diff --git a/registry-artifacts/elements/gradient-scale-cut-text.json b/registry-artifacts/elements/gradient-scale-cut-text.json
new file mode 100644
index 00000000..d6d5e44e
--- /dev/null
+++ b/registry-artifacts/elements/gradient-scale-cut-text.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Gradient Scale Cut Text",
+ "durationInFrames": 36,
+ "installationMode": "component-owned-sequence",
+ "slug": "gradient-scale-cut-text",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface GradientScaleCutTextProps {\n text?: string;\n giantFontSize?: number;\n compactFontSize?: number;\n fontWeight?: number;\n gradientStart?: string;\n gradientEnd?: string;\n ghostColor?: string;\n backgroundColor?: string;\n anchorOffsetX?: number;\n giantTravel?: number;\n settleTravel?: number;\n cutFrame?: number;\n revealSoftness?: number;\n compactBlur?: number;\n speed?: number;\n className?: string;\n}\n\nconst gradientScaleCutTextLength = 36;\n\nconst REVEAL_END = 33;\nconst SETTLE_FRAMES = 8;\nconst GIANT_Y = -28;\nconst GIANT_X_CORRECTION = -48;\nconst COMPACT_Y = 5;\nconst COMPACT_X_SCALE = 0.87;\nconst COMPACT_START_X_CORRECTION = 28;\nconst FONT_FAMILY = \"Arial, Helvetica, sans-serif\";\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\ninterface TextLayerProps {\n text: string;\n fontSize: number;\n fontWeight: number;\n gradientStart: string;\n gradientEnd: string;\n ghostColor: string;\n maskImage: string;\n}\n\nfunction TextLayer({\n text,\n fontSize,\n fontWeight,\n gradientStart,\n gradientEnd,\n ghostColor,\n maskImage,\n}: TextLayerProps) {\n const textStyle = {\n display: \"block\",\n fontFamily: FONT_FAMILY,\n fontSize,\n fontWeight,\n letterSpacing: 0,\n lineHeight: 1.12,\n whiteSpace: \"nowrap\" as const,\n };\n\n return (\n <div style={{ position: \"relative\" }}>\n <span style={{ ...textStyle, color: ghostColor }}>{text}</span>\n <span\n style={{\n ...textStyle,\n position: \"absolute\",\n inset: 0,\n color: \"transparent\",\n backgroundImage: `linear-gradient(90deg, ${gradientStart} 0%, ${gradientStart} 4%, ${gradientEnd} 26%, ${gradientEnd} 100%)`,\n backgroundClip: \"text\",\n maskImage,\n maskRepeat: \"no-repeat\",\n opacity: 1,\n WebkitBackgroundClip: \"text\",\n WebkitMaskImage: maskImage,\n WebkitMaskRepeat: \"no-repeat\",\n }}\n >\n {text}\n </span>\n </div>\n );\n}\n\nfunction GradientScaleCutTextBase({\n text = \"Introducing\",\n giantFontSize = 520,\n compactFontSize = 132,\n fontWeight = 700,\n gradientStart = \"#f04a14\",\n gradientEnd = \"#f3f1f1\",\n ghostColor = \"#170b0a\",\n backgroundColor = \"#000000\",\n anchorOffsetX = -16,\n giantTravel = 400,\n settleTravel = 160,\n cutFrame = 13,\n revealSoftness = 14,\n compactBlur = 12,\n speed = 1,\n className,\n}: GradientScaleCutTextProps) {\n const frame = useCurrentFrame() * Math.max(speed, 0);\n const safeCutFrame = Math.max(cutFrame, 1);\n const safeGiantFontSize = Math.max(giantFontSize, 1);\n const safeCompactFontSize = Math.max(compactFontSize, 1);\n const safeSoftness = Math.max(revealSoftness, 0);\n const safeBlur = Math.max(compactBlur, 0);\n const revealProgress = interpolate(frame, [0, REVEAL_END], [0.02, 1], {\n ...clamp,\n easing: Easing.bezier(0.22, 0.74, 0.24, 1),\n });\n const revealEdge = revealProgress * (100 + safeSoftness / 2);\n const revealSolid = Math.max(0, revealEdge - safeSoftness / 2);\n const revealFade = revealEdge + safeSoftness / 2;\n const maskImage = `linear-gradient(90deg, #000 0%, #000 ${revealSolid}%, transparent ${revealFade}%, transparent ${revealFade}%)`;\n const giantProgress = interpolate(\n frame,\n [0, Math.max(safeCutFrame - 1, 1)],\n [0, 1],\n {\n ...clamp,\n easing: Easing.out(Easing.cubic),\n },\n );\n const settleProgress = interpolate(\n frame,\n [safeCutFrame, safeCutFrame + SETTLE_FRAMES],\n [0, 1],\n {\n ...clamp,\n easing: Easing.out(Easing.cubic),\n },\n );\n const moveProgress = interpolate(\n frame,\n [\n safeCutFrame + 1,\n safeCutFrame + 2,\n safeCutFrame + 4,\n safeCutFrame + SETTLE_FRAMES,\n ],\n [0, 0.58, 0.875, 1],\n clamp,\n );\n const showGiant = frame < safeCutFrame;\n const compactX =\n interpolate(moveProgress, [0, 1], [settleTravel, 0], clamp) +\n COMPACT_START_X_CORRECTION * (1 - moveProgress);\n const compactBlurValue = safeBlur * (1 - settleProgress);\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n backgroundColor,\n }}\n >\n {showGiant ? (\n <div\n style={{\n position: \"absolute\",\n top: `calc(50% + ${GIANT_Y}px)`,\n left: `calc(50% + ${anchorOffsetX + GIANT_X_CORRECTION - giantTravel * giantProgress}px)`,\n opacity: 1,\n transform: \"translate3d(0, -50%, 0)\",\n }}\n >\n <TextLayer\n text={text}\n fontSize={safeGiantFontSize}\n fontWeight={fontWeight}\n gradientStart={gradientStart}\n gradientEnd={gradientEnd}\n ghostColor={ghostColor}\n maskImage={maskImage}\n />\n </div>\n ) : (\n <div\n style={{\n position: \"absolute\",\n top: `calc(50% + ${COMPACT_Y}px)`,\n left: `calc(50% + ${anchorOffsetX + compactX}px)`,\n filter: `blur(${compactBlurValue}px)`,\n opacity: 1,\n transform: `translate3d(-50%, -50%, 0) scaleX(${COMPACT_X_SCALE})`,\n transformOrigin: \"center\",\n }}\n >\n <TextLayer\n text={text}\n fontSize={safeCompactFontSize}\n fontWeight={fontWeight}\n gradientStart={gradientStart}\n gradientEnd={gradientEnd}\n ghostColor={ghostColor}\n maskImage={maskImage}\n />\n </div>\n )}\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"Introducing\",\n description: \"Text\",\n },\n giantFontSize: {\n type: \"number\",\n min: 160,\n max: 720,\n step: 4,\n default: 520,\n description: \"Giant font size\",\n hiddenFromList: false,\n },\n compactFontSize: {\n type: \"number\",\n min: 40,\n max: 240,\n step: 2,\n default: 132,\n description: \"Compact font size\",\n hiddenFromList: false,\n },\n anchorOffsetX: {\n type: \"number\",\n min: -400,\n max: 400,\n step: 4,\n default: -16,\n description: \"Final horizontal anchor offset\",\n hiddenFromList: false,\n },\n giantTravel: {\n type: \"number\",\n min: 0,\n max: 800,\n step: 4,\n default: 400,\n description: \"Giant phase left travel\",\n hiddenFromList: false,\n },\n settleTravel: {\n type: \"number\",\n min: 0,\n max: 400,\n step: 4,\n default: 160,\n description: \"Compact entrance travel\",\n hiddenFromList: false,\n },\n cutFrame: {\n type: \"number\",\n min: 4,\n max: 24,\n step: 1,\n default: 13,\n description: \"Hard cut frame\",\n hiddenFromList: false,\n },\n revealSoftness: {\n type: \"number\",\n min: 0,\n max: 40,\n step: 1,\n default: 14,\n description: \"Reveal edge softness\",\n hiddenFromList: false,\n },\n compactBlur: {\n type: \"number\",\n min: 0,\n max: 40,\n step: 1,\n default: 12,\n description: \"Blur after the cut\",\n hiddenFromList: false,\n },\n gradientStart: {\n type: \"color\",\n default: \"#f04a14\",\n description: \"Gradient start\",\n },\n gradientEnd: {\n type: \"color\",\n default: \"#f3f1f1\",\n description: \"Gradient end\",\n },\n ghostColor: {\n type: \"color\",\n default: \"#170b0a\",\n description: \"Unrevealed text color\",\n },\n backgroundColor: {\n type: \"color\",\n default: \"#000000\",\n description: \"Background color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"700\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"giantFontSize\",\"compactFontSize\",\"anchorOffsetX\",\"giantTravel\",\"settleTravel\",\"cutFrame\",\"revealSoftness\",\"compactBlur\",\"gradientStart\",\"gradientEnd\",\"ghostColor\",\"backgroundColor\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"Introducing\",\n giantFontSize: 520,\n compactFontSize: 132,\n anchorOffsetX: -16,\n giantTravel: 400,\n settleTravel: 160,\n cutFrame: 13,\n revealSoftness: 14,\n compactBlur: 12,\n gradientStart: \"#f04a14\",\n gradientEnd: \"#f3f1f1\",\n ghostColor: \"#170b0a\",\n backgroundColor: \"#000000\",\n fontWeight: \"700\",\n speed: 1,\n};\n\ntype GradientScaleCutTextElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof GradientScaleCutTextBase>;\n\nconst GradientScaleCutTextInner = forwardRef<\n HTMLDivElement,\n GradientScaleCutTextElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<GradientScaleCutText>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <GradientScaleCutTextBase\n {...(componentProps as unknown as ComponentProps<typeof GradientScaleCutTextBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const GradientScaleCutText = Interactive.withSchema({\n Component: GradientScaleCutTextInner,\n componentName: \"<GradientScaleCutText>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 36
+}
diff --git a/registry-artifacts/elements/inline-pill-takeover.json b/registry-artifacts/elements/inline-pill-takeover.json
new file mode 100644
index 00000000..b3edf3e9
--- /dev/null
+++ b/registry-artifacts/elements/inline-pill-takeover.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Inline Pill Takeover",
+ "durationInFrames": 30,
+ "installationMode": "component-owned-sequence",
+ "slug": "inline-pill-takeover",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface InlinePillTakeoverProps {\n before: string;\n insert: string;\n after: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n pillWidth?: number;\n pillColor?: string;\n pillTextColor?: string;\n expandFrames?: number;\n pillRevealHeightScale?: number;\n pillGrowAt?: number;\n pillGrowFrames?: number;\n pillGrowWidthScale?: number;\n pillGrowHeightScale?: number;\n outerExitFrames?: number;\n takeoverAt?: number;\n takeoverScale?: number;\n blur?: number;\n speed?: number;\n className?: string;\n}\n\nconst PRE_CUT_FRAMES = 12;\nconst TAKEOVER_SETTLE_FRAMES = 6;\nconst PRE_CUT_CAMERA_SCALE = 1.25;\nconst CAMERA_CUT_ENTRY_PROGRESS = 0.86;\nconst expandEasing = Easing.out(Easing.quad);\nconst pillGrowEasing = Easing.inOut(Easing.quad);\nconst fadeEasing = Easing.in(Easing.cubic);\nconst preCutEasing = Easing.out(Easing.quad);\nconst takeoverSettleEasing = Easing.out(Easing.cubic);\n\nfunction InlinePillTakeoverBase({\n before,\n insert,\n after,\n fontSize = 52,\n color = \"#fff3df\",\n fontWeight = 400,\n pillWidth = 260,\n pillColor = \"#fffaf0\",\n pillTextColor = \"#1c1210\",\n expandFrames = 12,\n pillRevealHeightScale = 0.35,\n pillGrowAt = 12,\n pillGrowFrames = 24,\n pillGrowWidthScale = 1.08,\n pillGrowHeightScale = 1.16,\n outerExitFrames = 18,\n takeoverAt = 12,\n takeoverScale = 2.15,\n blur = 12,\n speed = 1,\n className,\n}: InlinePillTakeoverProps) {\n const frame = useCurrentFrame() * speed;\n const safeExpandFrames = Math.max(expandFrames, 0.001);\n const pillGrowEnd = pillGrowAt + Math.max(pillGrowFrames, 0.001);\n const outerExitEnd = Math.max(outerExitFrames, 2.001);\n const dashWidth = fontSize * 0.72;\n const pillHeight = fontSize * 1.22;\n const cutAt = takeoverAt + PRE_CUT_FRAMES;\n const cutEntryScale = takeoverScale * CAMERA_CUT_ENTRY_PROGRESS;\n\n const expand = interpolate(frame, [0, safeExpandFrames], [0, 1], {\n easing: expandEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const pillGrowProgress = interpolate(\n frame,\n [pillGrowAt, pillGrowEnd],\n [0, 1],\n {\n easing: pillGrowEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const outerExit = interpolate(frame, [2, outerExitEnd], [0, 1], {\n easing: fadeEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const pillTextOpacity = frame >= 3 ? 1 : 0;\n const preCutCameraScale = interpolate(\n frame,\n [takeoverAt, cutAt - 1],\n [1, PRE_CUT_CAMERA_SCALE],\n {\n easing: preCutEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const postCutCameraScale = interpolate(\n frame,\n [cutAt, cutAt + TAKEOVER_SETTLE_FRAMES],\n [cutEntryScale, takeoverScale],\n {\n easing: takeoverSettleEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const cameraScale = frame < cutAt ? preCutCameraScale : postCutCameraScale;\n const revealedPillWidth = dashWidth + (pillWidth - dashWidth) * expand;\n const revealedPillHeight =\n pillHeight * (pillRevealHeightScale + (1 - pillRevealHeightScale) * expand);\n const pillWidthGrow = 1 + (pillGrowWidthScale - 1) * pillGrowProgress;\n const pillHeightGrow = 1 + (pillGrowHeightScale - 1) * pillGrowProgress;\n const animatedPillWidth = revealedPillWidth * pillWidthGrow;\n const animatedPillHeight = revealedPillHeight * pillHeightGrow;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n transform: `scale(${cameraScale})`,\n transformOrigin: \"center\",\n }}\n >\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n width: \"100%\",\n gap: `${fontSize * 0.16}px`,\n whiteSpace: \"nowrap\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n fontSize,\n fontWeight,\n letterSpacing: \"-0.02em\",\n lineHeight: 1,\n }}\n >\n <span\n style={{\n flex: 1,\n textAlign: \"right\",\n color,\n opacity: 1 - outerExit,\n filter: outerExit > 0 ? `blur(${blur * outerExit}px)` : undefined,\n }}\n >\n {before}\n </span>\n\n <span\n style={{\n position: \"relative\",\n display: \"inline-block\",\n flexShrink: 0,\n width: animatedPillWidth,\n height: animatedPillHeight,\n overflow: \"hidden\",\n borderRadius: animatedPillHeight / 2,\n background: pillColor,\n color: pillTextColor,\n }}\n >\n <span\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n translate: \"-50% -50%\",\n fontSize: fontSize * 0.84,\n opacity: pillTextOpacity,\n whiteSpace: \"nowrap\",\n }}\n >\n {insert}\n </span>\n </span>\n\n <span\n style={{\n flex: 1,\n textAlign: \"left\",\n color,\n opacity: 1 - outerExit,\n filter: outerExit > 0 ? `blur(${blur * outerExit}px)` : undefined,\n }}\n >\n {after}\n </span>\n </div>\n </div>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n before: {\n type: \"text-content\",\n default: \"powering 20%\",\n description: \"Text before pill\",\n },\n insert: {\n type: \"text-content\",\n default: \"Start building\",\n description: \"Pill text\",\n },\n after: {\n type: \"text-content\",\n default: \"of the Internet.\",\n description: \"Text after pill\",\n },\n fontSize: {\n type: \"number\",\n min: 24,\n max: 120,\n step: 1,\n default: 52,\n description: \"Font size\",\n hiddenFromList: false,\n },\n pillWidth: {\n type: \"number\",\n min: 100,\n max: 600,\n step: 5,\n default: 260,\n description: \"Expanded pill width\",\n hiddenFromList: false,\n },\n expandFrames: {\n type: \"number\",\n min: 6,\n max: 45,\n step: 1,\n default: 12,\n description: \"Width reveal frames\",\n hiddenFromList: false,\n },\n pillRevealHeightScale: {\n type: \"number\",\n min: 0.05,\n max: 1,\n step: 0.05,\n default: 0.35,\n description: \"Initial reveal height scale\",\n hiddenFromList: false,\n },\n pillGrowAt: {\n type: \"number\",\n min: 6,\n max: 30,\n step: 1,\n default: 12,\n description: \"Pill growth start frame\",\n hiddenFromList: false,\n },\n pillGrowFrames: {\n type: \"number\",\n min: 6,\n max: 36,\n step: 1,\n default: 24,\n description: \"Pill growth frames\",\n hiddenFromList: false,\n },\n pillGrowWidthScale: {\n type: \"number\",\n min: 1,\n max: 1.3,\n step: 0.01,\n default: 1.08,\n description: \"Final pill width scale\",\n hiddenFromList: false,\n },\n pillGrowHeightScale: {\n type: \"number\",\n min: 1,\n max: 1.5,\n step: 0.01,\n default: 1.16,\n description: \"Final pill height scale\",\n hiddenFromList: false,\n },\n outerExitFrames: {\n type: \"number\",\n min: 6,\n max: 30,\n step: 1,\n default: 18,\n description: \"Outer text exit frames\",\n hiddenFromList: false,\n },\n takeoverAt: {\n type: \"number\",\n min: 12,\n max: 40,\n step: 1,\n default: 12,\n description: \"Camera move start frame\",\n hiddenFromList: false,\n },\n takeoverScale: {\n type: \"number\",\n min: 1,\n max: 4,\n step: 0.05,\n default: 2.15,\n description: \"Final takeover scale\",\n hiddenFromList: false,\n },\n blur: {\n type: \"number\",\n min: 0,\n max: 30,\n step: 1,\n default: 12,\n description: \"Outer text blur\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#fff3df\",\n description: \"Outer text color\",\n },\n pillColor: {\n type: \"color\",\n default: \"#fffaf0\",\n description: \"Pill color\",\n },\n pillTextColor: {\n type: \"color\",\n default: \"#1c1210\",\n description: \"Pill text color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"before\",\"insert\",\"after\",\"fontSize\",\"pillWidth\",\"expandFrames\",\"pillRevealHeightScale\",\"pillGrowAt\",\"pillGrowFrames\",\"pillGrowWidthScale\",\"pillGrowHeightScale\",\"outerExitFrames\",\"takeoverAt\",\"takeoverScale\",\"blur\",\"color\",\"pillColor\",\"pillTextColor\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n before: \"powering 20%\",\n insert: \"Start building\",\n after: \"of the Internet.\",\n fontSize: 52,\n pillWidth: 260,\n expandFrames: 12,\n pillRevealHeightScale: 0.35,\n pillGrowAt: 12,\n pillGrowFrames: 24,\n pillGrowWidthScale: 1.08,\n pillGrowHeightScale: 1.16,\n outerExitFrames: 18,\n takeoverAt: 12,\n takeoverScale: 2.15,\n blur: 12,\n color: \"#fff3df\",\n pillColor: \"#fffaf0\",\n pillTextColor: \"#1c1210\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype InlinePillTakeoverElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof InlinePillTakeoverBase>;\n\nconst InlinePillTakeoverInner = forwardRef<\n HTMLDivElement,\n InlinePillTakeoverElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<InlinePillTakeover>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <InlinePillTakeoverBase\n {...(componentProps as unknown as ComponentProps<typeof InlinePillTakeoverBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const InlinePillTakeover = Interactive.withSchema({\n Component: InlinePillTakeoverInner,\n componentName: \"<InlinePillTakeover>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 30
+}
diff --git a/registry-artifacts/elements/outline-fill-track-text.json b/registry-artifacts/elements/outline-fill-track-text.json
new file mode 100644
index 00000000..c0ddec2b
--- /dev/null
+++ b/registry-artifacts/elements/outline-fill-track-text.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Outline Fill Track Text",
+ "durationInFrames": 80,
+ "installationMode": "component-owned-sequence",
+ "slug": "outline-fill-track-text",
+ "sourceCode": "import { forwardRef, useImperativeHandle, useMemo, useRef, type ComponentProps } from \"react\";\nimport { Easing, Interactive, Sequence, interpolate, useCurrentFrame, useVideoConfig, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\n\ninterface OutlineFillTrackTextProps {\n leadText?: string;\n valueText?: string;\n fontSize?: number;\n fontWeight?: number;\n color?: string;\n outlineColor?: string;\n outlineWidth?: number;\n backgroundColor?: string;\n glowColor?: string;\n enterOffset?: number;\n anchorOffsetX?: number;\n trackDistance?: number;\n wordGap?: number;\n endPadding?: number;\n fillDuration?: number;\n speed?: number;\n className?: string;\n}\n\nconst outlineFillTrackTextLength = 80;\n\nconst ENTER_END = 16;\nconst TRACK_START = 16;\nconst TRACK_END = 72;\nconst FILL_START = 34;\nconst FILL_PREFILL = 10;\nconst FONT_FAMILY = \"Arial, Helvetica, sans-serif\";\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nfunction estimateTextWidth(\n text: string,\n fontSize: number,\n fontWeight: number,\n): number {\n if (typeof document === \"undefined\") {\n return text.length * fontSize * 0.56;\n }\n\n const context = document.createElement(\"canvas\").getContext(\"2d\");\n if (!context) return text.length * fontSize * 0.56;\n context.font = `${fontWeight} ${fontSize}px Arial`;\n return context.measureText(text).width;\n}\n\nfunction OutlineFillTrackTextBase({\n leadText = \"Keep\",\n valueText = \"1000000000%\",\n fontSize = 368,\n fontWeight = 700,\n color = \"#f4f3f6\",\n outlineColor = \"#e6e2ed\",\n outlineWidth = 3,\n backgroundColor = \"#030012\",\n glowColor = \"#64109a\",\n enterOffset = 240,\n anchorOffsetX = -84,\n trackDistance = 0,\n wordGap = 220,\n endPadding = 96,\n fillDuration = 38,\n speed = 1,\n className,\n}: OutlineFillTrackTextProps) {\n const frame = useCurrentFrame() * Math.max(speed, 0);\n const { width: compositionWidth } = useVideoConfig();\n const safeFontSize = Math.max(fontSize, 1);\n const safeFontWeight = Math.max(fontWeight, 1);\n const safeOutlineWidth = Math.max(outlineWidth, 0);\n const safeGap = Math.max(wordGap, 0);\n const safeEndPadding = Math.max(endPadding, 0);\n const safeFillDuration = Math.max(fillDuration, 1);\n\n const measurements = useMemo(() => {\n const leadWidth = estimateTextWidth(leadText, safeFontSize, safeFontWeight);\n const valueWidth = estimateTextWidth(\n valueText,\n safeFontSize,\n safeFontWeight,\n );\n return {\n valueWidth,\n distance: leadWidth / 2 + safeGap + valueWidth / 2,\n };\n }, [leadText, safeFontSize, safeFontWeight, safeGap, valueText]);\n\n const valueOffset = trackDistance > 0 ? trackDistance : measurements.distance;\n const anchorX = compositionWidth / 2 + anchorOffsetX;\n const trailingOverflow = Math.max(\n 0,\n anchorX + measurements.valueWidth / 2 - (compositionWidth - safeEndPadding),\n );\n const travelDistance = valueOffset + trailingOverflow;\n const enterProgress = interpolate(frame, [0, ENTER_END], [0, 1], {\n ...clamp,\n easing: Easing.bezier(0.16, 0.84, 0.24, 1),\n });\n const trackProgress = interpolate(frame, [TRACK_START, TRACK_END], [0, 1], {\n ...clamp,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const fillProgress = interpolate(\n frame,\n [FILL_START - FILL_PREFILL, FILL_START + safeFillDuration],\n [0, 1],\n clamp,\n );\n const leadY = enterOffset * (1 - enterProgress);\n const revealEdge = enterProgress * 112 - 8;\n const revealSolid = Math.max(0, Math.min(100, revealEdge - 10));\n const revealFade = Math.max(0, Math.min(100, revealEdge + 10));\n const leadMask = `linear-gradient(180deg, #000 0%, #000 ${revealSolid}%, transparent ${revealFade}%, transparent 100%)`;\n const glowOpacity = interpolate(\n enterProgress,\n [0, 0.18, 0.72, 1],\n [0.92, 1, 0.52, 0],\n clamp,\n );\n const fieldY = interpolate(enterProgress, [0, 1], [-42, -210], clamp);\n const textStyle = {\n display: \"block\",\n fontFamily: FONT_FAMILY,\n fontSize: safeFontSize,\n fontWeight: safeFontWeight,\n letterSpacing: 0,\n lineHeight: 0.86,\n whiteSpace: \"nowrap\" as const,\n };\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n backgroundColor,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: `radial-gradient(ellipse 118% 66% at 50% -12%, ${glowColor} 0%, ${glowColor} 14%, transparent 76%)`,\n filter: `blur(${safeFontSize * 0.15}px)`,\n opacity: glowOpacity,\n pointerEvents: \"none\",\n transform: \"translateZ(0)\",\n }}\n />\n\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: `calc(50% + ${anchorOffsetX}px)`,\n transform: `translate3d(${-travelDistance * trackProgress}px, -50%, 0)`,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n color,\n maskImage: leadMask,\n maskRepeat: \"no-repeat\",\n opacity: 1,\n transform: `translate3d(-50%, calc(-50% + ${leadY}px), 0)`,\n WebkitMaskImage: leadMask,\n WebkitMaskRepeat: \"no-repeat\",\n ...textStyle,\n }}\n >\n {leadText}\n </div>\n\n <div\n style={{\n position: \"absolute\",\n top: 0,\n left: valueOffset,\n transform: \"translate3d(-50%, -50%, 0)\",\n visibility: frame < FILL_START ? \"hidden\" : \"visible\",\n }}\n >\n <span\n style={{\n ...textStyle,\n color: \"transparent\",\n paintOrder: \"stroke fill\",\n WebkitTextStroke: `${safeOutlineWidth}px ${outlineColor}`,\n }}\n >\n {valueText}\n </span>\n <span\n style={{\n ...textStyle,\n position: \"absolute\",\n inset: 0,\n clipPath: `inset(0 ${100 - fillProgress * 100}% 0 0)`,\n color,\n opacity: 1,\n }}\n >\n {valueText}\n </span>\n </div>\n\n <div\n style={{\n position: \"absolute\",\n top: fieldY,\n left: 0,\n width: safeFontSize * 2.8,\n height: safeFontSize * 0.72,\n background: `radial-gradient(ellipse at center, ${backgroundColor} 0%, ${backgroundColor} 18%, transparent 74%)`,\n filter: `blur(${safeFontSize * 0.07}px)`,\n opacity: glowOpacity,\n pointerEvents: \"none\",\n transform: \"translate3d(-50%, -50%, 0)\",\n }}\n />\n </div>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n leadText: {\n type: \"text-content\",\n default: \"Keep\",\n description: \"Lead text\",\n },\n valueText: {\n type: \"text-content\",\n default: \"1000000000%\",\n description: \"Outlined value\",\n },\n fontSize: {\n type: \"number\",\n min: 120,\n max: 520,\n step: 4,\n default: 368,\n description: \"Font size\",\n hiddenFromList: false,\n },\n enterOffset: {\n type: \"number\",\n min: 0,\n max: 420,\n step: 4,\n default: 240,\n description: \"Vertical entrance offset\",\n hiddenFromList: false,\n },\n anchorOffsetX: {\n type: \"number\",\n min: -400,\n max: 400,\n step: 4,\n default: -84,\n description: \"Shared horizontal anchor offset\",\n hiddenFromList: false,\n },\n trackDistance: {\n type: \"number\",\n min: 0,\n max: 1800,\n step: 10,\n default: 0,\n description: \"Lead-to-value distance override; zero measures the text\",\n hiddenFromList: false,\n },\n wordGap: {\n type: \"number\",\n min: 0,\n max: 500,\n step: 4,\n default: 220,\n description: \"Gap between the lead and value\",\n hiddenFromList: false,\n },\n endPadding: {\n type: \"number\",\n min: 0,\n max: 320,\n step: 4,\n default: 96,\n description: \"Trailing edge padding for long values\",\n hiddenFromList: false,\n },\n fillDuration: {\n type: \"number\",\n min: 8,\n max: 45,\n step: 1,\n default: 38,\n description: \"Fill duration in frames\",\n hiddenFromList: false,\n },\n outlineWidth: {\n type: \"number\",\n min: 0,\n max: 12,\n step: 0.5,\n default: 3,\n description: \"Outline width\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#f4f3f6\",\n description: \"Fill color\",\n },\n outlineColor: {\n type: \"color\",\n default: \"#e6e2ed\",\n description: \"Outline color\",\n },\n backgroundColor: {\n type: \"color\",\n default: \"#030012\",\n description: \"Background color\",\n },\n glowColor: {\n type: \"color\",\n default: \"#64109a\",\n description: \"Entrance glow color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"700\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"leadText\",\"valueText\",\"fontSize\",\"enterOffset\",\"anchorOffsetX\",\"trackDistance\",\"wordGap\",\"endPadding\",\"fillDuration\",\"outlineWidth\",\"color\",\"outlineColor\",\"backgroundColor\",\"glowColor\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n leadText: \"Keep\",\n valueText: \"1000000000%\",\n fontSize: 368,\n enterOffset: 240,\n anchorOffsetX: -84,\n trackDistance: 0,\n wordGap: 220,\n endPadding: 96,\n fillDuration: 38,\n outlineWidth: 3,\n color: \"#f4f3f6\",\n outlineColor: \"#e6e2ed\",\n backgroundColor: \"#030012\",\n glowColor: \"#64109a\",\n fontWeight: \"700\",\n speed: 1,\n};\n\ntype OutlineFillTrackTextElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof OutlineFillTrackTextBase>;\n\nconst OutlineFillTrackTextInner = forwardRef<\n HTMLDivElement,\n OutlineFillTrackTextElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<OutlineFillTrackText>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <OutlineFillTrackTextBase\n {...(componentProps as unknown as ComponentProps<typeof OutlineFillTrackTextBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const OutlineFillTrackText = Interactive.withSchema({\n Component: OutlineFillTrackTextInner,\n componentName: \"<OutlineFillTrackText>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 80
+}
diff --git a/registry-artifacts/elements/shadow-sweep-text.json b/registry-artifacts/elements/shadow-sweep-text.json
new file mode 100644
index 00000000..fd257752
--- /dev/null
+++ b/registry-artifacts/elements/shadow-sweep-text.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Shadow Sweep Text",
+ "durationInFrames": 37,
+ "installationMode": "component-owned-sequence",
+ "slug": "shadow-sweep-text",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface ShadowSweepTextProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n backgroundColor?: string;\n shadowColor?: string;\n shadowSoftness?: number;\n rise?: number;\n driftLeft?: number;\n speed?: number;\n className?: string;\n}\n\nconst shadowSweepTextLength = 37;\n\nconst ENTER_END = 23;\nconst EXIT_START = 26;\nconst EXIT_END = shadowSweepTextLength - 1;\nconst REST_X = -20;\nconst REST_Y = 9;\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nfunction ShadowSweepTextBase({\n text,\n fontSize = 96,\n color = \"#aaa6b5\",\n fontWeight = 700,\n backgroundColor = \"#030012\",\n shadowColor = backgroundColor,\n shadowSoftness = 130,\n rise = 96,\n driftLeft = 16,\n speed = 1,\n className,\n}: ShadowSweepTextProps) {\n const frame = useCurrentFrame() * speed;\n const safeSoftness = Math.max(shadowSoftness, 0);\n const travelProgress = interpolate(\n frame,\n [0, shadowSweepTextLength - 1],\n [0, 1],\n {\n ...clamp,\n easing: Easing.out(Easing.cubic),\n },\n );\n const enterProgress = interpolate(frame, [-3, ENTER_END], [0, 1], clamp);\n const exitProgress = interpolate(\n frame,\n [EXIT_START, EXIT_END],\n [0, 1],\n clamp,\n );\n const x = REST_X + driftLeft * (1 - travelProgress);\n const y = REST_Y + rise * (1 - travelProgress);\n const isEntering = frame < ENTER_END;\n const isExiting = frame >= EXIT_START;\n const sweepProgress = isEntering\n ? enterProgress\n : isExiting\n ? exitProgress\n : null;\n const edgeOffset =\n sweepProgress === null ? 0 : (sweepProgress * 2 - 1) * (safeSoftness / 2);\n const edgePosition =\n sweepProgress === null\n ? \"50%\"\n : `calc(${sweepProgress * 100}% + ${edgeOffset}px)`;\n const maskStart =\n sweepProgress === null\n ? \"50%\"\n : `calc(${sweepProgress * 100}% + ${edgeOffset - safeSoftness / 2}px)`;\n const maskEnd =\n sweepProgress === null\n ? \"50%\"\n : `calc(${sweepProgress * 100}% + ${edgeOffset + safeSoftness / 2}px)`;\n const textMask = isEntering\n ? `linear-gradient(90deg, #000 0, #000 ${maskStart}, transparent ${maskEnd}, transparent 100%)`\n : isExiting\n ? `linear-gradient(90deg, transparent 0, transparent ${maskStart}, #000 ${maskEnd}, #000 100%)`\n : undefined;\n const fieldOpacity =\n sweepProgress === null\n ? 0\n : interpolate(sweepProgress, [0, 0.08, 0.82, 1], [0, 1, 1, 0], clamp);\n const fieldWidth = Math.max(safeSoftness * 3, 1);\n const fieldHeight = Math.max(fontSize * 2.6, safeSoftness * 1.8, 1);\n\n if (text.length === 0) {\n return (\n <div\n className={className}\n style={{ position: \"absolute\", inset: 0, backgroundColor }}\n />\n );\n }\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n backgroundColor,\n }}\n >\n <div\n style={{\n position: \"relative\",\n display: \"inline-block\",\n transform: `translate3d(${x}px, ${y}px, 0)`,\n }}\n >\n <span\n style={{\n color,\n display: \"inline-block\",\n fontFamily: \"Arial, Helvetica, sans-serif\",\n fontSize,\n fontWeight,\n letterSpacing: 0,\n lineHeight: 1,\n maskImage: textMask,\n maskRepeat: \"no-repeat\",\n opacity: 1,\n WebkitMaskImage: textMask,\n WebkitMaskRepeat: \"no-repeat\",\n whiteSpace: \"nowrap\",\n }}\n >\n {text}\n </span>\n\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: edgePosition,\n width: fieldWidth,\n height: fieldHeight,\n background: `radial-gradient(ellipse at center, ${shadowColor} 0%, ${shadowColor} 14%, transparent 72%)`,\n filter: `blur(${safeSoftness * 0.08}px)`,\n opacity: fieldOpacity,\n pointerEvents: \"none\",\n transform: \"translate3d(-50%, -50%, 0)\",\n }}\n />\n </div>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"are abandoned\",\n description: \"Text\",\n },\n fontSize: {\n type: \"number\",\n min: 24,\n max: 180,\n step: 1,\n default: 96,\n description: \"Font size\",\n hiddenFromList: false,\n },\n rise: {\n type: \"number\",\n min: 0,\n max: 300,\n step: 1,\n default: 96,\n description: \"Vertical travel\",\n hiddenFromList: false,\n },\n driftLeft: {\n type: \"number\",\n min: 0,\n max: 120,\n step: 1,\n default: 16,\n description: \"Leftward travel\",\n hiddenFromList: false,\n },\n shadowSoftness: {\n type: \"number\",\n min: 0,\n max: 280,\n step: 2,\n default: 130,\n description: \"Shadow softness\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#aaa6b5\",\n description: \"Text color\",\n },\n backgroundColor: {\n type: \"color\",\n default: \"#030012\",\n description: \"Background color\",\n },\n shadowColor: {\n type: \"color\",\n default: \"#030012\",\n description: \"Shadow color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"700\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"rise\",\"driftLeft\",\"shadowSoftness\",\"color\",\"backgroundColor\",\"shadowColor\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"are abandoned\",\n fontSize: 96,\n rise: 96,\n driftLeft: 16,\n shadowSoftness: 130,\n color: \"#aaa6b5\",\n backgroundColor: \"#030012\",\n shadowColor: \"#030012\",\n fontWeight: \"700\",\n speed: 1,\n};\n\ntype ShadowSweepTextElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof ShadowSweepTextBase>;\n\nconst ShadowSweepTextInner = forwardRef<\n HTMLDivElement,\n ShadowSweepTextElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<ShadowSweepText>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <ShadowSweepTextBase\n {...(componentProps as unknown as ComponentProps<typeof ShadowSweepTextBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const ShadowSweepText = Interactive.withSchema({\n Component: ShadowSweepTextInner,\n componentName: \"<ShadowSweepText>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 37
+}
diff --git a/registry-artifacts/elements/sheen-slide-in.json b/registry-artifacts/elements/sheen-slide-in.json
new file mode 100644
index 00000000..cb6bd3ed
--- /dev/null
+++ b/registry-artifacts/elements/sheen-slide-in.json
@@ -0,0 +1,17 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": {
+ "width": 620,
+ "height": 120
+ },
+ "displayName": "Sheen Slide In",
+ "durationInFrames": 64,
+ "installationMode": "component-owned-sequence",
+ "slug": "sheen-slide-in",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface SheenSlideInProps {\n text: string;\n exitAt?: number;\n fontSize?: number;\n baseColor?: string;\n sheenColor?: string;\n fontWeight?: number;\n speed?: number;\n className?: string;\n}\n\nconst SETTLE_AMP_EM = 1.8;\nconst SETTLE_TAU = 2.5;\nconst CREEP_AMP_EM = 0.28;\nconst CREEP_TAU = 12;\nconst FADE_FRAMES = 4;\nconst SHEEN_IN_START = 0;\nconst SHEEN_IN_END = 4;\nconst SHEEN_SWEEP_END = 48;\nconst SHEEN_OUT_START = 48;\nconst SHEEN_OUT_END = 58;\nconst EXIT_FRAMES = 4;\nconst EXIT_SCALE = 0.9;\n\nfunction sheenSlideInLength(exitAt = 60): number {\n return exitAt + EXIT_FRAMES;\n}\n\nfunction travelEm(frame: number): number {\n return (\n SETTLE_AMP_EM * Math.exp(-frame / SETTLE_TAU) +\n CREEP_AMP_EM * Math.exp(-frame / CREEP_TAU)\n );\n}\n\nconst exitEasing = Easing.out(Easing.quad);\n\nfunction SheenSlideInBase({\n text,\n exitAt = 60,\n fontSize = 72,\n baseColor = \"#18181b\",\n sheenColor = \"#4f8ef7\",\n fontWeight = 400,\n speed = 1,\n className,\n}: SheenSlideInProps) {\n const frame = useCurrentFrame() * speed;\n\n const x = fontSize * travelEm(frame);\n\n const exit = interpolate(frame, [exitAt, exitAt + EXIT_FRAMES], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: exitEasing,\n });\n\n const opacity = interpolate(frame, [0, FADE_FRAMES], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const sheenOpacity =\n interpolate(frame, [SHEEN_IN_START, SHEEN_IN_END], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n }) *\n interpolate(frame, [SHEEN_OUT_START, SHEEN_OUT_END], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const sheenPosition = interpolate(frame, [0, SHEEN_SWEEP_END], [160, -60], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n\n const textStyle: React.CSSProperties = {\n fontSize,\n fontWeight,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.1,\n margin: 0,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n };\n\n if (exit >= 1) {\n return (\n <div style={{ position: \"absolute\", inset: 0, background: \"transparent\" }} />\n );\n }\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n background: \"transparent\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n display: \"inline-block\",\n opacity,\n translate: `${x}px 0`,\n scale: `${1 - (1 - EXIT_SCALE) * exit}`,\n }}\n >\n <span className={className} style={{ ...textStyle, color: baseColor }}>\n {text}\n </span>\n <span\n aria-hidden\n style={{\n ...textStyle,\n position: \"absolute\",\n inset: 0,\n color: \"transparent\",\n backgroundClip: \"text\",\n WebkitBackgroundClip: \"text\",\n backgroundImage: `linear-gradient(100deg, transparent 25%, ${sheenColor} 50%, transparent 75%)`,\n backgroundSize: \"250% 100%\",\n backgroundPosition: `${sheenPosition}% 50%`,\n opacity: sheenOpacity,\n }}\n >\n {text}\n </span>\n </div>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"Introducing\",\n description: \"Text\",\n },\n exitAt: {\n type: \"number\",\n min: 30,\n max: 150,\n step: 5,\n default: 60,\n description: \"Exit frame\",\n hiddenFromList: false,\n },\n fontSize: {\n type: \"number\",\n min: 12,\n max: 160,\n step: 1,\n default: 72,\n description: \"Font size\",\n hiddenFromList: false,\n },\n baseColor: {\n type: \"color\",\n default: \"#18181b\",\n description: \"Base color\",\n },\n sheenColor: {\n type: \"color\",\n default: \"#4f8ef7\",\n description: \"Sheen color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n width: {\n type: \"number\",\n default: 620,\n min: 10,\n step: 10,\n description: \"Width\",\n },\n height: {\n type: \"number\",\n default: 120,\n min: 10,\n step: 10,\n description: \"Height\",\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"exitAt\",\"fontSize\",\"baseColor\",\"sheenColor\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"Introducing\",\n exitAt: 60,\n fontSize: 72,\n baseColor: \"#18181b\",\n sheenColor: \"#4f8ef7\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype SheenSlideInElementProps = InteractiveBaseProps &\n InteractiveTransformProps & { readonly width?: number; readonly height?: number } &\n ComponentProps<typeof SheenSlideInBase>;\n\nconst SheenSlideInInner = forwardRef<\n HTMLDivElement,\n SheenSlideInElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, width = 620, height = 120, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<SheenSlideIn>\"}\n outlineRef={outlineRef}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width,\n height,\n ...style,\n }}\n >\n <SheenSlideInBase\n {...(componentProps as unknown as ComponentProps<typeof SheenSlideInBase>)}\n />\n </div>\n </div>\n </Sequence>\n );\n});\n\nexport const SheenSlideIn = Interactive.withSchema({\n Component: SheenSlideInInner,\n componentName: \"<SheenSlideIn>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 64
+}
diff --git a/registry-artifacts/elements/squeeze-in.json b/registry-artifacts/elements/squeeze-in.json
new file mode 100644
index 00000000..d9b0d792
--- /dev/null
+++ b/registry-artifacts/elements/squeeze-in.json
@@ -0,0 +1,17 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": {
+ "width": 620,
+ "height": 110
+ },
+ "displayName": "Squeeze In",
+ "durationInFrames": 34,
+ "installationMode": "component-owned-sequence",
+ "slug": "squeeze-in",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface SqueezeInProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n stagger?: number;\n squeeze?: number;\n speed?: number;\n className?: string;\n}\n\nconst SQUEEZE_FRAMES = 16;\n\nfunction squeezeInLength(text: string, stagger = 3): number {\n const chars = Array.from(text);\n if (chars.length === 0) return 0;\n return chars.length * stagger + SQUEEZE_FRAMES;\n}\n\nconst squeezeEasing = Easing.out(Easing.cubic);\n\nfunction SqueezeInBase({\n text,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n stagger = 3,\n squeeze = 0.03,\n speed = 1,\n className,\n}: SqueezeInProps) {\n const frame = useCurrentFrame() * speed;\n\n const chars = Array.from(text);\n const lastRevealAt = chars.length * stagger;\n\n const squeezeProgress = interpolate(\n frame,\n [lastRevealAt, lastRevealAt + SQUEEZE_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: squeezeEasing,\n },\n );\n\n const gap = squeeze * fontSize * (1 - squeezeProgress);\n const wipe = interpolate(frame, [0, lastRevealAt], [100, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const anchorX =\n (-squeeze * fontSize * squeezeProgress * (chars.length - 1)) / 2;\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n translate: `${anchorX}px 0`,\n clipPath: `inset(-0.2em ${wipe}% -0.25em -0.1em)`,\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.1,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {chars.map((char, j) => (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight: j < chars.length - 1 ? gap : undefined,\n }}\n >\n {char}\n </span>\n ))}\n </span>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"Remocn\",\n description: \"Text\",\n },\n fontSize: {\n type: \"number\",\n min: 12,\n max: 160,\n step: 1,\n default: 72,\n description: \"Font size\",\n hiddenFromList: false,\n },\n stagger: {\n type: \"number\",\n min: 1,\n max: 8,\n step: 1,\n default: 3,\n description: \"Frames / char\",\n hiddenFromList: false,\n },\n squeeze: {\n type: \"number\",\n min: 0,\n max: 0.2,\n step: 0.01,\n default: 0.03,\n description: \"Extra gap (em)\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#171717\",\n description: \"Color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n width: {\n type: \"number\",\n default: 620,\n min: 10,\n step: 10,\n description: \"Width\",\n },\n height: {\n type: \"number\",\n default: 110,\n min: 10,\n step: 10,\n description: \"Height\",\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"stagger\",\"squeeze\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"Remocn\",\n fontSize: 72,\n stagger: 3,\n squeeze: 0.03,\n color: \"#171717\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype SqueezeInElementProps = InteractiveBaseProps &\n InteractiveTransformProps & { readonly width?: number; readonly height?: number } &\n ComponentProps<typeof SqueezeInBase>;\n\nconst SqueezeInInner = forwardRef<\n HTMLDivElement,\n SqueezeInElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, width = 620, height = 110, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<SqueezeIn>\"}\n outlineRef={outlineRef}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width,\n height,\n ...style,\n }}\n >\n <SqueezeInBase\n {...(componentProps as unknown as ComponentProps<typeof SqueezeInBase>)}\n />\n </div>\n </div>\n </Sequence>\n );\n});\n\nexport const SqueezeIn = Interactive.withSchema({\n Component: SqueezeInInner,\n componentName: \"<SqueezeIn>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 34
+}
diff --git a/registry-artifacts/elements/typed-split-wipe.json b/registry-artifacts/elements/typed-split-wipe.json
new file mode 100644
index 00000000..0f45d3a6
--- /dev/null
+++ b/registry-artifacts/elements/typed-split-wipe.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Typed Split Wipe",
+ "durationInFrames": 75,
+ "installationMode": "component-owned-sequence",
+ "slug": "typed-split-wipe",
+ "sourceCode": "import { forwardRef, useImperativeHandle, useRef, type CSSProperties, type ComponentProps } from \"react\";\nimport { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\n\ninterface TypedSplitWipeProps {\n prefix: string;\n anchor: string;\n suffix: string;\n typeFrames?: number;\n exitAt?: number;\n exitFrames?: number;\n wordStagger?: number;\n anchorShift?: number;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n speed?: number;\n className?: string;\n}\n\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\nconst wipeEasing = Easing.inOut(Easing.quad);\n\nfunction TypedSplitWipeBase({\n prefix,\n anchor,\n suffix,\n typeFrames = 30,\n exitAt = 50,\n exitFrames = 20,\n wordStagger = 4,\n anchorShift = -72,\n fontSize = 42,\n color = \"#e8e8e8\",\n fontWeight = 400,\n speed = 1,\n className,\n}: TypedSplitWipeProps) {\n const frame = useCurrentFrame() * speed;\n const fullText = [prefix, anchor, suffix].filter(Boolean).join(\" \");\n const safeTypeFrames = Math.max(typeFrames, 0.001);\n const safeExitFrames = Math.max(exitFrames, 0.001);\n const typedLength = interpolate(\n frame,\n [0, safeTypeFrames],\n [0, fullText.length],\n clamp,\n );\n const visibleLength = Math.min(\n fullText.length,\n Math.max(frame >= 0 ? 1 : 0, Math.floor(typedLength) + 1),\n );\n const typedText = fullText.slice(0, visibleLength);\n const suffixWords = suffix.trim().split(/\\s+/).filter(Boolean);\n\n const textStyle: CSSProperties = {\n color,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n fontSize,\n fontWeight,\n letterSpacing: \"-0.03em\",\n lineHeight: 1,\n whiteSpace: \"pre\",\n };\n\n const prefixExit = interpolate(\n frame,\n [exitAt, exitAt + safeExitFrames],\n [0, 1],\n { ...clamp, easing: wipeEasing },\n );\n const anchorExitStart = exitAt + Math.max(exitFrames - 6, 0);\n const anchorExit = interpolate(\n frame,\n [anchorExitStart, anchorExitStart + 6],\n [0, 1],\n { ...clamp, easing: wipeEasing },\n );\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n {frame < exitAt ? (\n <span className={className} style={textStyle}>\n {typedText}\n </span>\n ) : (\n <span\n className={className}\n style={{\n ...textStyle,\n display: \"inline-flex\",\n alignItems: \"baseline\",\n gap: \"0.25em\",\n }}\n >\n {prefix && (\n <span\n style={{\n display: \"inline-block\",\n clipPath: `inset(0 ${prefixExit * 100}% 0 0)`,\n }}\n >\n {prefix}\n </span>\n )}\n\n {anchor && (\n <span\n style={{\n display: \"inline-block\",\n clipPath: `inset(0 ${anchorExit * 50}% 0 ${anchorExit * 50}%)`,\n transform: `translateX(${anchorShift * prefixExit}px)`,\n }}\n >\n {anchor}\n </span>\n )}\n\n {suffixWords.map((word, index) => {\n const wordExitStart = exitAt + 2 + index * wordStagger;\n const wordExit = interpolate(\n frame,\n [wordExitStart, wordExitStart + safeExitFrames * 0.65],\n [0, 1],\n { ...clamp, easing: wipeEasing },\n );\n\n return (\n <span\n key={`${word}-${index}`}\n style={{\n display: \"inline-block\",\n clipPath: `inset(0 0 0 ${wordExit * 100}%)`,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n )}\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n prefix: {\n type: \"text-content\",\n default: \"Introducing\",\n description: \"Leading text\",\n },\n anchor: {\n type: \"text-content\",\n default: \"X\",\n description: \"Persistent anchor\",\n },\n suffix: {\n type: \"text-content\",\n default: \"Ads MCP\",\n description: \"Staggered trailing words\",\n },\n typeFrames: {\n type: \"number\",\n min: 6,\n max: 60,\n step: 1,\n default: 30,\n description: \"Typing frames\",\n hiddenFromList: false,\n },\n exitAt: {\n type: \"number\",\n min: 20,\n max: 90,\n step: 1,\n default: 50,\n description: \"Exit start frame\",\n hiddenFromList: false,\n },\n exitFrames: {\n type: \"number\",\n min: 6,\n max: 40,\n step: 1,\n default: 20,\n description: \"Exit duration\",\n hiddenFromList: false,\n },\n wordStagger: {\n type: \"number\",\n min: 0,\n max: 12,\n step: 1,\n default: 4,\n description: \"Suffix word stagger\",\n hiddenFromList: false,\n },\n anchorShift: {\n type: \"number\",\n min: -200,\n max: 0,\n step: 2,\n default: -72,\n description: \"Anchor exit shift\",\n hiddenFromList: false,\n },\n fontSize: {\n type: \"number\",\n min: 18,\n max: 120,\n step: 1,\n default: 42,\n description: \"Font size\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#e8e8e8\",\n description: \"Text color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"prefix\",\"anchor\",\"suffix\",\"typeFrames\",\"exitAt\",\"exitFrames\",\"wordStagger\",\"anchorShift\",\"fontSize\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n prefix: \"Introducing\",\n anchor: \"X\",\n suffix: \"Ads MCP\",\n typeFrames: 30,\n exitAt: 50,\n exitFrames: 20,\n wordStagger: 4,\n anchorShift: -72,\n fontSize: 42,\n color: \"#e8e8e8\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype TypedSplitWipeElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof TypedSplitWipeBase>;\n\nconst TypedSplitWipeInner = forwardRef<\n HTMLDivElement,\n TypedSplitWipeElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<TypedSplitWipe>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <TypedSplitWipeBase\n {...(componentProps as unknown as ComponentProps<typeof TypedSplitWipeBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const TypedSplitWipe = Interactive.withSchema({\n Component: TypedSplitWipeInner,\n componentName: \"<TypedSplitWipe>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 75
+}
diff --git a/registry-artifacts/elements/word-push.json b/registry-artifacts/elements/word-push.json
new file mode 100644
index 00000000..983f80c9
--- /dev/null
+++ b/registry-artifacts/elements/word-push.json
@@ -0,0 +1,17 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": {
+ "width": 760,
+ "height": 110
+ },
+ "displayName": "Word Push",
+ "durationInFrames": 42,
+ "installationMode": "component-owned-sequence",
+ "slug": "word-push",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface WordPushProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n accel?: number;\n speed?: number;\n className?: string;\n}\n\nconst REVEAL_FRAMES = 2;\nconst SLIDE_FRAMES = 12;\nconst OVERSHOOT_EM = 0.5;\nconst CHAR_WIDTH_EM = 0.5;\nconst SPACE_WIDTH_EM = 0.22;\n\nfunction revealFrame(index: number, wordGap: number, accel: number): number {\n if (accel === 1) return index * wordGap;\n return (wordGap * (1 - accel ** index)) / (1 - accel);\n}\n\nfunction wordPushLength(text: string, wordGap = 10, accel = 0.8): number {\n const words = text.trim().split(/\\s+/).filter(Boolean);\n if (words.length === 0) return 0;\n return Math.ceil(revealFrame(words.length - 1, wordGap, accel)) + SLIDE_FRAMES;\n}\n\nconst pushEasing = Easing.out(Easing.cubic);\nconst driveEasing = Easing.bezier(0.15, 0.7, 0.25, 1);\n\nfunction WordPushBase({\n text,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n wordGap = 10,\n accel = 0.8,\n speed = 1,\n className,\n}: WordPushProps) {\n const frame = useCurrentFrame() * speed;\n\n const words = text.trim().split(/\\s+/).filter(Boolean);\n\n let lineX = interpolate(\n frame,\n [0, SLIDE_FRAMES],\n [-OVERSHOOT_EM * fontSize, 0],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: driveEasing,\n },\n );\n for (let j = 1; j < words.length; j++) {\n const wordWidth =\n (words[j].length * CHAR_WIDTH_EM + SPACE_WIDTH_EM) * fontSize;\n const revealAt = revealFrame(j, wordGap, accel);\n const pushed = interpolate(\n frame,\n [revealAt + 1, revealAt + 1 + SLIDE_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: pushEasing,\n },\n );\n lineX += (wordWidth / 2) * (1 - pushed);\n }\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n translate: `${lineX}px 0`,\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {words.map((word, j) => {\n const revealAt = revealFrame(j, wordGap, accel);\n\n const opacity = interpolate(\n frame,\n [revealAt, revealAt + REVEAL_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n\n const driven =\n j === 0\n ? 1\n : interpolate(frame, [revealAt, revealAt + SLIDE_FRAMES], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: driveEasing,\n });\n\n return (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight: j < words.length - 1 ? \"0.22em\" : undefined,\n opacity,\n translate: `${OVERSHOOT_EM * fontSize * (1 - driven)}px 0`,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"move at your own pace\",\n description: \"Text\",\n },\n fontSize: {\n type: \"number\",\n min: 12,\n max: 160,\n step: 1,\n default: 72,\n description: \"Font size\",\n hiddenFromList: false,\n },\n wordGap: {\n type: \"number\",\n min: 3,\n max: 30,\n step: 1,\n default: 10,\n description: \"Frames / word\",\n hiddenFromList: false,\n },\n accel: {\n type: \"number\",\n min: 0.5,\n max: 1,\n step: 0.05,\n default: 0.8,\n description: \"Gap shrink / word\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#171717\",\n description: \"Color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n width: {\n type: \"number\",\n default: 760,\n min: 10,\n step: 10,\n description: \"Width\",\n },\n height: {\n type: \"number\",\n default: 110,\n min: 10,\n step: 10,\n description: \"Height\",\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"wordGap\",\"accel\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"move at your own pace\",\n fontSize: 72,\n wordGap: 10,\n accel: 0.8,\n color: \"#171717\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype WordPushElementProps = InteractiveBaseProps &\n InteractiveTransformProps & { readonly width?: number; readonly height?: number } &\n ComponentProps<typeof WordPushBase>;\n\nconst WordPushInner = forwardRef<\n HTMLDivElement,\n WordPushElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, width = 760, height = 110, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<WordPush>\"}\n outlineRef={outlineRef}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width,\n height,\n ...style,\n }}\n >\n <WordPushBase\n {...(componentProps as unknown as ComponentProps<typeof WordPushBase>)}\n />\n </div>\n </div>\n </Sequence>\n );\n});\n\nexport const WordPush = Interactive.withSchema({\n Component: WordPushInner,\n componentName: \"<WordPush>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 42
+}
diff --git a/registry-artifacts/elements/word-stream.json b/registry-artifacts/elements/word-stream.json
new file mode 100644
index 00000000..72c064b2
--- /dev/null
+++ b/registry-artifacts/elements/word-stream.json
@@ -0,0 +1,17 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": {
+ "width": 700,
+ "height": 110
+ },
+ "displayName": "Word Stream",
+ "durationInFrames": 63,
+ "installationMode": "component-owned-sequence",
+ "slug": "word-stream",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface WordStreamProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n hold?: number;\n drift?: number;\n speed?: number;\n className?: string;\n}\n\ninterface PhraseSchedule {\n words: string[];\n start: number;\n exitStart: number;\n last: boolean;\n}\n\nconst REVEAL_FRAMES = 3;\nconst ENTRY_FRAMES = 8;\nconst RUN_OUT_FRAMES = 5;\nconst SWAP_OVERLAP = 0;\n\nfunction wordStreamLength(\n text: string,\n wordGap = 6,\n hold = 18,\n): number {\n const schedule = schedulePhrases(text, wordGap, hold);\n const finalPhrase = schedule[schedule.length - 1];\n if (!finalPhrase) return 0;\n return (\n finalPhrase.start +\n (finalPhrase.words.length - 1) * wordGap +\n REVEAL_FRAMES\n );\n}\n\nfunction schedulePhrases(\n text: string,\n wordGap: number,\n hold: number,\n): PhraseSchedule[] {\n const phrases = text\n .split(\"|\")\n .map((phrase) => phrase.trim())\n .filter(Boolean);\n let cursor = 0;\n return phrases.map((phrase, i) => {\n const words = phrase.split(/\\s+/);\n const start = cursor;\n const complete = start + (words.length - 1) * wordGap + REVEAL_FRAMES;\n const exitStart = complete + hold;\n cursor = exitStart + SWAP_OVERLAP;\n return { words, start, exitStart, last: i === phrases.length - 1 };\n });\n}\n\nconst revealEasing = Easing.bezier(0.2, 0.8, 0.2, 1);\nconst entryEasing = Easing.bezier(0.2, 0.8, 0.3, 1);\nconst runOutEasing = Easing.bezier(0.7, 0, 0.9, 0.4);\n\nfunction WordStreamBase({\n text,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n wordGap = 6,\n hold = 18,\n drift = 2,\n speed = 1,\n className,\n}: WordStreamProps) {\n const frame = useCurrentFrame() * speed;\n\n const schedule = schedulePhrases(text, wordGap, hold);\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"transparent\",\n }}\n >\n {schedule.map((phrase, i) => {\n if (frame < phrase.start) return null;\n if (!phrase.last && frame >= phrase.exitStart) return null;\n\n const scale = fontSize / 72;\n const crawl = scale * drift;\n const life = phrase.exitStart - phrase.start;\n\n const entryX = interpolate(\n frame,\n [phrase.start, phrase.start + ENTRY_FRAMES],\n [scale * 30, 0],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: entryEasing,\n },\n );\n const crawlX =\n crawl * (life / 2 - (Math.min(frame, phrase.exitStart) - phrase.start));\n const runOutX = phrase.last\n ? 0\n : interpolate(\n frame,\n [phrase.exitStart - RUN_OUT_FRAMES, phrase.exitStart],\n [0, -scale * 80],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: runOutEasing,\n },\n );\n const x = entryX + crawlX + runOutX;\n\n return (\n <div\n key={i}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n translate: `${x}px 0`,\n }}\n >\n <span\n className={className}\n style={{\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {phrase.words.map((word, j) => {\n const revealAt = phrase.start + j * wordGap;\n\n const opacity = interpolate(\n frame,\n [revealAt, revealAt + REVEAL_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: revealEasing,\n },\n );\n\n return (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight:\n j < phrase.words.length - 1 ? \"0.28em\" : undefined,\n opacity,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n </div>\n );\n })}\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"introducing | one-tap checkout | for your store\",\n description: \"Phrases (| separated)\",\n },\n fontSize: {\n type: \"number\",\n min: 12,\n max: 160,\n step: 1,\n default: 72,\n description: \"Font size\",\n hiddenFromList: false,\n },\n wordGap: {\n type: \"number\",\n min: 2,\n max: 30,\n step: 1,\n default: 6,\n description: \"Frames / word\",\n hiddenFromList: false,\n },\n hold: {\n type: \"number\",\n min: 6,\n max: 90,\n step: 3,\n default: 18,\n description: \"Phrase hold\",\n hiddenFromList: false,\n },\n drift: {\n type: \"number\",\n min: 0,\n max: 6,\n step: 0.5,\n default: 2,\n description: \"Drift px / frame\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#171717\",\n description: \"Color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n width: {\n type: \"number\",\n default: 700,\n min: 10,\n step: 10,\n description: \"Width\",\n },\n height: {\n type: \"number\",\n default: 110,\n min: 10,\n step: 10,\n description: \"Height\",\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"wordGap\",\"hold\",\"drift\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"introducing | one-tap checkout | for your store\",\n fontSize: 72,\n wordGap: 6,\n hold: 18,\n drift: 2,\n color: \"#171717\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype WordStreamElementProps = InteractiveBaseProps &\n InteractiveTransformProps & { readonly width?: number; readonly height?: number } &\n ComponentProps<typeof WordStreamBase>;\n\nconst WordStreamInner = forwardRef<\n HTMLDivElement,\n WordStreamElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, width = 700, height = 110, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<WordStream>\"}\n outlineRef={outlineRef}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width,\n height,\n ...style,\n }}\n >\n <WordStreamBase\n {...(componentProps as unknown as ComponentProps<typeof WordStreamBase>)}\n />\n </div>\n </div>\n </Sequence>\n );\n});\n\nexport const WordStream = Interactive.withSchema({\n Component: WordStreamInner,\n componentName: \"<WordStream>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 63
+}
diff --git a/registry-artifacts/elements/zoom-words.json b/registry-artifacts/elements/zoom-words.json
new file mode 100644
index 00000000..08e7e258
--- /dev/null
+++ b/registry-artifacts/elements/zoom-words.json
@@ -0,0 +1,14 @@
+{
+ "type": "remotion-element",
+ "version": 1,
+ "element": {
+ "dependencies": [],
+ "dimensions": null,
+ "displayName": "Zoom Words",
+ "durationInFrames": 63,
+ "installationMode": "component-owned-sequence",
+ "slug": "zoom-words",
+ "sourceCode": "import { Easing, Interactive, Sequence, interpolate, useCurrentFrame, type InteractiveBaseProps, type InteractiveTransformProps, type InteractivitySchema, type SequenceControls } from \"remotion\";\nimport { forwardRef, useImperativeHandle, useRef, type ComponentProps } from \"react\";\n\ninterface ZoomWordsProps {\n text: string;\n fontSize?: number;\n zoom?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n anchor?: number;\n blur?: number;\n blurFrames?: number;\n speed?: number;\n className?: string;\n}\n\nconst CHAR_WIDTH_EM = 0.52;\nconst SPACE_WIDTH_EM = 0.3;\nconst WORD_BLUR_EM = 0.05;\nconst phraseEasing = Easing.bezier(0.5, 0, 0.7, 0.7);\nconst FADE_EARLY = 0.5;\nconst FADE_SLOTS = 2;\n\nfunction smoothstep(t: number): number {\n const x = Math.min(Math.max(t, 0), 1);\n return x * x * (3 - 2 * x);\n}\nconst WORD_SHIFT_X_EM = 0.16;\nconst WORD_SHIFT_Y_EM = 0.12;\n\nfunction wordWidthEm(word: string): number {\n return Array.from(word).length * CHAR_WIDTH_EM + SPACE_WIDTH_EM;\n}\n\nfunction zoomWordsLength(text: string, wordGap = 12): number {\n const words = text.trim().split(/\\s+/).filter(Boolean);\n return words.length * wordGap;\n}\n\nfunction ZoomWordsBase({\n text,\n fontSize = 64,\n zoom = 2.2,\n color = \"#cfc2ff\",\n fontWeight = 400,\n wordGap = 12,\n anchor = 0.5,\n blur = 0.04,\n blurFrames = 60,\n speed = 1,\n className,\n}: ZoomWordsProps) {\n const frame = useCurrentFrame() * speed;\n\n const words = text.trim().split(/\\s+/).filter(Boolean);\n\n const phraseFrames = words.length * wordGap;\n const wordProgress =\n words.length *\n interpolate(frame, [0, phraseFrames], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: phraseEasing,\n });\n\n const totalEm = words.reduce((sum, w) => sum + wordWidthEm(w), 0);\n const firstHalfEm = words.length > 0 ? wordWidthEm(words[0]) / 2 : 0;\n const lastHalfEm =\n words.length > 0 ? wordWidthEm(words[words.length - 1]) / 2 : 0;\n let revealedEm = 0;\n for (let i = 0; i < words.length; i++) {\n revealedEm +=\n wordWidthEm(words[i]) *\n smoothstep((wordProgress - i + FADE_EARLY) / FADE_SLOTS);\n }\n const travelMax = Math.max(totalEm - lastHalfEm - firstHalfEm, 0.001);\n const raw = Math.min(Math.max(revealedEm, 0), travelMax);\n const cameraEm = firstHalfEm + travelMax * smoothstep(raw / travelMax);\n const cameraPct = totalEm > 0 ? (cameraEm / totalEm) * 100 : 0;\n\n const blurNow =\n blur *\n fontSize *\n zoom *\n interpolate(frame, [0, blurFrames], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n scale: `${zoom}`,\n filter: blurNow > 0.05 ? `blur(${blurNow}px)` : undefined,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: `${anchor * 100}%`,\n transform: \"translateY(-50%)\",\n whiteSpace: \"pre\",\n }}\n >\n <span\n className={className}\n style={{\n display: \"inline-flex\",\n alignItems: \"baseline\",\n transform: `translateX(-${cameraPct.toFixed(3)}%)`,\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.15,\n whiteSpace: \"pre\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {words.map((word, i) => {\n const p = smoothstep(\n (wordProgress - i + FADE_EARLY) / FADE_SLOTS,\n );\n const opacity = smoothstep(p * 1.2);\n const wordBlur = WORD_BLUR_EM * fontSize * (1 - p);\n const arrive = 1 - smoothstep(p * 1.6);\n return (\n <span\n key={i}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n opacity,\n filter:\n wordBlur > 0.05 ? `blur(${wordBlur}px)` : undefined,\n translate: `${(WORD_SHIFT_X_EM * fontSize * arrive).toFixed(1)}px ${(WORD_SHIFT_Y_EM * fontSize * arrive).toFixed(1)}px`,\n }}\n >\n {word}\n {i < words.length - 1 && \" \"}\n </span>\n );\n })}\n </span>\n </div>\n </div>\n </div>\n );\n}\n\nconst elementSchema = {\n ...Interactive.baseSchema,\n text: {\n type: \"text-content\",\n default: \"Still piecing together tools\",\n description: \"Text\",\n },\n fontSize: {\n type: \"number\",\n min: 24,\n max: 160,\n step: 1,\n default: 64,\n description: \"Font size\",\n hiddenFromList: false,\n },\n wordGap: {\n type: \"number\",\n min: 4,\n max: 24,\n step: 1,\n default: 12,\n description: \"Frames / word\",\n hiddenFromList: false,\n },\n zoom: {\n type: \"number\",\n min: 1,\n max: 4,\n step: 0.1,\n default: 2.2,\n description: \"Camera zoom\",\n hiddenFromList: false,\n },\n anchor: {\n type: \"number\",\n min: 0.2,\n max: 0.9,\n step: 0.05,\n default: 0.5,\n description: \"Camera anchor\",\n hiddenFromList: false,\n },\n blur: {\n type: \"number\",\n min: 0,\n max: 0.3,\n step: 0.01,\n default: 0.04,\n description: \"Start blur (em)\",\n hiddenFromList: false,\n },\n blurFrames: {\n type: \"number\",\n min: 10,\n max: 120,\n step: 5,\n default: 60,\n description: \"Focus frames\",\n hiddenFromList: false,\n },\n color: {\n type: \"color\",\n default: \"#cfc2ff\",\n description: \"Color\",\n },\n fontWeight: {\n type: \"enum\",\n default: \"400\",\n variants: {\n \"400\": {},\n \"500\": {},\n \"600\": {},\n \"700\": {},\n },\n description: \"Font weight\",\n },\n speed: {\n type: \"number\",\n default: 1,\n min: 0.25,\n max: 4,\n step: 0.25,\n description: \"Speed\",\n hiddenFromList: false,\n },\n ...Interactive.transformSchema,\n} as const satisfies InteractivitySchema;\n\nconst ELEMENT_PROP_KEYS = new Set([\"text\",\"fontSize\",\"wordGap\",\"zoom\",\"anchor\",\"blur\",\"blurFrames\",\"color\",\"fontWeight\",\"speed\"]);\n\nconst ELEMENT_PROP_DEFAULTS: Record<string, unknown> = {\n text: \"Still piecing together tools\",\n fontSize: 64,\n wordGap: 12,\n zoom: 2.2,\n anchor: 0.5,\n blur: 0.04,\n blurFrames: 60,\n color: \"#cfc2ff\",\n fontWeight: \"400\",\n speed: 1,\n};\n\ntype ZoomWordsElementProps = InteractiveBaseProps &\n InteractiveTransformProps &\n ComponentProps<typeof ZoomWordsBase>;\n\nconst ZoomWordsInner = forwardRef<\n HTMLDivElement,\n ZoomWordsElementProps & { readonly controls: SequenceControls | undefined }\n>(({ controls, name, style, ...rest }, ref) => {\n const outlineRef = useRef<HTMLDivElement>(null);\n useImperativeHandle(ref, () => outlineRef.current as HTMLDivElement, []);\n const componentProps: Record<string, unknown> = { ...ELEMENT_PROP_DEFAULTS };\n const sequenceProps: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(rest)) {\n if (ELEMENT_PROP_KEYS.has(key)) {\n if (value !== undefined) componentProps[key] = value;\n } else {\n sequenceProps[key] = value;\n }\n }\n return (\n <Sequence\n layout=\"none\"\n {...sequenceProps}\n controls={controls}\n name={name ?? \"<ZoomWords>\"}\n outlineRef={outlineRef}\n >\n <div\n ref={outlineRef}\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n ...style,\n }}\n >\n <ZoomWordsBase\n {...(componentProps as unknown as ComponentProps<typeof ZoomWordsBase>)}\n />\n </div>\n </Sequence>\n );\n});\n\nexport const ZoomWords = Interactive.withSchema({\n Component: ZoomWordsInner,\n componentName: \"<ZoomWords>\",\n componentIdentity: null,\n schema: elementSchema,\n supportsEffects: false,\n});\n"
+ },
+ "durationInFrames": 63
+}
diff --git a/registry-artifacts/fog-rise.json b/registry-artifacts/fog-rise.json
new file mode 100644
index 00000000..4fddb824
--- /dev/null
+++ b/registry-artifacts/fog-rise.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "fog-rise",
+ "title": "Fog Rise",
+ "description": "Display text resolves out of fog: characters sharpen from heavy blur center-out with vertical streaks dissolving above them, as if rising along the z-axis.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/fog-rise/index.tsx",
+ "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface FogRiseProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n stagger?: number;\n blur?: number;\n tilt?: number;\n depth?: number;\n lift?: number;\n drift?: number;\n exitAt?: number;\n exitAccel?: number;\n mass?: number;\n stiffness?: number;\n damping?: number;\n spreadGap?: number;\n tracking?: number;\n resolveFrames?: number;\n fadeFrames?: number;\n speed?: number;\n className?: string;\n}\n\nexport function fogRiseLength(\n text: string,\n stagger = 5,\n resolveFrames = 22,\n): number {\n const chars = Array.from(text);\n if (chars.length === 0) return 0;\n const center = (chars.length - 1) / 2;\n const maxRing = Math.floor(center);\n return maxRing * stagger + resolveFrames;\n}\n\nexport function FogRise({\n text,\n fontSize = 304,\n color = \"#004CFF\",\n fontWeight = 400,\n stagger = 5,\n blur = 0.17,\n tilt = 55,\n depth = 5,\n lift = 0.85,\n drift = 0.005,\n exitAt = 60,\n exitAccel = 0.04,\n mass = 1.3,\n stiffness = 60,\n damping = 13,\n spreadGap = 0.07,\n tracking = -0.07,\n resolveFrames = 22,\n fadeFrames = 18,\n speed = 1,\n className,\n}: FogRiseProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const chars = Array.from(text);\n const center = (chars.length - 1) / 2;\n const minRing = chars.length % 2 === 0 ? 0.5 : 0;\n const maxRing = Math.floor(center);\n\n const converge = spring({\n frame,\n fps,\n config: { mass, stiffness, damping },\n });\n const angle = tilt * (1 - converge);\n const liftY = lift * fontSize * (1 - converge);\n const driftY = drift * fontSize * frame;\n const exitT = exitAt > 0 ? Math.max(frame - exitAt, 0) : 0;\n const exitY = 0.5 * exitAccel * exitT * exitT * fontSize;\n const gap = spreadGap * fontSize * (1 - converge);\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"flex-end\",\n justifyContent: \"center\",\n paddingBottom: \"6%\",\n whiteSpace: \"nowrap\",\n perspective: `${depth * fontSize}px`,\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n transform: `translateY(${liftY - driftY - exitY}px) rotateX(${-angle}deg)`,\n transformOrigin: \"50% 100%\",\n fontSize,\n fontWeight,\n color,\n letterSpacing: `${tracking}em`,\n lineHeight: 1.15,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {chars.map((char, j) => {\n const ring = Math.abs(j - center) - minRing;\n const startAt = ring * stagger;\n\n const opacity = interpolate(\n frame,\n [startAt, startAt + fadeFrames],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const charBlur =\n blur *\n fontSize *\n interpolate(frame, [0, maxRing * stagger + resolveFrames], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n return (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight: j < chars.length - 1 ? gap : undefined,\n opacity,\n filter: charBlur > 0.05 ? `blur(${charBlur}px)` : undefined,\n }}\n >\n {char}\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/fog-rise.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/gradient-scale-cut-text.json b/registry-artifacts/gradient-scale-cut-text.json
new file mode 100644
index 00000000..298c45d2
--- /dev/null
+++ b/registry-artifacts/gradient-scale-cut-text.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "gradient-scale-cut-text",
+ "title": "Gradient Scale Cut Text",
+ "description": "An oversized gradient reveal snaps to a separate compact blurred line that settles left while the reveal continues.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/gradient-scale-cut-text/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface GradientScaleCutTextProps {\n text?: string;\n giantFontSize?: number;\n compactFontSize?: number;\n fontWeight?: number;\n gradientStart?: string;\n gradientEnd?: string;\n ghostColor?: string;\n backgroundColor?: string;\n anchorOffsetX?: number;\n giantTravel?: number;\n settleTravel?: number;\n cutFrame?: number;\n revealSoftness?: number;\n compactBlur?: number;\n speed?: number;\n className?: string;\n}\n\nexport const gradientScaleCutTextLength = 36;\n\nconst REVEAL_END = 33;\nconst SETTLE_FRAMES = 8;\nconst GIANT_Y = -28;\nconst GIANT_X_CORRECTION = -48;\nconst COMPACT_Y = 5;\nconst COMPACT_X_SCALE = 0.87;\nconst COMPACT_START_X_CORRECTION = 28;\nconst FONT_FAMILY = \"Arial, Helvetica, sans-serif\";\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\ninterface TextLayerProps {\n text: string;\n fontSize: number;\n fontWeight: number;\n gradientStart: string;\n gradientEnd: string;\n ghostColor: string;\n maskImage: string;\n}\n\nfunction TextLayer({\n text,\n fontSize,\n fontWeight,\n gradientStart,\n gradientEnd,\n ghostColor,\n maskImage,\n}: TextLayerProps) {\n const textStyle = {\n display: \"block\",\n fontFamily: FONT_FAMILY,\n fontSize,\n fontWeight,\n letterSpacing: 0,\n lineHeight: 1.12,\n whiteSpace: \"nowrap\" as const,\n };\n\n return (\n <div style={{ position: \"relative\" }}>\n <span style={{ ...textStyle, color: ghostColor }}>{text}</span>\n <span\n style={{\n ...textStyle,\n position: \"absolute\",\n inset: 0,\n color: \"transparent\",\n backgroundImage: `linear-gradient(90deg, ${gradientStart} 0%, ${gradientStart} 4%, ${gradientEnd} 26%, ${gradientEnd} 100%)`,\n backgroundClip: \"text\",\n maskImage,\n maskRepeat: \"no-repeat\",\n opacity: 1,\n WebkitBackgroundClip: \"text\",\n WebkitMaskImage: maskImage,\n WebkitMaskRepeat: \"no-repeat\",\n }}\n >\n {text}\n </span>\n </div>\n );\n}\n\nexport function GradientScaleCutText({\n text = \"Introducing\",\n giantFontSize = 520,\n compactFontSize = 132,\n fontWeight = 700,\n gradientStart = \"#f04a14\",\n gradientEnd = \"#f3f1f1\",\n ghostColor = \"#170b0a\",\n backgroundColor = \"#000000\",\n anchorOffsetX = -16,\n giantTravel = 400,\n settleTravel = 160,\n cutFrame = 13,\n revealSoftness = 14,\n compactBlur = 12,\n speed = 1,\n className,\n}: GradientScaleCutTextProps) {\n const frame = useCurrentFrame() * Math.max(speed, 0);\n const safeCutFrame = Math.max(cutFrame, 1);\n const safeGiantFontSize = Math.max(giantFontSize, 1);\n const safeCompactFontSize = Math.max(compactFontSize, 1);\n const safeSoftness = Math.max(revealSoftness, 0);\n const safeBlur = Math.max(compactBlur, 0);\n const revealProgress = interpolate(frame, [0, REVEAL_END], [0.02, 1], {\n ...clamp,\n easing: Easing.bezier(0.22, 0.74, 0.24, 1),\n });\n const revealEdge = revealProgress * (100 + safeSoftness / 2);\n const revealSolid = Math.max(0, revealEdge - safeSoftness / 2);\n const revealFade = revealEdge + safeSoftness / 2;\n const maskImage = `linear-gradient(90deg, #000 0%, #000 ${revealSolid}%, transparent ${revealFade}%, transparent ${revealFade}%)`;\n const giantProgress = interpolate(\n frame,\n [0, Math.max(safeCutFrame - 1, 1)],\n [0, 1],\n {\n ...clamp,\n easing: Easing.out(Easing.cubic),\n },\n );\n const settleProgress = interpolate(\n frame,\n [safeCutFrame, safeCutFrame + SETTLE_FRAMES],\n [0, 1],\n {\n ...clamp,\n easing: Easing.out(Easing.cubic),\n },\n );\n const moveProgress = interpolate(\n frame,\n [\n safeCutFrame + 1,\n safeCutFrame + 2,\n safeCutFrame + 4,\n safeCutFrame + SETTLE_FRAMES,\n ],\n [0, 0.58, 0.875, 1],\n clamp,\n );\n const showGiant = frame < safeCutFrame;\n const compactX =\n interpolate(moveProgress, [0, 1], [settleTravel, 0], clamp) +\n COMPACT_START_X_CORRECTION * (1 - moveProgress);\n const compactBlurValue = safeBlur * (1 - settleProgress);\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n backgroundColor,\n }}\n >\n {showGiant ? (\n <div\n style={{\n position: \"absolute\",\n top: `calc(50% + ${GIANT_Y}px)`,\n left: `calc(50% + ${anchorOffsetX + GIANT_X_CORRECTION - giantTravel * giantProgress}px)`,\n opacity: 1,\n transform: \"translate3d(0, -50%, 0)\",\n }}\n >\n <TextLayer\n text={text}\n fontSize={safeGiantFontSize}\n fontWeight={fontWeight}\n gradientStart={gradientStart}\n gradientEnd={gradientEnd}\n ghostColor={ghostColor}\n maskImage={maskImage}\n />\n </div>\n ) : (\n <div\n style={{\n position: \"absolute\",\n top: `calc(50% + ${COMPACT_Y}px)`,\n left: `calc(50% + ${anchorOffsetX + compactX}px)`,\n filter: `blur(${compactBlurValue}px)`,\n opacity: 1,\n transform: `translate3d(-50%, -50%, 0) scaleX(${COMPACT_X_SCALE})`,\n transformOrigin: \"center\",\n }}\n >\n <TextLayer\n text={text}\n fontSize={safeCompactFontSize}\n fontWeight={fontWeight}\n gradientStart={gradientStart}\n gradientEnd={gradientEnd}\n ghostColor={ghostColor}\n maskImage={maskImage}\n />\n </div>\n )}\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/gradient-scale-cut-text.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/inline-pill-takeover.json b/registry-artifacts/inline-pill-takeover.json
new file mode 100644
index 00000000..3a0fa307
--- /dev/null
+++ b/registry-artifacts/inline-pill-takeover.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "inline-pill-takeover",
+ "title": "Inline Pill Takeover",
+ "description": "A clipped pill expands inside a sentence, physically pushes the surrounding words apart, removes them through blur and takes over the frame with a fast camera punch-in.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/inline-pill-takeover/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface InlinePillTakeoverProps {\n before: string;\n insert: string;\n after: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n pillWidth?: number;\n pillColor?: string;\n pillTextColor?: string;\n expandFrames?: number;\n pillRevealHeightScale?: number;\n pillGrowAt?: number;\n pillGrowFrames?: number;\n pillGrowWidthScale?: number;\n pillGrowHeightScale?: number;\n outerExitFrames?: number;\n takeoverAt?: number;\n takeoverScale?: number;\n blur?: number;\n speed?: number;\n className?: string;\n}\n\nconst PRE_CUT_FRAMES = 12;\nconst TAKEOVER_SETTLE_FRAMES = 6;\nconst PRE_CUT_CAMERA_SCALE = 1.25;\nconst CAMERA_CUT_ENTRY_PROGRESS = 0.86;\nconst expandEasing = Easing.out(Easing.quad);\nconst pillGrowEasing = Easing.inOut(Easing.quad);\nconst fadeEasing = Easing.in(Easing.cubic);\nconst preCutEasing = Easing.out(Easing.quad);\nconst takeoverSettleEasing = Easing.out(Easing.cubic);\n\nexport function InlinePillTakeover({\n before,\n insert,\n after,\n fontSize = 52,\n color = \"#fff3df\",\n fontWeight = 400,\n pillWidth = 260,\n pillColor = \"#fffaf0\",\n pillTextColor = \"#1c1210\",\n expandFrames = 12,\n pillRevealHeightScale = 0.35,\n pillGrowAt = 12,\n pillGrowFrames = 24,\n pillGrowWidthScale = 1.08,\n pillGrowHeightScale = 1.16,\n outerExitFrames = 18,\n takeoverAt = 12,\n takeoverScale = 2.15,\n blur = 12,\n speed = 1,\n className,\n}: InlinePillTakeoverProps) {\n const frame = useCurrentFrame() * speed;\n const safeExpandFrames = Math.max(expandFrames, 0.001);\n const pillGrowEnd = pillGrowAt + Math.max(pillGrowFrames, 0.001);\n const outerExitEnd = Math.max(outerExitFrames, 2.001);\n const dashWidth = fontSize * 0.72;\n const pillHeight = fontSize * 1.22;\n const cutAt = takeoverAt + PRE_CUT_FRAMES;\n const cutEntryScale = takeoverScale * CAMERA_CUT_ENTRY_PROGRESS;\n\n const expand = interpolate(frame, [0, safeExpandFrames], [0, 1], {\n easing: expandEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const pillGrowProgress = interpolate(\n frame,\n [pillGrowAt, pillGrowEnd],\n [0, 1],\n {\n easing: pillGrowEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const outerExit = interpolate(frame, [2, outerExitEnd], [0, 1], {\n easing: fadeEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const pillTextOpacity = frame >= 3 ? 1 : 0;\n const preCutCameraScale = interpolate(\n frame,\n [takeoverAt, cutAt - 1],\n [1, PRE_CUT_CAMERA_SCALE],\n {\n easing: preCutEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const postCutCameraScale = interpolate(\n frame,\n [cutAt, cutAt + TAKEOVER_SETTLE_FRAMES],\n [cutEntryScale, takeoverScale],\n {\n easing: takeoverSettleEasing,\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n const cameraScale = frame < cutAt ? preCutCameraScale : postCutCameraScale;\n const revealedPillWidth = dashWidth + (pillWidth - dashWidth) * expand;\n const revealedPillHeight =\n pillHeight * (pillRevealHeightScale + (1 - pillRevealHeightScale) * expand);\n const pillWidthGrow = 1 + (pillGrowWidthScale - 1) * pillGrowProgress;\n const pillHeightGrow = 1 + (pillGrowHeightScale - 1) * pillGrowProgress;\n const animatedPillWidth = revealedPillWidth * pillWidthGrow;\n const animatedPillHeight = revealedPillHeight * pillHeightGrow;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n transform: `scale(${cameraScale})`,\n transformOrigin: \"center\",\n }}\n >\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n width: \"100%\",\n gap: `${fontSize * 0.16}px`,\n whiteSpace: \"nowrap\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n fontSize,\n fontWeight,\n letterSpacing: \"-0.02em\",\n lineHeight: 1,\n }}\n >\n <span\n style={{\n flex: 1,\n textAlign: \"right\",\n color,\n opacity: 1 - outerExit,\n filter: outerExit > 0 ? `blur(${blur * outerExit}px)` : undefined,\n }}\n >\n {before}\n </span>\n\n <span\n style={{\n position: \"relative\",\n display: \"inline-block\",\n flexShrink: 0,\n width: animatedPillWidth,\n height: animatedPillHeight,\n overflow: \"hidden\",\n borderRadius: animatedPillHeight / 2,\n background: pillColor,\n color: pillTextColor,\n }}\n >\n <span\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n translate: \"-50% -50%\",\n fontSize: fontSize * 0.84,\n opacity: pillTextOpacity,\n whiteSpace: \"nowrap\",\n }}\n >\n {insert}\n </span>\n </span>\n\n <span\n style={{\n flex: 1,\n textAlign: \"left\",\n color,\n opacity: 1 - outerExit,\n filter: outerExit > 0 ? `blur(${blur * outerExit}px)` : undefined,\n }}\n >\n {after}\n </span>\n </div>\n </div>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/inline-pill-takeover.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/outline-fill-track-text.json b/registry-artifacts/outline-fill-track-text.json
new file mode 100644
index 00000000..c73e5d10
--- /dev/null
+++ b/registry-artifacts/outline-fill-track-text.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "outline-fill-track-text",
+ "title": "Outline Fill Track Text",
+ "description": "A rising lead word gives way to an outlined value that fills from left to right while both travel on one continuous track.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/outline-fill-track-text/index.tsx",
+ "content": "\"use client\";\n\nimport { useMemo } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface OutlineFillTrackTextProps {\n leadText?: string;\n valueText?: string;\n fontSize?: number;\n fontWeight?: number;\n color?: string;\n outlineColor?: string;\n outlineWidth?: number;\n backgroundColor?: string;\n glowColor?: string;\n enterOffset?: number;\n anchorOffsetX?: number;\n trackDistance?: number;\n wordGap?: number;\n endPadding?: number;\n fillDuration?: number;\n speed?: number;\n className?: string;\n}\n\nexport const outlineFillTrackTextLength = 80;\n\nconst ENTER_END = 16;\nconst TRACK_START = 16;\nconst TRACK_END = 72;\nconst FILL_START = 34;\nconst FILL_PREFILL = 10;\nconst FONT_FAMILY = \"Arial, Helvetica, sans-serif\";\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nfunction estimateTextWidth(\n text: string,\n fontSize: number,\n fontWeight: number,\n): number {\n if (typeof document === \"undefined\") {\n return text.length * fontSize * 0.56;\n }\n\n const context = document.createElement(\"canvas\").getContext(\"2d\");\n if (!context) return text.length * fontSize * 0.56;\n context.font = `${fontWeight} ${fontSize}px Arial`;\n return context.measureText(text).width;\n}\n\nexport function OutlineFillTrackText({\n leadText = \"Keep\",\n valueText = \"1000000000%\",\n fontSize = 368,\n fontWeight = 700,\n color = \"#f4f3f6\",\n outlineColor = \"#e6e2ed\",\n outlineWidth = 3,\n backgroundColor = \"#030012\",\n glowColor = \"#64109a\",\n enterOffset = 240,\n anchorOffsetX = -84,\n trackDistance = 0,\n wordGap = 220,\n endPadding = 96,\n fillDuration = 38,\n speed = 1,\n className,\n}: OutlineFillTrackTextProps) {\n const frame = useCurrentFrame() * Math.max(speed, 0);\n const { width: compositionWidth } = useVideoConfig();\n const safeFontSize = Math.max(fontSize, 1);\n const safeFontWeight = Math.max(fontWeight, 1);\n const safeOutlineWidth = Math.max(outlineWidth, 0);\n const safeGap = Math.max(wordGap, 0);\n const safeEndPadding = Math.max(endPadding, 0);\n const safeFillDuration = Math.max(fillDuration, 1);\n\n const measurements = useMemo(() => {\n const leadWidth = estimateTextWidth(leadText, safeFontSize, safeFontWeight);\n const valueWidth = estimateTextWidth(\n valueText,\n safeFontSize,\n safeFontWeight,\n );\n return {\n valueWidth,\n distance: leadWidth / 2 + safeGap + valueWidth / 2,\n };\n }, [leadText, safeFontSize, safeFontWeight, safeGap, valueText]);\n\n const valueOffset = trackDistance > 0 ? trackDistance : measurements.distance;\n const anchorX = compositionWidth / 2 + anchorOffsetX;\n const trailingOverflow = Math.max(\n 0,\n anchorX + measurements.valueWidth / 2 - (compositionWidth - safeEndPadding),\n );\n const travelDistance = valueOffset + trailingOverflow;\n const enterProgress = interpolate(frame, [0, ENTER_END], [0, 1], {\n ...clamp,\n easing: Easing.bezier(0.16, 0.84, 0.24, 1),\n });\n const trackProgress = interpolate(frame, [TRACK_START, TRACK_END], [0, 1], {\n ...clamp,\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n const fillProgress = interpolate(\n frame,\n [FILL_START - FILL_PREFILL, FILL_START + safeFillDuration],\n [0, 1],\n clamp,\n );\n const leadY = enterOffset * (1 - enterProgress);\n const revealEdge = enterProgress * 112 - 8;\n const revealSolid = Math.max(0, Math.min(100, revealEdge - 10));\n const revealFade = Math.max(0, Math.min(100, revealEdge + 10));\n const leadMask = `linear-gradient(180deg, #000 0%, #000 ${revealSolid}%, transparent ${revealFade}%, transparent 100%)`;\n const glowOpacity = interpolate(\n enterProgress,\n [0, 0.18, 0.72, 1],\n [0.92, 1, 0.52, 0],\n clamp,\n );\n const fieldY = interpolate(enterProgress, [0, 1], [-42, -210], clamp);\n const textStyle = {\n display: \"block\",\n fontFamily: FONT_FAMILY,\n fontSize: safeFontSize,\n fontWeight: safeFontWeight,\n letterSpacing: 0,\n lineHeight: 0.86,\n whiteSpace: \"nowrap\" as const,\n };\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n backgroundColor,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: `radial-gradient(ellipse 118% 66% at 50% -12%, ${glowColor} 0%, ${glowColor} 14%, transparent 76%)`,\n filter: `blur(${safeFontSize * 0.15}px)`,\n opacity: glowOpacity,\n pointerEvents: \"none\",\n transform: \"translateZ(0)\",\n }}\n />\n\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: `calc(50% + ${anchorOffsetX}px)`,\n transform: `translate3d(${-travelDistance * trackProgress}px, -50%, 0)`,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n color,\n maskImage: leadMask,\n maskRepeat: \"no-repeat\",\n opacity: 1,\n transform: `translate3d(-50%, calc(-50% + ${leadY}px), 0)`,\n WebkitMaskImage: leadMask,\n WebkitMaskRepeat: \"no-repeat\",\n ...textStyle,\n }}\n >\n {leadText}\n </div>\n\n <div\n style={{\n position: \"absolute\",\n top: 0,\n left: valueOffset,\n transform: \"translate3d(-50%, -50%, 0)\",\n visibility: frame < FILL_START ? \"hidden\" : \"visible\",\n }}\n >\n <span\n style={{\n ...textStyle,\n color: \"transparent\",\n paintOrder: \"stroke fill\",\n WebkitTextStroke: `${safeOutlineWidth}px ${outlineColor}`,\n }}\n >\n {valueText}\n </span>\n <span\n style={{\n ...textStyle,\n position: \"absolute\",\n inset: 0,\n clipPath: `inset(0 ${100 - fillProgress * 100}% 0 0)`,\n color,\n opacity: 1,\n }}\n >\n {valueText}\n </span>\n </div>\n\n <div\n style={{\n position: \"absolute\",\n top: fieldY,\n left: 0,\n width: safeFontSize * 2.8,\n height: safeFontSize * 0.72,\n background: `radial-gradient(ellipse at center, ${backgroundColor} 0%, ${backgroundColor} 18%, transparent 74%)`,\n filter: `blur(${safeFontSize * 0.07}px)`,\n opacity: glowOpacity,\n pointerEvents: \"none\",\n transform: \"translate3d(-50%, -50%, 0)\",\n }}\n />\n </div>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/outline-fill-track-text.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/registry.json b/registry-artifacts/registry.json
index 1f11f77e..69e97f96 100644
--- a/registry-artifacts/registry.json
+++ b/registry-artifacts/registry.json
@@ -171,6 +171,188 @@
],
"type": "registry:component"
},
+ {
+ "name": "word-stream",
+ "title": "Word Stream",
+ "description": "Voiceover-paced phrases that build word by word — the next word looms as a blurred ghost before it resolves, then the phrase cuts away.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/word-stream/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/word-stream.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "word-push",
+ "title": "Word Push",
+ "description": "A phrase builds from its first word centered: each next word drives in from the right and pushes the line left, easing into the new center.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/word-push/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/word-push.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "sheen-slide-in",
+ "title": "Sheen Slide In",
+ "description": "A title glides in from the right with an exponential settle and a slow final creep to center, while a gradient sheen sweeps once through the glyphs.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/sheen-slide-in/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/sheen-slide-in.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "squeeze-in",
+ "title": "Squeeze In",
+ "description": "Characters appear one by one on a tight stagger; when the last one lands, every letter gap compresses as one and the word squeezes together.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/squeeze-in/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/squeeze-in.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "fog-rise",
+ "title": "Fog Rise",
+ "description": "Display text resolves out of fog: characters sharpen from heavy blur center-out with vertical streaks dissolving above them, as if rising along the z-axis.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/fog-rise/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/fog-rise.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "caret-swap",
+ "title": "Caret Swap",
+ "description": "A gradient caret swells into a block that consumes the first phrase right-to-left, collapses back and types the second phrase out with a blinking caret.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/caret-swap/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/caret-swap.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "zoom-words",
+ "title": "Zoom Words",
+ "description": "A close-up word reveal: huge words fade into a long line while the camera rides the write head, the line streaming off-frame as the shot eases into focus.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/zoom-words/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/zoom-words.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "centered-word-build",
+ "title": "Centered Word Build",
+ "description": "Words appear sharply from below while the centered phrase pushes cumulatively closer on every beat, then clears through a soft left-to-right opacity wipe.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/centered-word-build/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/centered-word-build.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "inline-pill-takeover",
+ "title": "Inline Pill Takeover",
+ "description": "A clipped pill expands inside a sentence, physically pushes the surrounding words apart, removes them through blur and takes over the frame with a fast camera punch-in.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/inline-pill-takeover/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/inline-pill-takeover.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "typed-split-wipe",
+ "title": "Typed Split Wipe",
+ "description": "A centered cursorless type build holds, then exits through opposing fixed-layout glyph wipes that leave the anchor visible longest.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/typed-split-wipe/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/typed-split-wipe.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "shadow-sweep-text",
+ "title": "Shadow Sweep Text",
+ "description": "A line rises up and left while one dense dark shadow uncovers it and a second shadow sweeps back across it for the exit.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/shadow-sweep-text/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/shadow-sweep-text.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "outline-fill-track-text",
+ "title": "Outline Fill Track Text",
+ "description": "A rising lead word gives way to an outlined value that fills from left to right while both travel on one continuous track.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/outline-fill-track-text/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/outline-fill-track-text.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
+ {
+ "name": "gradient-scale-cut-text",
+ "title": "Gradient Scale Cut Text",
+ "description": "An oversized gradient reveal snaps to a separate compact blurred line that settles left while the reveal continues.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/gradient-scale-cut-text/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/gradient-scale-cut-text.tsx"
+ }
+ ],
+ "type": "registry:component"
+ },
{
"name": "extrude-pop",
"title": "Extrude Pop",
diff --git a/registry-artifacts/shadow-sweep-text.json b/registry-artifacts/shadow-sweep-text.json
new file mode 100644
index 00000000..452c0555
--- /dev/null
+++ b/registry-artifacts/shadow-sweep-text.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "shadow-sweep-text",
+ "title": "Shadow Sweep Text",
+ "description": "A line rises up and left while one dense dark shadow uncovers it and a second shadow sweeps back across it for the exit.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/shadow-sweep-text/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface ShadowSweepTextProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n backgroundColor?: string;\n shadowColor?: string;\n shadowSoftness?: number;\n rise?: number;\n driftLeft?: number;\n speed?: number;\n className?: string;\n}\n\nexport const shadowSweepTextLength = 37;\n\nconst ENTER_END = 23;\nconst EXIT_START = 26;\nconst EXIT_END = shadowSweepTextLength - 1;\nconst REST_X = -20;\nconst REST_Y = 9;\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\n\nexport function ShadowSweepText({\n text,\n fontSize = 96,\n color = \"#aaa6b5\",\n fontWeight = 700,\n backgroundColor = \"#030012\",\n shadowColor = backgroundColor,\n shadowSoftness = 130,\n rise = 96,\n driftLeft = 16,\n speed = 1,\n className,\n}: ShadowSweepTextProps) {\n const frame = useCurrentFrame() * speed;\n const safeSoftness = Math.max(shadowSoftness, 0);\n const travelProgress = interpolate(\n frame,\n [0, shadowSweepTextLength - 1],\n [0, 1],\n {\n ...clamp,\n easing: Easing.out(Easing.cubic),\n },\n );\n const enterProgress = interpolate(frame, [-3, ENTER_END], [0, 1], clamp);\n const exitProgress = interpolate(\n frame,\n [EXIT_START, EXIT_END],\n [0, 1],\n clamp,\n );\n const x = REST_X + driftLeft * (1 - travelProgress);\n const y = REST_Y + rise * (1 - travelProgress);\n const isEntering = frame < ENTER_END;\n const isExiting = frame >= EXIT_START;\n const sweepProgress = isEntering\n ? enterProgress\n : isExiting\n ? exitProgress\n : null;\n const edgeOffset =\n sweepProgress === null ? 0 : (sweepProgress * 2 - 1) * (safeSoftness / 2);\n const edgePosition =\n sweepProgress === null\n ? \"50%\"\n : `calc(${sweepProgress * 100}% + ${edgeOffset}px)`;\n const maskStart =\n sweepProgress === null\n ? \"50%\"\n : `calc(${sweepProgress * 100}% + ${edgeOffset - safeSoftness / 2}px)`;\n const maskEnd =\n sweepProgress === null\n ? \"50%\"\n : `calc(${sweepProgress * 100}% + ${edgeOffset + safeSoftness / 2}px)`;\n const textMask = isEntering\n ? `linear-gradient(90deg, #000 0, #000 ${maskStart}, transparent ${maskEnd}, transparent 100%)`\n : isExiting\n ? `linear-gradient(90deg, transparent 0, transparent ${maskStart}, #000 ${maskEnd}, #000 100%)`\n : undefined;\n const fieldOpacity =\n sweepProgress === null\n ? 0\n : interpolate(sweepProgress, [0, 0.08, 0.82, 1], [0, 1, 1, 0], clamp);\n const fieldWidth = Math.max(safeSoftness * 3, 1);\n const fieldHeight = Math.max(fontSize * 2.6, safeSoftness * 1.8, 1);\n\n if (text.length === 0) {\n return (\n <div\n className={className}\n style={{ position: \"absolute\", inset: 0, backgroundColor }}\n />\n );\n }\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n backgroundColor,\n }}\n >\n <div\n style={{\n position: \"relative\",\n display: \"inline-block\",\n transform: `translate3d(${x}px, ${y}px, 0)`,\n }}\n >\n <span\n style={{\n color,\n display: \"inline-block\",\n fontFamily: \"Arial, Helvetica, sans-serif\",\n fontSize,\n fontWeight,\n letterSpacing: 0,\n lineHeight: 1,\n maskImage: textMask,\n maskRepeat: \"no-repeat\",\n opacity: 1,\n WebkitMaskImage: textMask,\n WebkitMaskRepeat: \"no-repeat\",\n whiteSpace: \"nowrap\",\n }}\n >\n {text}\n </span>\n\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: edgePosition,\n width: fieldWidth,\n height: fieldHeight,\n background: `radial-gradient(ellipse at center, ${shadowColor} 0%, ${shadowColor} 14%, transparent 72%)`,\n filter: `blur(${safeSoftness * 0.08}px)`,\n opacity: fieldOpacity,\n pointerEvents: \"none\",\n transform: \"translate3d(-50%, -50%, 0)\",\n }}\n />\n </div>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/shadow-sweep-text.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/sheen-slide-in.json b/registry-artifacts/sheen-slide-in.json
new file mode 100644
index 00000000..3f420285
--- /dev/null
+++ b/registry-artifacts/sheen-slide-in.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "sheen-slide-in",
+ "title": "Sheen Slide In",
+ "description": "A title glides in from the right with an exponential settle and a slow final creep to center, while a gradient sheen sweeps once through the glyphs.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/sheen-slide-in/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface SheenSlideInProps {\n text: string;\n exitAt?: number;\n fontSize?: number;\n baseColor?: string;\n sheenColor?: string;\n fontWeight?: number;\n speed?: number;\n className?: string;\n}\n\nconst SETTLE_AMP_EM = 1.8;\nconst SETTLE_TAU = 2.5;\nconst CREEP_AMP_EM = 0.28;\nconst CREEP_TAU = 12;\nconst FADE_FRAMES = 4;\nconst SHEEN_IN_START = 0;\nconst SHEEN_IN_END = 4;\nconst SHEEN_SWEEP_END = 48;\nconst SHEEN_OUT_START = 48;\nconst SHEEN_OUT_END = 58;\nconst EXIT_FRAMES = 4;\nconst EXIT_SCALE = 0.9;\n\nexport function sheenSlideInLength(exitAt = 60): number {\n return exitAt + EXIT_FRAMES;\n}\n\nfunction travelEm(frame: number): number {\n return (\n SETTLE_AMP_EM * Math.exp(-frame / SETTLE_TAU) +\n CREEP_AMP_EM * Math.exp(-frame / CREEP_TAU)\n );\n}\n\nconst exitEasing = Easing.out(Easing.quad);\n\nexport function SheenSlideIn({\n text,\n exitAt = 60,\n fontSize = 72,\n baseColor = \"#18181b\",\n sheenColor = \"#4f8ef7\",\n fontWeight = 400,\n speed = 1,\n className,\n}: SheenSlideInProps) {\n const frame = useCurrentFrame() * speed;\n\n const x = fontSize * travelEm(frame);\n\n const exit = interpolate(frame, [exitAt, exitAt + EXIT_FRAMES], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: exitEasing,\n });\n\n const opacity = interpolate(frame, [0, FADE_FRAMES], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const sheenOpacity =\n interpolate(frame, [SHEEN_IN_START, SHEEN_IN_END], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n }) *\n interpolate(frame, [SHEEN_OUT_START, SHEEN_OUT_END], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const sheenPosition = interpolate(frame, [0, SHEEN_SWEEP_END], [160, -60], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.42, 0, 0.58, 1),\n });\n\n const textStyle: React.CSSProperties = {\n fontSize,\n fontWeight,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.1,\n margin: 0,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n };\n\n if (exit >= 1) {\n return (\n <div style={{ position: \"absolute\", inset: 0, background: \"transparent\" }} />\n );\n }\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n background: \"transparent\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n display: \"inline-block\",\n opacity,\n translate: `${x}px 0`,\n scale: `${1 - (1 - EXIT_SCALE) * exit}`,\n }}\n >\n <span className={className} style={{ ...textStyle, color: baseColor }}>\n {text}\n </span>\n <span\n aria-hidden\n style={{\n ...textStyle,\n position: \"absolute\",\n inset: 0,\n color: \"transparent\",\n backgroundClip: \"text\",\n WebkitBackgroundClip: \"text\",\n backgroundImage: `linear-gradient(100deg, transparent 25%, ${sheenColor} 50%, transparent 75%)`,\n backgroundSize: \"250% 100%\",\n backgroundPosition: `${sheenPosition}% 50%`,\n opacity: sheenOpacity,\n }}\n >\n {text}\n </span>\n </div>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/sheen-slide-in.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/squeeze-in.json b/registry-artifacts/squeeze-in.json
new file mode 100644
index 00000000..f8cca46c
--- /dev/null
+++ b/registry-artifacts/squeeze-in.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "squeeze-in",
+ "title": "Squeeze In",
+ "description": "Characters appear one by one on a tight stagger; when the last one lands, every letter gap compresses as one and the word squeezes together.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/squeeze-in/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface SqueezeInProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n stagger?: number;\n squeeze?: number;\n speed?: number;\n className?: string;\n}\n\nconst SQUEEZE_FRAMES = 16;\n\nexport function squeezeInLength(text: string, stagger = 3): number {\n const chars = Array.from(text);\n if (chars.length === 0) return 0;\n return chars.length * stagger + SQUEEZE_FRAMES;\n}\n\nconst squeezeEasing = Easing.out(Easing.cubic);\n\nexport function SqueezeIn({\n text,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n stagger = 3,\n squeeze = 0.03,\n speed = 1,\n className,\n}: SqueezeInProps) {\n const frame = useCurrentFrame() * speed;\n\n const chars = Array.from(text);\n const lastRevealAt = chars.length * stagger;\n\n const squeezeProgress = interpolate(\n frame,\n [lastRevealAt, lastRevealAt + SQUEEZE_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: squeezeEasing,\n },\n );\n\n const gap = squeeze * fontSize * (1 - squeezeProgress);\n const wipe = interpolate(frame, [0, lastRevealAt], [100, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const anchorX =\n (-squeeze * fontSize * squeezeProgress * (chars.length - 1)) / 2;\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n translate: `${anchorX}px 0`,\n clipPath: `inset(-0.2em ${wipe}% -0.25em -0.1em)`,\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.1,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {chars.map((char, j) => (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight: j < chars.length - 1 ? gap : undefined,\n }}\n >\n {char}\n </span>\n ))}\n </span>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/squeeze-in.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/typed-split-wipe.json b/registry-artifacts/typed-split-wipe.json
new file mode 100644
index 00000000..d656fdf2
--- /dev/null
+++ b/registry-artifacts/typed-split-wipe.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "typed-split-wipe",
+ "title": "Typed Split Wipe",
+ "description": "A centered cursorless type build holds, then exits through opposing fixed-layout glyph wipes that leave the anchor visible longest.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/typed-split-wipe/index.tsx",
+ "content": "\"use client\";\n\nimport type { CSSProperties } from \"react\";\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface TypedSplitWipeProps {\n prefix: string;\n anchor: string;\n suffix: string;\n typeFrames?: number;\n exitAt?: number;\n exitFrames?: number;\n wordStagger?: number;\n anchorShift?: number;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n speed?: number;\n className?: string;\n}\n\nconst clamp = {\n extrapolateLeft: \"clamp\" as const,\n extrapolateRight: \"clamp\" as const,\n};\nconst wipeEasing = Easing.inOut(Easing.quad);\n\nexport function TypedSplitWipe({\n prefix,\n anchor,\n suffix,\n typeFrames = 30,\n exitAt = 50,\n exitFrames = 20,\n wordStagger = 4,\n anchorShift = -72,\n fontSize = 42,\n color = \"#e8e8e8\",\n fontWeight = 400,\n speed = 1,\n className,\n}: TypedSplitWipeProps) {\n const frame = useCurrentFrame() * speed;\n const fullText = [prefix, anchor, suffix].filter(Boolean).join(\" \");\n const safeTypeFrames = Math.max(typeFrames, 0.001);\n const safeExitFrames = Math.max(exitFrames, 0.001);\n const typedLength = interpolate(\n frame,\n [0, safeTypeFrames],\n [0, fullText.length],\n clamp,\n );\n const visibleLength = Math.min(\n fullText.length,\n Math.max(frame >= 0 ? 1 : 0, Math.floor(typedLength) + 1),\n );\n const typedText = fullText.slice(0, visibleLength);\n const suffixWords = suffix.trim().split(/\\s+/).filter(Boolean);\n\n const textStyle: CSSProperties = {\n color,\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n fontSize,\n fontWeight,\n letterSpacing: \"-0.03em\",\n lineHeight: 1,\n whiteSpace: \"pre\",\n };\n\n const prefixExit = interpolate(\n frame,\n [exitAt, exitAt + safeExitFrames],\n [0, 1],\n { ...clamp, easing: wipeEasing },\n );\n const anchorExitStart = exitAt + Math.max(exitFrames - 6, 0);\n const anchorExit = interpolate(\n frame,\n [anchorExitStart, anchorExitStart + 6],\n [0, 1],\n { ...clamp, easing: wipeEasing },\n );\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n {frame < exitAt ? (\n <span className={className} style={textStyle}>\n {typedText}\n </span>\n ) : (\n <span\n className={className}\n style={{\n ...textStyle,\n display: \"inline-flex\",\n alignItems: \"baseline\",\n gap: \"0.25em\",\n }}\n >\n {prefix && (\n <span\n style={{\n display: \"inline-block\",\n clipPath: `inset(0 ${prefixExit * 100}% 0 0)`,\n }}\n >\n {prefix}\n </span>\n )}\n\n {anchor && (\n <span\n style={{\n display: \"inline-block\",\n clipPath: `inset(0 ${anchorExit * 50}% 0 ${anchorExit * 50}%)`,\n transform: `translateX(${anchorShift * prefixExit}px)`,\n }}\n >\n {anchor}\n </span>\n )}\n\n {suffixWords.map((word, index) => {\n const wordExitStart = exitAt + 2 + index * wordStagger;\n const wordExit = interpolate(\n frame,\n [wordExitStart, wordExitStart + safeExitFrames * 0.65],\n [0, 1],\n { ...clamp, easing: wipeEasing },\n );\n\n return (\n <span\n key={`${word}-${index}`}\n style={{\n display: \"inline-block\",\n clipPath: `inset(0 0 0 ${wordExit * 100}%)`,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n )}\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/typed-split-wipe.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/word-push.json b/registry-artifacts/word-push.json
new file mode 100644
index 00000000..6463e0fe
--- /dev/null
+++ b/registry-artifacts/word-push.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "word-push",
+ "title": "Word Push",
+ "description": "A phrase builds from its first word centered: each next word drives in from the right and pushes the line left, easing into the new center.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/word-push/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface WordPushProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n accel?: number;\n speed?: number;\n className?: string;\n}\n\nconst REVEAL_FRAMES = 2;\nconst SLIDE_FRAMES = 12;\nconst OVERSHOOT_EM = 0.5;\nconst CHAR_WIDTH_EM = 0.5;\nconst SPACE_WIDTH_EM = 0.22;\n\nfunction revealFrame(index: number, wordGap: number, accel: number): number {\n if (accel === 1) return index * wordGap;\n return (wordGap * (1 - accel ** index)) / (1 - accel);\n}\n\nexport function wordPushLength(text: string, wordGap = 10, accel = 0.8): number {\n const words = text.trim().split(/\\s+/).filter(Boolean);\n if (words.length === 0) return 0;\n return Math.ceil(revealFrame(words.length - 1, wordGap, accel)) + SLIDE_FRAMES;\n}\n\nconst pushEasing = Easing.out(Easing.cubic);\nconst driveEasing = Easing.bezier(0.15, 0.7, 0.25, 1);\n\nexport function WordPush({\n text,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n wordGap = 10,\n accel = 0.8,\n speed = 1,\n className,\n}: WordPushProps) {\n const frame = useCurrentFrame() * speed;\n\n const words = text.trim().split(/\\s+/).filter(Boolean);\n\n let lineX = interpolate(\n frame,\n [0, SLIDE_FRAMES],\n [-OVERSHOOT_EM * fontSize, 0],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: driveEasing,\n },\n );\n for (let j = 1; j < words.length; j++) {\n const wordWidth =\n (words[j].length * CHAR_WIDTH_EM + SPACE_WIDTH_EM) * fontSize;\n const revealAt = revealFrame(j, wordGap, accel);\n const pushed = interpolate(\n frame,\n [revealAt + 1, revealAt + 1 + SLIDE_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: pushEasing,\n },\n );\n lineX += (wordWidth / 2) * (1 - pushed);\n }\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n translate: `${lineX}px 0`,\n background: \"transparent\",\n }}\n >\n <span\n className={className}\n style={{\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {words.map((word, j) => {\n const revealAt = revealFrame(j, wordGap, accel);\n\n const opacity = interpolate(\n frame,\n [revealAt, revealAt + REVEAL_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n },\n );\n\n const driven =\n j === 0\n ? 1\n : interpolate(frame, [revealAt, revealAt + SLIDE_FRAMES], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: driveEasing,\n });\n\n return (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight: j < words.length - 1 ? \"0.22em\" : undefined,\n opacity,\n translate: `${OVERSHOOT_EM * fontSize * (1 - driven)}px 0`,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/word-push.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/word-stream.json b/registry-artifacts/word-stream.json
new file mode 100644
index 00000000..bd986e12
--- /dev/null
+++ b/registry-artifacts/word-stream.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "word-stream",
+ "title": "Word Stream",
+ "description": "Voiceover-paced phrases that build word by word — the next word looms as a blurred ghost before it resolves, then the phrase cuts away.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/word-stream/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface WordStreamProps {\n text: string;\n fontSize?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n hold?: number;\n drift?: number;\n speed?: number;\n className?: string;\n}\n\ninterface PhraseSchedule {\n words: string[];\n start: number;\n exitStart: number;\n last: boolean;\n}\n\nconst REVEAL_FRAMES = 3;\nconst ENTRY_FRAMES = 8;\nconst RUN_OUT_FRAMES = 5;\nconst SWAP_OVERLAP = 0;\n\nexport function wordStreamLength(\n text: string,\n wordGap = 6,\n hold = 18,\n): number {\n const schedule = schedulePhrases(text, wordGap, hold);\n const finalPhrase = schedule[schedule.length - 1];\n if (!finalPhrase) return 0;\n return (\n finalPhrase.start +\n (finalPhrase.words.length - 1) * wordGap +\n REVEAL_FRAMES\n );\n}\n\nfunction schedulePhrases(\n text: string,\n wordGap: number,\n hold: number,\n): PhraseSchedule[] {\n const phrases = text\n .split(\"|\")\n .map((phrase) => phrase.trim())\n .filter(Boolean);\n let cursor = 0;\n return phrases.map((phrase, i) => {\n const words = phrase.split(/\\s+/);\n const start = cursor;\n const complete = start + (words.length - 1) * wordGap + REVEAL_FRAMES;\n const exitStart = complete + hold;\n cursor = exitStart + SWAP_OVERLAP;\n return { words, start, exitStart, last: i === phrases.length - 1 };\n });\n}\n\nconst revealEasing = Easing.bezier(0.2, 0.8, 0.2, 1);\nconst entryEasing = Easing.bezier(0.2, 0.8, 0.3, 1);\nconst runOutEasing = Easing.bezier(0.7, 0, 0.9, 0.4);\n\nexport function WordStream({\n text,\n fontSize = 72,\n color = \"#171717\",\n fontWeight = 400,\n wordGap = 6,\n hold = 18,\n drift = 2,\n speed = 1,\n className,\n}: WordStreamProps) {\n const frame = useCurrentFrame() * speed;\n\n const schedule = schedulePhrases(text, wordGap, hold);\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"transparent\",\n }}\n >\n {schedule.map((phrase, i) => {\n if (frame < phrase.start) return null;\n if (!phrase.last && frame >= phrase.exitStart) return null;\n\n const scale = fontSize / 72;\n const crawl = scale * drift;\n const life = phrase.exitStart - phrase.start;\n\n const entryX = interpolate(\n frame,\n [phrase.start, phrase.start + ENTRY_FRAMES],\n [scale * 30, 0],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: entryEasing,\n },\n );\n const crawlX =\n crawl * (life / 2 - (Math.min(frame, phrase.exitStart) - phrase.start));\n const runOutX = phrase.last\n ? 0\n : interpolate(\n frame,\n [phrase.exitStart - RUN_OUT_FRAMES, phrase.exitStart],\n [0, -scale * 80],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: runOutEasing,\n },\n );\n const x = entryX + crawlX + runOutX;\n\n return (\n <div\n key={i}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n whiteSpace: \"nowrap\",\n translate: `${x}px 0`,\n }}\n >\n <span\n className={className}\n style={{\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {phrase.words.map((word, j) => {\n const revealAt = phrase.start + j * wordGap;\n\n const opacity = interpolate(\n frame,\n [revealAt, revealAt + REVEAL_FRAMES],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: revealEasing,\n },\n );\n\n return (\n <span\n key={j}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n marginRight:\n j < phrase.words.length - 1 ? \"0.28em\" : undefined,\n opacity,\n }}\n >\n {word}\n </span>\n );\n })}\n </span>\n </div>\n );\n })}\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/word-stream.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry-artifacts/zoom-words.json b/registry-artifacts/zoom-words.json
new file mode 100644
index 00000000..9e1595e1
--- /dev/null
+++ b/registry-artifacts/zoom-words.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "zoom-words",
+ "title": "Zoom Words",
+ "description": "A close-up word reveal: huge words fade into a long line while the camera rides the write head, the line streaming off-frame as the shot eases into focus.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "registry/remocn/zoom-words/index.tsx",
+ "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface ZoomWordsProps {\n text: string;\n fontSize?: number;\n zoom?: number;\n color?: string;\n fontWeight?: number;\n wordGap?: number;\n anchor?: number;\n blur?: number;\n blurFrames?: number;\n speed?: number;\n className?: string;\n}\n\nconst CHAR_WIDTH_EM = 0.52;\nconst SPACE_WIDTH_EM = 0.3;\nconst WORD_BLUR_EM = 0.05;\nconst phraseEasing = Easing.bezier(0.5, 0, 0.7, 0.7);\nconst FADE_EARLY = 0.5;\nconst FADE_SLOTS = 2;\n\nfunction smoothstep(t: number): number {\n const x = Math.min(Math.max(t, 0), 1);\n return x * x * (3 - 2 * x);\n}\nconst WORD_SHIFT_X_EM = 0.16;\nconst WORD_SHIFT_Y_EM = 0.12;\n\nfunction wordWidthEm(word: string): number {\n return Array.from(word).length * CHAR_WIDTH_EM + SPACE_WIDTH_EM;\n}\n\nexport function zoomWordsLength(text: string, wordGap = 12): number {\n const words = text.trim().split(/\\s+/).filter(Boolean);\n return words.length * wordGap;\n}\n\nexport function ZoomWords({\n text,\n fontSize = 64,\n zoom = 2.2,\n color = \"#cfc2ff\",\n fontWeight = 400,\n wordGap = 12,\n anchor = 0.5,\n blur = 0.04,\n blurFrames = 60,\n speed = 1,\n className,\n}: ZoomWordsProps) {\n const frame = useCurrentFrame() * speed;\n\n const words = text.trim().split(/\\s+/).filter(Boolean);\n\n const phraseFrames = words.length * wordGap;\n const wordProgress =\n words.length *\n interpolate(frame, [0, phraseFrames], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: phraseEasing,\n });\n\n const totalEm = words.reduce((sum, w) => sum + wordWidthEm(w), 0);\n const firstHalfEm = words.length > 0 ? wordWidthEm(words[0]) / 2 : 0;\n const lastHalfEm =\n words.length > 0 ? wordWidthEm(words[words.length - 1]) / 2 : 0;\n let revealedEm = 0;\n for (let i = 0; i < words.length; i++) {\n revealedEm +=\n wordWidthEm(words[i]) *\n smoothstep((wordProgress - i + FADE_EARLY) / FADE_SLOTS);\n }\n const travelMax = Math.max(totalEm - lastHalfEm - firstHalfEm, 0.001);\n const raw = Math.min(Math.max(revealedEm, 0), travelMax);\n const cameraEm = firstHalfEm + travelMax * smoothstep(raw / travelMax);\n const cameraPct = totalEm > 0 ? (cameraEm / totalEm) * 100 : 0;\n\n const blurNow =\n blur *\n fontSize *\n zoom *\n interpolate(frame, [0, blurFrames], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"transparent\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n scale: `${zoom}`,\n filter: blurNow > 0.05 ? `blur(${blurNow}px)` : undefined,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: `${anchor * 100}%`,\n transform: \"translateY(-50%)\",\n whiteSpace: \"pre\",\n }}\n >\n <span\n className={className}\n style={{\n display: \"inline-flex\",\n alignItems: \"baseline\",\n transform: `translateX(-${cameraPct.toFixed(3)}%)`,\n fontSize,\n fontWeight,\n color,\n letterSpacing: \"-0.02em\",\n lineHeight: 1.15,\n whiteSpace: \"pre\",\n fontFamily:\n \"var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)\",\n }}\n >\n {words.map((word, i) => {\n const p = smoothstep(\n (wordProgress - i + FADE_EARLY) / FADE_SLOTS,\n );\n const opacity = smoothstep(p * 1.2);\n const wordBlur = WORD_BLUR_EM * fontSize * (1 - p);\n const arrive = 1 - smoothstep(p * 1.6);\n return (\n <span\n key={i}\n style={{\n display: \"inline-block\",\n whiteSpace: \"pre\",\n opacity,\n filter:\n wordBlur > 0.05 ? `blur(${wordBlur}px)` : undefined,\n translate: `${(WORD_SHIFT_X_EM * fontSize * arrive).toFixed(1)}px ${(WORD_SHIFT_Y_EM * fontSize * arrive).toFixed(1)}px`,\n }}\n >\n {word}\n {i < words.length - 1 && \" \"}\n </span>\n );\n })}\n </span>\n </div>\n </div>\n </div>\n );\n}\n",
+ "type": "registry:component",
+ "target": "components/remocn/zoom-words.tsx"
+ }
+ ],
+ "type": "registry:component"
+}
diff --git a/registry/__index__.tsx b/registry/__index__.tsx
index 1a24777e..bf49b09d 100644
--- a/registry/__index__.tsx
+++ b/registry/__index__.tsx
@@ -22,6 +22,134 @@ const registry: Record<string, RegistryEntry> = {
(m) => m.softBlurInConfig,
),
},
+ "word-stream": {
+ load: () =>
+ import("@/registry/remocn/word-stream").then((m) => ({
+ default: m.WordStream,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/word-stream/config").then(
+ (m) => m.wordStreamConfig,
+ ),
+ },
+ "word-push": {
+ load: () =>
+ import("@/registry/remocn/word-push").then((m) => ({
+ default: m.WordPush,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/word-push/config").then(
+ (m) => m.wordPushConfig,
+ ),
+ },
+ "sheen-slide-in": {
+ load: () =>
+ import("@/registry/remocn/sheen-slide-in").then((m) => ({
+ default: m.SheenSlideIn,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/sheen-slide-in/config").then(
+ (m) => m.sheenSlideInConfig,
+ ),
+ },
+ "squeeze-in": {
+ load: () =>
+ import("@/registry/remocn/squeeze-in").then((m) => ({
+ default: m.SqueezeIn,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/squeeze-in/config").then(
+ (m) => m.squeezeInConfig,
+ ),
+ },
+ "fog-rise": {
+ load: () =>
+ import("@/registry/remocn/fog-rise").then((m) => ({
+ default: m.FogRise,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/fog-rise/config").then((m) => m.fogRiseConfig),
+ },
+ "caret-swap": {
+ load: () =>
+ import("@/registry/remocn/caret-swap").then((m) => ({
+ default: m.CaretSwap,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/caret-swap/config").then(
+ (m) => m.caretSwapConfig,
+ ),
+ },
+ "zoom-words": {
+ load: () =>
+ import("@/registry/remocn/zoom-words").then((m) => ({
+ default: m.ZoomWords,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/zoom-words/config").then(
+ (m) => m.zoomWordsConfig,
+ ),
+ },
+ "centered-word-build": {
+ load: () =>
+ import("@/registry/remocn/centered-word-build").then((m) => ({
+ default: m.CenteredWordBuild,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/centered-word-build/config").then(
+ (m) => m.centeredWordBuildConfig,
+ ),
+ },
+ "inline-pill-takeover": {
+ load: () =>
+ import("@/registry/remocn/inline-pill-takeover").then((m) => ({
+ default: m.InlinePillTakeover,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/inline-pill-takeover/config").then(
+ (m) => m.inlinePillTakeoverConfig,
+ ),
+ },
+ "typed-split-wipe": {
+ load: () =>
+ import("@/registry/remocn/typed-split-wipe").then((m) => ({
+ default: m.TypedSplitWipe,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/typed-split-wipe/config").then(
+ (m) => m.typedSplitWipeConfig,
+ ),
+ },
+ "shadow-sweep-text": {
+ load: () =>
+ import("@/registry/remocn/shadow-sweep-text").then((m) => ({
+ default: m.ShadowSweepText,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/shadow-sweep-text/config").then(
+ (m) => m.shadowSweepTextConfig,
+ ),
+ },
+ "outline-fill-track-text": {
+ load: () =>
+ import("@/registry/remocn/outline-fill-track-text").then((m) => ({
+ default: m.OutlineFillTrackText,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/outline-fill-track-text/config").then(
+ (m) => m.outlineFillTrackTextConfig,
+ ),
+ },
+ "gradient-scale-cut-text": {
+ load: () =>
+ import("@/registry/remocn/gradient-scale-cut-text").then((m) => ({
+ default: m.GradientScaleCutText,
+ })),
+ loadConfig: () =>
+ import("@/registry/remocn/gradient-scale-cut-text/config").then(
+ (m) => m.gradientScaleCutTextConfig,
+ ),
+ },
"per-character-rise": {
load: () =>
import("@/registry/remocn/per-character-rise").then((m) => ({
diff --git a/registry/__manifest__.ts b/registry/__manifest__.ts
index d08e490c..f2a21e4a 100644
--- a/registry/__manifest__.ts
+++ b/registry/__manifest__.ts
@@ -237,6 +237,28 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "caret-swap": {
+ durationInFrames: 100,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#fdf6f0",
+ },
+ defaults: {
+ fromText: "Executing it?",
+ toText: "That's where everyone quits",
+ fontSize: 72,
+ swapAt: 20,
+ typeSpeed: 1,
+ color: "#171717",
+ caretColor: "#FF4DAA",
+ caretColorEnd: "#8A5CF6",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
"caret-wipe": {
durationInFrames: 100,
fps: 30,
@@ -253,6 +275,31 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "centered-word-build": {
+ durationInFrames: 75,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "gradient",
+ value:
+ "radial-gradient(circle at 50% 108%, #ffd77a 0%, #ff6840 31%, #f13d21 78%)",
+ },
+ defaults: {
+ text: "everything we learn from",
+ fontSize: 52,
+ wordGap: 11,
+ accel: 0.75,
+ rise: 0.18,
+ zoomStep: 0.035,
+ settleFrames: 9,
+ exitAt: 51,
+ exitFrames: 12,
+ color: "#fff3df",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
"chat-gpt": {
durationInFrames: 150,
fps: 30,
@@ -740,6 +787,38 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "fog-rise": {
+ durationInFrames: 90,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#ffffff",
+ },
+ defaults: {
+ text: "Remocn",
+ fontSize: 304,
+ stagger: 5,
+ blur: 0.17,
+ tilt: 55,
+ depth: 5,
+ lift: 0.85,
+ drift: 0.005,
+ exitAt: 60,
+ exitAccel: 0.04,
+ mass: 1.3,
+ stiffness: 60,
+ damping: 13,
+ spreadGap: 0.07,
+ tracking: -0.07,
+ resolveFrames: 22,
+ fadeFrames: 18,
+ color: "#004CFF",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
"github-sponsors": {
durationInFrames: 270,
fps: 30,
@@ -841,6 +920,33 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "gradient-scale-cut-text": {
+ durationInFrames: 36,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#000000",
+ },
+ defaults: {
+ text: "Introducing",
+ giantFontSize: 520,
+ compactFontSize: 132,
+ anchorOffsetX: -16,
+ giantTravel: 400,
+ settleTravel: 160,
+ cutFrame: 13,
+ revealSoftness: 14,
+ compactBlur: 12,
+ gradientStart: "#f04a14",
+ gradientEnd: "#f3f1f1",
+ ghostColor: "#170b0a",
+ backgroundColor: "#000000",
+ fontWeight: "700",
+ speed: 1,
+ },
+ },
"grain-dissolve": {
durationInFrames: 116,
fps: 30,
@@ -2470,6 +2576,39 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "inline-pill-takeover": {
+ durationInFrames: 45,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "gradient",
+ value:
+ "radial-gradient(circle at 50% 108%, #ffd77a 0%, #ff6840 31%, #f13d21 78%)",
+ },
+ defaults: {
+ before: "powering 20%",
+ insert: "Start building",
+ after: "of the Internet.",
+ fontSize: 52,
+ pillWidth: 260,
+ expandFrames: 12,
+ pillRevealHeightScale: 0.35,
+ pillGrowAt: 12,
+ pillGrowFrames: 24,
+ pillGrowWidthScale: 1.08,
+ pillGrowHeightScale: 1.16,
+ outerExitFrames: 18,
+ takeoverAt: 12,
+ takeoverScale: 2.15,
+ blur: 12,
+ color: "#fff3df",
+ pillColor: "#fffaf0",
+ pillTextColor: "#1c1210",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
input: {
durationInFrames: 120,
fps: 30,
@@ -2708,6 +2847,34 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "outline-fill-track-text": {
+ durationInFrames: 80,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#030012",
+ },
+ defaults: {
+ leadText: "Keep",
+ valueText: "1000000000%",
+ fontSize: 368,
+ enterOffset: 240,
+ anchorOffsetX: -84,
+ trackDistance: 0,
+ wordGap: 220,
+ endPadding: 96,
+ fillDuration: 38,
+ outlineWidth: 3,
+ color: "#f4f3f6",
+ outlineColor: "#e6e2ed",
+ backgroundColor: "#030012",
+ glowColor: "#64109a",
+ fontWeight: "700",
+ speed: 1,
+ },
+ },
"page-turn": {
durationInFrames: 128,
fps: 30,
@@ -3434,6 +3601,28 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
accentAmount: 0,
},
},
+ "shadow-sweep-text": {
+ durationInFrames: 37,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#030012",
+ },
+ defaults: {
+ text: "are abandoned",
+ fontSize: 96,
+ rise: 96,
+ driftLeft: 16,
+ shadowSoftness: 130,
+ color: "#aaa6b5",
+ backgroundColor: "#030012",
+ shadowColor: "#030012",
+ fontWeight: "700",
+ speed: 1,
+ },
+ },
"shared-axis-y": {
durationInFrames: 90,
fps: 30,
@@ -3470,6 +3659,25 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "sheen-slide-in": {
+ durationInFrames: 70,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#ffffff",
+ },
+ defaults: {
+ text: "Introducing",
+ exitAt: 60,
+ fontSize: 72,
+ baseColor: "#18181b",
+ sheenColor: "#4f8ef7",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
sheet: {
durationInFrames: 120,
fps: 30,
@@ -3710,6 +3918,25 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "squeeze-in": {
+ durationInFrames: 60,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#ffffff",
+ },
+ defaults: {
+ text: "Remocn",
+ fontSize: 72,
+ stagger: 3,
+ squeeze: 0.03,
+ color: "#171717",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
stage: {
durationInFrames: 300,
fps: 30,
@@ -3995,6 +4222,29 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "typed-split-wipe": {
+ durationInFrames: 75,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#101010",
+ },
+ defaults: {
+ prefix: "Introducing",
+ anchor: "X",
+ suffix: "Ads MCP",
+ typeFrames: 30,
+ exitAt: 50,
+ exitFrames: 20,
+ wordStagger: 4,
+ fontSize: 42,
+ color: "#e8e8e8",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
typewriter: {
durationInFrames: 120,
fps: 30,
@@ -4142,6 +4392,45 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "word-push": {
+ durationInFrames: 90,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#ffffff",
+ },
+ defaults: {
+ text: "move at your own pace",
+ fontSize: 72,
+ wordGap: 10,
+ accel: 0.8,
+ color: "#171717",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
+ "word-stream": {
+ durationInFrames: 100,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "color",
+ value: "#ffffff",
+ },
+ defaults: {
+ text: "introducing | one-tap checkout | for your store",
+ fontSize: 72,
+ wordGap: 6,
+ hold: 18,
+ drift: 2,
+ color: "#171717",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
"x-follow-card": {
durationInFrames: 165,
fps: 30,
@@ -4199,6 +4488,28 @@ export const previewManifest: Record<string, PreviewManifestEntry> = {
speed: 1,
},
},
+ "zoom-words": {
+ durationInFrames: 75,
+ fps: 30,
+ compositionWidth: 1280,
+ compositionHeight: 720,
+ previewBackdrop: {
+ type: "gradient",
+ value: "linear-gradient(180deg, #0a0612 25%, #6a3fd6 100%)",
+ },
+ defaults: {
+ text: "Still piecing together tools",
+ fontSize: 64,
+ wordGap: 12,
+ zoom: 2.2,
+ anchor: 0.5,
+ blur: 0.04,
+ blurFrames: 60,
+ color: "#cfc2ff",
+ fontWeight: "400",
+ speed: 1,
+ },
+ },
};
export default previewManifest;
diff --git a/registry/remocn/caret-swap/config.ts b/registry/remocn/caret-swap/config.ts
new file mode 100644
index 00000000..e4a215bf
--- /dev/null
+++ b/registry/remocn/caret-swap/config.ts
@@ -0,0 +1,79 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const caretSwapConfig: ComponentConfig = {
+ componentName: "CaretSwap",
+ importPath: "@/components/remocn/caret-swap",
+ controls: {
+ fromText: {
+ type: "text-content",
+ default: "Executing it?",
+ description: "From text",
+ },
+ toText: {
+ type: "text-content",
+ default: "That's where everyone quits",
+ description: "To text",
+ },
+ fontSize: {
+ type: "number",
+ min: 12,
+ max: 160,
+ step: 1,
+ default: 72,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ swapAt: {
+ type: "number",
+ min: 10,
+ max: 120,
+ step: 5,
+ default: 20,
+ description: "Swap frame",
+ hiddenFromList: false,
+ },
+ typeSpeed: {
+ type: "number",
+ min: 1,
+ max: 6,
+ step: 1,
+ default: 1,
+ description: "Frames / char",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#171717",
+ description: "Color",
+ },
+ caretColor: {
+ type: "color",
+ default: "#FF4DAA",
+ description: "Caret top",
+ },
+ caretColorEnd: {
+ type: "color",
+ default: "#8A5CF6",
+ description: "Caret bottom",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ dimensions: { width: 1100, height: 120 },
+ durationInFrames: 100,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#fdf6f0" },
+};
diff --git a/registry/remocn/caret-swap/index.tsx b/registry/remocn/caret-swap/index.tsx
new file mode 100644
index 00000000..03cd98b1
--- /dev/null
+++ b/registry/remocn/caret-swap/index.tsx
@@ -0,0 +1,228 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface CaretSwapProps {
+ fromText: string;
+ toText: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ caretColor?: string;
+ caretColorEnd?: string;
+ swapAt?: number;
+ typeSpeed?: number;
+ speed?: number;
+ className?: string;
+}
+
+const CARET_LEAD = 7;
+const EXPAND_FRAMES = 6;
+const COLLAPSE_FRAMES = 7;
+const IDLE_FRAMES = 7;
+const BLINK_FRAMES = 8;
+const CARET_WIDTH_EM = 0.08;
+const CARET_HEIGHT_EM = 1.1;
+const CARET_GAP_EM = 0.06;
+const CHAR_WIDTH_EM = 0.52;
+const TYPE_ACCEL = 0.96;
+
+function typeElapsed(count: number, typeSpeed: number): number {
+ return (typeSpeed * (1 - TYPE_ACCEL ** count)) / (1 - TYPE_ACCEL);
+}
+
+export function caretSwapLength(
+ toText: string,
+ swapAt = 20,
+ typeSpeed = 1,
+): number {
+ return Math.ceil(
+ swapAt +
+ EXPAND_FRAMES +
+ COLLAPSE_FRAMES +
+ IDLE_FRAMES +
+ typeElapsed(Array.from(toText).length, typeSpeed),
+ );
+}
+
+const expandEasing = Easing.bezier(0.6, 0, 0.8, 0.4);
+const collapseEasing = Easing.bezier(0.2, 0.7, 0.3, 1);
+
+export function CaretSwap({
+ fromText,
+ toText,
+ fontSize = 72,
+ color = "#171717",
+ fontWeight = 400,
+ caretColor = "#FF4DAA",
+ caretColorEnd = "#8A5CF6",
+ swapAt = 20,
+ typeSpeed = 1,
+ speed = 1,
+ className,
+}: CaretSwapProps) {
+ const frame = useCurrentFrame() * speed;
+
+ const toChars = Array.from(toText);
+ const caretWidth = CARET_WIDTH_EM * fontSize;
+ const caretHeight = CARET_HEIGHT_EM * fontSize;
+
+ const caretVisibleAt = Math.max(swapAt - CARET_LEAD, 0);
+ const expandEnd = swapAt + EXPAND_FRAMES;
+ const collapseEnd = expandEnd + COLLAPSE_FRAMES;
+ const typeStart = collapseEnd + IDLE_FRAMES;
+ const typeEnd = typeStart + typeElapsed(toChars.length, typeSpeed);
+
+ const expand = interpolate(frame, [swapAt, expandEnd], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: expandEasing,
+ });
+ const collapse = interpolate(frame, [expandEnd, collapseEnd], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: collapseEasing,
+ });
+
+ const typing = frame >= typeStart;
+ let typedCount = 0;
+ if (typing) {
+ while (
+ typedCount < toChars.length &&
+ typeElapsed(typedCount, typeSpeed) <= frame - typeStart
+ ) {
+ typedCount++;
+ }
+ }
+ const typed = toChars.slice(0, typedCount).join("");
+
+ const anchorWidthEm =
+ Array.from(fromText).length * CHAR_WIDTH_EM +
+ CARET_WIDTH_EM +
+ CARET_GAP_EM;
+ const targetShiftEm = (anchorWidthEm - toChars.length * CHAR_WIDTH_EM) / 2;
+ const typeProgress = toChars.length > 0 ? typedCount / toChars.length : 0;
+ const typedShift = targetShiftEm * typeProgress * fontSize;
+
+ const blinkOff =
+ frame >= typeEnd + BLINK_FRAMES &&
+ Math.floor((frame - typeEnd) / BLINK_FRAMES) % 2 === 1;
+
+ const caretStyle = {
+ background: `linear-gradient(180deg, ${caretColor}, ${caretColorEnd})`,
+ borderRadius: fontSize * 0.03,
+ };
+
+ const overlayWidth =
+ frame < expandEnd
+ ? `calc(${(expand * 100).toFixed(3)}% + ${((1 - expand) * caretWidth).toFixed(2)}px)`
+ : `calc(${((1 - collapse) * 100).toFixed(3)}% + ${(collapse * caretWidth).toFixed(2)}px)`;
+
+ const tailSolidStop =
+ frame < expandEnd ? 100 - 90 * expand : 10 + 90 * collapse;
+ const tailMask =
+ frame >= swapAt
+ ? `linear-gradient(90deg, black ${tailSolidStop.toFixed(1)}%, transparent 100%)`
+ : undefined;
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ whiteSpace: "nowrap",
+ background: "transparent",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ position: "relative",
+ display: "inline-flex",
+ alignItems: "center",
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: "-0.02em",
+ lineHeight: 1.15,
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ }}
+ >
+ <span
+ style={{
+ display: "inline-block",
+ whiteSpace: "pre",
+ visibility: frame < expandEnd ? "visible" : "hidden",
+ }}
+ >
+ {fromText}
+ </span>
+ <span
+ aria-hidden
+ style={{
+ ...caretStyle,
+ display: "inline-block",
+ flexShrink: 0,
+ width: caretWidth,
+ height: caretHeight,
+ marginLeft: CARET_GAP_EM * fontSize,
+ visibility: "hidden",
+ }}
+ />
+ {!typing && (
+ <span
+ aria-hidden
+ style={{
+ ...caretStyle,
+ position: "absolute",
+ top: "50%",
+ transform: "translateY(-50%)",
+ height: caretHeight,
+ ...(frame < swapAt
+ ? { right: 0, width: caretWidth }
+ : frame < expandEnd
+ ? { right: 0, width: overlayWidth }
+ : { left: 0, width: overlayWidth }),
+ WebkitMaskImage: tailMask,
+ maskImage: tailMask,
+ opacity: frame >= caretVisibleAt ? 1 : 0,
+ }}
+ />
+ )}
+ {typing && (
+ <span
+ style={{
+ position: "absolute",
+ left: 0,
+ top: "50%",
+ transform: `translate(${typedShift.toFixed(1)}px, -50%)`,
+ display: "inline-flex",
+ alignItems: "center",
+ whiteSpace: "pre",
+ }}
+ >
+ <span style={{ display: "inline-block", whiteSpace: "pre" }}>
+ {typed}
+ </span>
+ <span
+ aria-hidden
+ style={{
+ ...caretStyle,
+ display: "inline-block",
+ flexShrink: 0,
+ width: caretWidth,
+ height: caretHeight,
+ marginLeft: CARET_GAP_EM * fontSize,
+ opacity: blinkOff ? 0 : 1,
+ }}
+ />
+ </span>
+ )}
+ </span>
+ </div>
+ );
+}
diff --git a/registry/remocn/centered-word-build/config.ts b/registry/remocn/centered-word-build/config.ts
new file mode 100644
index 00000000..281206ad
--- /dev/null
+++ b/registry/remocn/centered-word-build/config.ts
@@ -0,0 +1,112 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const centeredWordBuildConfig: ComponentConfig = {
+ componentName: "CenteredWordBuild",
+ importPath: "@/components/remocn/centered-word-build",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "everything we learn from",
+ description: "Text",
+ },
+ fontSize: {
+ type: "number",
+ min: 24,
+ max: 160,
+ step: 1,
+ default: 52,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ wordGap: {
+ type: "number",
+ min: 4,
+ max: 24,
+ step: 1,
+ default: 11,
+ description: "First word gaps",
+ hiddenFromList: false,
+ },
+ accel: {
+ type: "number",
+ min: 0.4,
+ max: 1,
+ step: 0.05,
+ default: 0.75,
+ description: "Later gap multiplier",
+ hiddenFromList: false,
+ },
+ rise: {
+ type: "number",
+ min: 0,
+ max: 0.5,
+ step: 0.01,
+ default: 0.18,
+ description: "Word rise (em)",
+ hiddenFromList: false,
+ },
+ zoomStep: {
+ type: "number",
+ min: 0,
+ max: 0.1,
+ step: 0.005,
+ default: 0.035,
+ description: "Zoom / word",
+ hiddenFromList: false,
+ },
+ settleFrames: {
+ type: "number",
+ min: 2,
+ max: 20,
+ step: 1,
+ default: 9,
+ description: "Rise and zoom frames",
+ hiddenFromList: false,
+ },
+ exitAt: {
+ type: "number",
+ min: 20,
+ max: 100,
+ step: 1,
+ default: 51,
+ description: "Exit start frame",
+ hiddenFromList: false,
+ },
+ exitFrames: {
+ type: "number",
+ min: 4,
+ max: 30,
+ step: 1,
+ default: 12,
+ description: "Exit duration",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#fff3df",
+ description: "Color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 75,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: {
+ type: "gradient",
+ value:
+ "radial-gradient(circle at 50% 108%, #ffd77a 0%, #ff6840 31%, #f13d21 78%)",
+ },
+};
diff --git a/registry/remocn/centered-word-build/index.tsx b/registry/remocn/centered-word-build/index.tsx
new file mode 100644
index 00000000..61c09ba4
--- /dev/null
+++ b/registry/remocn/centered-word-build/index.tsx
@@ -0,0 +1,162 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface CenteredWordBuildProps {
+ text: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ wordGap?: number;
+ accel?: number;
+ rise?: number;
+ zoomStep?: number;
+ settleFrames?: number;
+ exitAt?: number;
+ exitFrames?: number;
+ speed?: number;
+ className?: string;
+}
+
+function revealFrame(index: number, wordGap: number, accel: number): number {
+ let frame = 0;
+
+ for (let step = 1; step <= index; step++) {
+ // Establish two even beats before tightening the cadence.
+ frame += wordGap * accel ** Math.max(step - 2, 0);
+ }
+
+ return Math.round(frame);
+}
+
+export function centeredWordBuildLength(
+ text: string,
+ wordGap = 11,
+ accel = 0.75,
+ settleFrames = 9,
+ exitAt = 51,
+ exitFrames = 12,
+): number {
+ const words = text.trim().split(/\s+/).filter(Boolean);
+ if (words.length === 0) return 0;
+
+ const lastReveal = revealFrame(words.length - 1, wordGap, accel);
+ return Math.max(lastReveal + settleFrames, exitAt + exitFrames);
+}
+
+const settleEasing = Easing.bezier(0.16, 1, 0.3, 1);
+
+export function CenteredWordBuild({
+ text,
+ fontSize = 52,
+ color = "#fff3df",
+ fontWeight = 400,
+ wordGap = 11,
+ accel = 0.75,
+ rise = 0.18,
+ zoomStep = 0.035,
+ settleFrames = 9,
+ exitAt = 51,
+ exitFrames = 12,
+ speed = 1,
+ className,
+}: CenteredWordBuildProps) {
+ const frame = useCurrentFrame() * speed;
+ const words = text.trim().split(/\s+/).filter(Boolean);
+
+ if (words.length === 0) return null;
+
+ const visibleCount = words.filter(
+ (_, index) => frame >= revealFrame(index, wordGap, accel),
+ ).length;
+ let cameraScale = 1;
+ for (let index = 1; index < visibleCount; index++) {
+ const revealAt = revealFrame(index, wordGap, accel);
+ cameraScale +=
+ zoomStep *
+ interpolate(
+ frame,
+ [revealAt, revealAt + Math.max(settleFrames, 0.001)],
+ [0, 1],
+ {
+ easing: settleEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+ }
+ const exitProgress = interpolate(
+ frame,
+ [exitAt, exitAt + Math.max(exitFrames, 0.001)],
+ [0, 1],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+ const fadeStart = -35 + exitProgress * 135;
+ const fadeEnd = fadeStart + 35;
+ const exitMask = `linear-gradient(90deg, transparent ${fadeStart}%, black ${fadeEnd}%)`;
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ overflow: "hidden",
+ background: "transparent",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ color,
+ display: "inline-block",
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ fontSize,
+ fontWeight,
+ letterSpacing: "-0.02em",
+ lineHeight: 1.1,
+ whiteSpace: "nowrap",
+ scale: `${cameraScale}`,
+ opacity: exitProgress >= 1 ? 0 : 1,
+ maskImage: exitProgress > 0 ? exitMask : undefined,
+ WebkitMaskImage: exitProgress > 0 ? exitMask : undefined,
+ maskRepeat: "no-repeat",
+ WebkitMaskRepeat: "no-repeat",
+ }}
+ >
+ {words.slice(0, visibleCount).map((word, index) => {
+ const revealAt = revealFrame(index, wordGap, accel);
+ const y = interpolate(
+ frame,
+ [revealAt, revealAt + Math.max(settleFrames, 0.001)],
+ [rise * fontSize, 0],
+ {
+ easing: settleEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+
+ return (
+ <span
+ key={index}
+ style={{
+ display: "inline-block",
+ marginLeft: index > 0 ? "0.25em" : undefined,
+ translate: `0 ${y}px`,
+ }}
+ >
+ {word}
+ </span>
+ );
+ })}
+ </span>
+ </div>
+ );
+}
diff --git a/registry/remocn/fog-rise/config.ts b/registry/remocn/fog-rise/config.ts
new file mode 100644
index 00000000..c809e4c5
--- /dev/null
+++ b/registry/remocn/fog-rise/config.ts
@@ -0,0 +1,181 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const fogRiseConfig: ComponentConfig = {
+ componentName: "FogRise",
+ importPath: "@/components/remocn/fog-rise",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "Remocn",
+ description: "Text",
+ },
+ fontSize: {
+ type: "number",
+ min: 40,
+ max: 560,
+ step: 4,
+ default: 304,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ stagger: {
+ type: "number",
+ min: 0,
+ max: 15,
+ step: 1,
+ default: 5,
+ description: "Frames / ring",
+ hiddenFromList: false,
+ },
+ blur: {
+ type: "number",
+ min: 0,
+ max: 0.5,
+ step: 0.01,
+ default: 0.17,
+ description: "Blur (em)",
+ hiddenFromList: false,
+ },
+ tilt: {
+ type: "number",
+ min: 0,
+ max: 90,
+ step: 5,
+ default: 55,
+ description: "Start tilt (deg)",
+ hiddenFromList: false,
+ },
+ depth: {
+ type: "number",
+ min: 1,
+ max: 8,
+ step: 0.5,
+ default: 5,
+ description: "Perspective depth",
+ hiddenFromList: false,
+ },
+ lift: {
+ type: "number",
+ min: 0,
+ max: 1,
+ step: 0.05,
+ default: 0.85,
+ description: "Lift (em)",
+ hiddenFromList: false,
+ },
+ drift: {
+ type: "number",
+ min: 0,
+ max: 0.012,
+ step: 0.001,
+ default: 0.005,
+ description: "Drift (em / frame)",
+ hiddenFromList: false,
+ },
+ exitAt: {
+ type: "number",
+ min: 0,
+ max: 200,
+ step: 5,
+ default: 60,
+ description: "Exit frame",
+ hiddenFromList: false,
+ },
+ exitAccel: {
+ type: "number",
+ min: 0.002,
+ max: 0.05,
+ step: 0.002,
+ default: 0.04,
+ description: "Exit accel",
+ hiddenFromList: false,
+ },
+ mass: {
+ type: "number",
+ min: 0.3,
+ max: 3,
+ step: 0.1,
+ default: 1.3,
+ description: "Mass",
+ hiddenFromList: false,
+ },
+ stiffness: {
+ type: "number",
+ min: 30,
+ max: 250,
+ step: 10,
+ default: 60,
+ description: "Stiffness",
+ hiddenFromList: false,
+ },
+ damping: {
+ type: "number",
+ min: 5,
+ max: 30,
+ step: 1,
+ default: 13,
+ description: "Damping",
+ hiddenFromList: false,
+ },
+ spreadGap: {
+ type: "number",
+ min: 0,
+ max: 0.3,
+ step: 0.01,
+ default: 0.07,
+ description: "Spread gap (em)",
+ hiddenFromList: false,
+ },
+ tracking: {
+ type: "number",
+ min: -0.12,
+ max: 0,
+ step: 0.005,
+ default: -0.07,
+ description: "Tracking (em)",
+ hiddenFromList: false,
+ },
+ resolveFrames: {
+ type: "number",
+ min: 8,
+ max: 50,
+ step: 1,
+ default: 22,
+ description: "Converge frames",
+ hiddenFromList: false,
+ },
+ fadeFrames: {
+ type: "number",
+ min: 2,
+ max: 25,
+ step: 1,
+ default: 18,
+ description: "Fade frames",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#004CFF",
+ description: "Color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+
+ durationInFrames: 90,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#ffffff" },
+};
diff --git a/registry/remocn/fog-rise/index.tsx b/registry/remocn/fog-rise/index.tsx
new file mode 100644
index 00000000..4c70c0a5
--- /dev/null
+++ b/registry/remocn/fog-rise/index.tsx
@@ -0,0 +1,149 @@
+"use client";
+
+import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
+
+export interface FogRiseProps {
+ text: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ stagger?: number;
+ blur?: number;
+ tilt?: number;
+ depth?: number;
+ lift?: number;
+ drift?: number;
+ exitAt?: number;
+ exitAccel?: number;
+ mass?: number;
+ stiffness?: number;
+ damping?: number;
+ spreadGap?: number;
+ tracking?: number;
+ resolveFrames?: number;
+ fadeFrames?: number;
+ speed?: number;
+ className?: string;
+}
+
+export function fogRiseLength(
+ text: string,
+ stagger = 5,
+ resolveFrames = 22,
+): number {
+ const chars = Array.from(text);
+ if (chars.length === 0) return 0;
+ const center = (chars.length - 1) / 2;
+ const maxRing = Math.floor(center);
+ return maxRing * stagger + resolveFrames;
+}
+
+export function FogRise({
+ text,
+ fontSize = 304,
+ color = "#004CFF",
+ fontWeight = 400,
+ stagger = 5,
+ blur = 0.17,
+ tilt = 55,
+ depth = 5,
+ lift = 0.85,
+ drift = 0.005,
+ exitAt = 60,
+ exitAccel = 0.04,
+ mass = 1.3,
+ stiffness = 60,
+ damping = 13,
+ spreadGap = 0.07,
+ tracking = -0.07,
+ resolveFrames = 22,
+ fadeFrames = 18,
+ speed = 1,
+ className,
+}: FogRiseProps) {
+ const frame = useCurrentFrame() * speed;
+ const { fps } = useVideoConfig();
+
+ const chars = Array.from(text);
+ const center = (chars.length - 1) / 2;
+ const minRing = chars.length % 2 === 0 ? 0.5 : 0;
+ const maxRing = Math.floor(center);
+
+ const converge = spring({
+ frame,
+ fps,
+ config: { mass, stiffness, damping },
+ });
+ const angle = tilt * (1 - converge);
+ const liftY = lift * fontSize * (1 - converge);
+ const driftY = drift * fontSize * frame;
+ const exitT = exitAt > 0 ? Math.max(frame - exitAt, 0) : 0;
+ const exitY = 0.5 * exitAccel * exitT * exitT * fontSize;
+ const gap = spreadGap * fontSize * (1 - converge);
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "flex-end",
+ justifyContent: "center",
+ paddingBottom: "6%",
+ whiteSpace: "nowrap",
+ perspective: `${depth * fontSize}px`,
+ background: "transparent",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ transform: `translateY(${liftY - driftY - exitY}px) rotateX(${-angle}deg)`,
+ transformOrigin: "50% 100%",
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: `${tracking}em`,
+ lineHeight: 1.15,
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ }}
+ >
+ {chars.map((char, j) => {
+ const ring = Math.abs(j - center) - minRing;
+ const startAt = ring * stagger;
+
+ const opacity = interpolate(
+ frame,
+ [startAt, startAt + fadeFrames],
+ [0, 1],
+ { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
+ );
+
+ const charBlur =
+ blur *
+ fontSize *
+ interpolate(frame, [0, maxRing * stagger + resolveFrames], [1, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+
+ return (
+ <span
+ key={j}
+ style={{
+ display: "inline-block",
+ whiteSpace: "pre",
+ marginRight: j < chars.length - 1 ? gap : undefined,
+ opacity,
+ filter: charBlur > 0.05 ? `blur(${charBlur}px)` : undefined,
+ }}
+ >
+ {char}
+ </span>
+ );
+ })}
+ </span>
+ </div>
+ );
+}
diff --git a/registry/remocn/gradient-scale-cut-text/config.ts b/registry/remocn/gradient-scale-cut-text/config.ts
new file mode 100644
index 00000000..dd2812df
--- /dev/null
+++ b/registry/remocn/gradient-scale-cut-text/config.ts
@@ -0,0 +1,123 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const gradientScaleCutTextConfig: ComponentConfig = {
+ componentName: "GradientScaleCutText",
+ importPath: "@/components/remocn/gradient-scale-cut-text",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "Introducing",
+ description: "Text",
+ },
+ giantFontSize: {
+ type: "number",
+ min: 160,
+ max: 720,
+ step: 4,
+ default: 520,
+ description: "Giant font size",
+ hiddenFromList: false,
+ },
+ compactFontSize: {
+ type: "number",
+ min: 40,
+ max: 240,
+ step: 2,
+ default: 132,
+ description: "Compact font size",
+ hiddenFromList: false,
+ },
+ anchorOffsetX: {
+ type: "number",
+ min: -400,
+ max: 400,
+ step: 4,
+ default: -16,
+ description: "Final horizontal anchor offset",
+ hiddenFromList: false,
+ },
+ giantTravel: {
+ type: "number",
+ min: 0,
+ max: 800,
+ step: 4,
+ default: 400,
+ description: "Giant phase left travel",
+ hiddenFromList: false,
+ },
+ settleTravel: {
+ type: "number",
+ min: 0,
+ max: 400,
+ step: 4,
+ default: 160,
+ description: "Compact entrance travel",
+ hiddenFromList: false,
+ },
+ cutFrame: {
+ type: "number",
+ min: 4,
+ max: 24,
+ step: 1,
+ default: 13,
+ description: "Hard cut frame",
+ hiddenFromList: false,
+ },
+ revealSoftness: {
+ type: "number",
+ min: 0,
+ max: 40,
+ step: 1,
+ default: 14,
+ description: "Reveal edge softness",
+ hiddenFromList: false,
+ },
+ compactBlur: {
+ type: "number",
+ min: 0,
+ max: 40,
+ step: 1,
+ default: 12,
+ description: "Blur after the cut",
+ hiddenFromList: false,
+ },
+ gradientStart: {
+ type: "color",
+ default: "#f04a14",
+ description: "Gradient start",
+ },
+ gradientEnd: {
+ type: "color",
+ default: "#f3f1f1",
+ description: "Gradient end",
+ },
+ ghostColor: {
+ type: "color",
+ default: "#170b0a",
+ description: "Unrevealed text color",
+ },
+ backgroundColor: {
+ type: "color",
+ default: "#000000",
+ description: "Background color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "700",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 36,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#000000" },
+};
diff --git a/registry/remocn/gradient-scale-cut-text/index.tsx b/registry/remocn/gradient-scale-cut-text/index.tsx
new file mode 100644
index 00000000..95c4db2f
--- /dev/null
+++ b/registry/remocn/gradient-scale-cut-text/index.tsx
@@ -0,0 +1,215 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface GradientScaleCutTextProps {
+ text?: string;
+ giantFontSize?: number;
+ compactFontSize?: number;
+ fontWeight?: number;
+ gradientStart?: string;
+ gradientEnd?: string;
+ ghostColor?: string;
+ backgroundColor?: string;
+ anchorOffsetX?: number;
+ giantTravel?: number;
+ settleTravel?: number;
+ cutFrame?: number;
+ revealSoftness?: number;
+ compactBlur?: number;
+ speed?: number;
+ className?: string;
+}
+
+export const gradientScaleCutTextLength = 36;
+
+const REVEAL_END = 33;
+const SETTLE_FRAMES = 8;
+const GIANT_Y = -28;
+const GIANT_X_CORRECTION = -48;
+const COMPACT_Y = 5;
+const COMPACT_X_SCALE = 0.87;
+const COMPACT_START_X_CORRECTION = 28;
+const FONT_FAMILY = "Arial, Helvetica, sans-serif";
+const clamp = {
+ extrapolateLeft: "clamp" as const,
+ extrapolateRight: "clamp" as const,
+};
+
+interface TextLayerProps {
+ text: string;
+ fontSize: number;
+ fontWeight: number;
+ gradientStart: string;
+ gradientEnd: string;
+ ghostColor: string;
+ maskImage: string;
+}
+
+function TextLayer({
+ text,
+ fontSize,
+ fontWeight,
+ gradientStart,
+ gradientEnd,
+ ghostColor,
+ maskImage,
+}: TextLayerProps) {
+ const textStyle = {
+ display: "block",
+ fontFamily: FONT_FAMILY,
+ fontSize,
+ fontWeight,
+ letterSpacing: 0,
+ lineHeight: 1.12,
+ whiteSpace: "nowrap" as const,
+ };
+
+ return (
+ <div style={{ position: "relative" }}>
+ <span style={{ ...textStyle, color: ghostColor }}>{text}</span>
+ <span
+ style={{
+ ...textStyle,
+ position: "absolute",
+ inset: 0,
+ color: "transparent",
+ backgroundImage: `linear-gradient(90deg, ${gradientStart} 0%, ${gradientStart} 4%, ${gradientEnd} 26%, ${gradientEnd} 100%)`,
+ backgroundClip: "text",
+ maskImage,
+ maskRepeat: "no-repeat",
+ opacity: 1,
+ WebkitBackgroundClip: "text",
+ WebkitMaskImage: maskImage,
+ WebkitMaskRepeat: "no-repeat",
+ }}
+ >
+ {text}
+ </span>
+ </div>
+ );
+}
+
+export function GradientScaleCutText({
+ text = "Introducing",
+ giantFontSize = 520,
+ compactFontSize = 132,
+ fontWeight = 700,
+ gradientStart = "#f04a14",
+ gradientEnd = "#f3f1f1",
+ ghostColor = "#170b0a",
+ backgroundColor = "#000000",
+ anchorOffsetX = -16,
+ giantTravel = 400,
+ settleTravel = 160,
+ cutFrame = 13,
+ revealSoftness = 14,
+ compactBlur = 12,
+ speed = 1,
+ className,
+}: GradientScaleCutTextProps) {
+ const frame = useCurrentFrame() * Math.max(speed, 0);
+ const safeCutFrame = Math.max(cutFrame, 1);
+ const safeGiantFontSize = Math.max(giantFontSize, 1);
+ const safeCompactFontSize = Math.max(compactFontSize, 1);
+ const safeSoftness = Math.max(revealSoftness, 0);
+ const safeBlur = Math.max(compactBlur, 0);
+ const revealProgress = interpolate(frame, [0, REVEAL_END], [0.02, 1], {
+ ...clamp,
+ easing: Easing.bezier(0.22, 0.74, 0.24, 1),
+ });
+ const revealEdge = revealProgress * (100 + safeSoftness / 2);
+ const revealSolid = Math.max(0, revealEdge - safeSoftness / 2);
+ const revealFade = revealEdge + safeSoftness / 2;
+ const maskImage = `linear-gradient(90deg, #000 0%, #000 ${revealSolid}%, transparent ${revealFade}%, transparent ${revealFade}%)`;
+ const giantProgress = interpolate(
+ frame,
+ [0, Math.max(safeCutFrame - 1, 1)],
+ [0, 1],
+ {
+ ...clamp,
+ easing: Easing.out(Easing.cubic),
+ },
+ );
+ const settleProgress = interpolate(
+ frame,
+ [safeCutFrame, safeCutFrame + SETTLE_FRAMES],
+ [0, 1],
+ {
+ ...clamp,
+ easing: Easing.out(Easing.cubic),
+ },
+ );
+ const moveProgress = interpolate(
+ frame,
+ [
+ safeCutFrame + 1,
+ safeCutFrame + 2,
+ safeCutFrame + 4,
+ safeCutFrame + SETTLE_FRAMES,
+ ],
+ [0, 0.58, 0.875, 1],
+ clamp,
+ );
+ const showGiant = frame < safeCutFrame;
+ const compactX =
+ interpolate(moveProgress, [0, 1], [settleTravel, 0], clamp) +
+ COMPACT_START_X_CORRECTION * (1 - moveProgress);
+ const compactBlurValue = safeBlur * (1 - settleProgress);
+
+ return (
+ <div
+ className={className}
+ style={{
+ position: "absolute",
+ inset: 0,
+ overflow: "hidden",
+ backgroundColor,
+ }}
+ >
+ {showGiant ? (
+ <div
+ style={{
+ position: "absolute",
+ top: `calc(50% + ${GIANT_Y}px)`,
+ left: `calc(50% + ${anchorOffsetX + GIANT_X_CORRECTION - giantTravel * giantProgress}px)`,
+ opacity: 1,
+ transform: "translate3d(0, -50%, 0)",
+ }}
+ >
+ <TextLayer
+ text={text}
+ fontSize={safeGiantFontSize}
+ fontWeight={fontWeight}
+ gradientStart={gradientStart}
+ gradientEnd={gradientEnd}
+ ghostColor={ghostColor}
+ maskImage={maskImage}
+ />
+ </div>
+ ) : (
+ <div
+ style={{
+ position: "absolute",
+ top: `calc(50% + ${COMPACT_Y}px)`,
+ left: `calc(50% + ${anchorOffsetX + compactX}px)`,
+ filter: `blur(${compactBlurValue}px)`,
+ opacity: 1,
+ transform: `translate3d(-50%, -50%, 0) scaleX(${COMPACT_X_SCALE})`,
+ transformOrigin: "center",
+ }}
+ >
+ <TextLayer
+ text={text}
+ fontSize={safeCompactFontSize}
+ fontWeight={fontWeight}
+ gradientStart={gradientStart}
+ gradientEnd={gradientEnd}
+ ghostColor={ghostColor}
+ maskImage={maskImage}
+ />
+ </div>
+ )}
+ </div>
+ );
+}
diff --git a/registry/remocn/inline-pill-takeover/config.ts b/registry/remocn/inline-pill-takeover/config.ts
new file mode 100644
index 00000000..59a5cbbd
--- /dev/null
+++ b/registry/remocn/inline-pill-takeover/config.ts
@@ -0,0 +1,168 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const inlinePillTakeoverConfig: ComponentConfig = {
+ componentName: "InlinePillTakeover",
+ importPath: "@/components/remocn/inline-pill-takeover",
+ controls: {
+ before: {
+ type: "text-content",
+ default: "powering 20%",
+ description: "Text before pill",
+ },
+ insert: {
+ type: "text-content",
+ default: "Start building",
+ description: "Pill text",
+ },
+ after: {
+ type: "text-content",
+ default: "of the Internet.",
+ description: "Text after pill",
+ },
+ fontSize: {
+ type: "number",
+ min: 24,
+ max: 120,
+ step: 1,
+ default: 52,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ pillWidth: {
+ type: "number",
+ min: 100,
+ max: 600,
+ step: 5,
+ default: 260,
+ description: "Expanded pill width",
+ hiddenFromList: false,
+ },
+ expandFrames: {
+ type: "number",
+ min: 6,
+ max: 45,
+ step: 1,
+ default: 12,
+ description: "Width reveal frames",
+ hiddenFromList: false,
+ },
+ pillRevealHeightScale: {
+ type: "number",
+ min: 0.05,
+ max: 1,
+ step: 0.05,
+ default: 0.35,
+ description: "Initial reveal height scale",
+ hiddenFromList: false,
+ },
+ pillGrowAt: {
+ type: "number",
+ min: 6,
+ max: 30,
+ step: 1,
+ default: 12,
+ description: "Pill growth start frame",
+ hiddenFromList: false,
+ },
+ pillGrowFrames: {
+ type: "number",
+ min: 6,
+ max: 36,
+ step: 1,
+ default: 24,
+ description: "Pill growth frames",
+ hiddenFromList: false,
+ },
+ pillGrowWidthScale: {
+ type: "number",
+ min: 1,
+ max: 1.3,
+ step: 0.01,
+ default: 1.08,
+ description: "Final pill width scale",
+ hiddenFromList: false,
+ },
+ pillGrowHeightScale: {
+ type: "number",
+ min: 1,
+ max: 1.5,
+ step: 0.01,
+ default: 1.16,
+ description: "Final pill height scale",
+ hiddenFromList: false,
+ },
+ outerExitFrames: {
+ type: "number",
+ min: 6,
+ max: 30,
+ step: 1,
+ default: 18,
+ description: "Outer text exit frames",
+ hiddenFromList: false,
+ },
+ takeoverAt: {
+ type: "number",
+ min: 12,
+ max: 40,
+ step: 1,
+ default: 12,
+ description: "Camera move start frame",
+ hiddenFromList: false,
+ },
+ takeoverScale: {
+ type: "number",
+ min: 1,
+ max: 4,
+ step: 0.05,
+ default: 2.15,
+ description: "Final takeover scale",
+ hiddenFromList: false,
+ },
+ blur: {
+ type: "number",
+ min: 0,
+ max: 30,
+ step: 1,
+ default: 12,
+ description: "Outer text blur",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#fff3df",
+ description: "Outer text color",
+ },
+ pillColor: {
+ type: "color",
+ default: "#fffaf0",
+ description: "Pill color",
+ },
+ pillTextColor: {
+ type: "color",
+ default: "#1c1210",
+ description: "Pill text color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 45,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: {
+ type: "gradient",
+ value:
+ "radial-gradient(circle at 50% 108%, #ffd77a 0%, #ff6840 31%, #f13d21 78%)",
+ },
+};
diff --git a/registry/remocn/inline-pill-takeover/index.tsx b/registry/remocn/inline-pill-takeover/index.tsx
new file mode 100644
index 00000000..fca25ffb
--- /dev/null
+++ b/registry/remocn/inline-pill-takeover/index.tsx
@@ -0,0 +1,216 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface InlinePillTakeoverProps {
+ before: string;
+ insert: string;
+ after: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ pillWidth?: number;
+ pillColor?: string;
+ pillTextColor?: string;
+ expandFrames?: number;
+ pillRevealHeightScale?: number;
+ pillGrowAt?: number;
+ pillGrowFrames?: number;
+ pillGrowWidthScale?: number;
+ pillGrowHeightScale?: number;
+ outerExitFrames?: number;
+ takeoverAt?: number;
+ takeoverScale?: number;
+ blur?: number;
+ speed?: number;
+ className?: string;
+}
+
+const PRE_CUT_FRAMES = 12;
+const TAKEOVER_SETTLE_FRAMES = 6;
+const PRE_CUT_CAMERA_SCALE = 1.25;
+const CAMERA_CUT_ENTRY_PROGRESS = 0.86;
+const expandEasing = Easing.out(Easing.quad);
+const pillGrowEasing = Easing.inOut(Easing.quad);
+const fadeEasing = Easing.in(Easing.cubic);
+const preCutEasing = Easing.out(Easing.quad);
+const takeoverSettleEasing = Easing.out(Easing.cubic);
+
+export function InlinePillTakeover({
+ before,
+ insert,
+ after,
+ fontSize = 52,
+ color = "#fff3df",
+ fontWeight = 400,
+ pillWidth = 260,
+ pillColor = "#fffaf0",
+ pillTextColor = "#1c1210",
+ expandFrames = 12,
+ pillRevealHeightScale = 0.35,
+ pillGrowAt = 12,
+ pillGrowFrames = 24,
+ pillGrowWidthScale = 1.08,
+ pillGrowHeightScale = 1.16,
+ outerExitFrames = 18,
+ takeoverAt = 12,
+ takeoverScale = 2.15,
+ blur = 12,
+ speed = 1,
+ className,
+}: InlinePillTakeoverProps) {
+ const frame = useCurrentFrame() * speed;
+ const safeExpandFrames = Math.max(expandFrames, 0.001);
+ const pillGrowEnd = pillGrowAt + Math.max(pillGrowFrames, 0.001);
+ const outerExitEnd = Math.max(outerExitFrames, 2.001);
+ const dashWidth = fontSize * 0.72;
+ const pillHeight = fontSize * 1.22;
+ const cutAt = takeoverAt + PRE_CUT_FRAMES;
+ const cutEntryScale = takeoverScale * CAMERA_CUT_ENTRY_PROGRESS;
+
+ const expand = interpolate(frame, [0, safeExpandFrames], [0, 1], {
+ easing: expandEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+ const pillGrowProgress = interpolate(
+ frame,
+ [pillGrowAt, pillGrowEnd],
+ [0, 1],
+ {
+ easing: pillGrowEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+ const outerExit = interpolate(frame, [2, outerExitEnd], [0, 1], {
+ easing: fadeEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+ const pillTextOpacity = frame >= 3 ? 1 : 0;
+ const preCutCameraScale = interpolate(
+ frame,
+ [takeoverAt, cutAt - 1],
+ [1, PRE_CUT_CAMERA_SCALE],
+ {
+ easing: preCutEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+ const postCutCameraScale = interpolate(
+ frame,
+ [cutAt, cutAt + TAKEOVER_SETTLE_FRAMES],
+ [cutEntryScale, takeoverScale],
+ {
+ easing: takeoverSettleEasing,
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+ const cameraScale = frame < cutAt ? preCutCameraScale : postCutCameraScale;
+ const revealedPillWidth = dashWidth + (pillWidth - dashWidth) * expand;
+ const revealedPillHeight =
+ pillHeight * (pillRevealHeightScale + (1 - pillRevealHeightScale) * expand);
+ const pillWidthGrow = 1 + (pillGrowWidthScale - 1) * pillGrowProgress;
+ const pillHeightGrow = 1 + (pillGrowHeightScale - 1) * pillGrowProgress;
+ const animatedPillWidth = revealedPillWidth * pillWidthGrow;
+ const animatedPillHeight = revealedPillHeight * pillHeightGrow;
+
+ return (
+ <div
+ className={className}
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ overflow: "hidden",
+ background: "transparent",
+ }}
+ >
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ transform: `scale(${cameraScale})`,
+ transformOrigin: "center",
+ }}
+ >
+ <div
+ style={{
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ width: "100%",
+ gap: `${fontSize * 0.16}px`,
+ whiteSpace: "nowrap",
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ fontSize,
+ fontWeight,
+ letterSpacing: "-0.02em",
+ lineHeight: 1,
+ }}
+ >
+ <span
+ style={{
+ flex: 1,
+ textAlign: "right",
+ color,
+ opacity: 1 - outerExit,
+ filter: outerExit > 0 ? `blur(${blur * outerExit}px)` : undefined,
+ }}
+ >
+ {before}
+ </span>
+
+ <span
+ style={{
+ position: "relative",
+ display: "inline-block",
+ flexShrink: 0,
+ width: animatedPillWidth,
+ height: animatedPillHeight,
+ overflow: "hidden",
+ borderRadius: animatedPillHeight / 2,
+ background: pillColor,
+ color: pillTextColor,
+ }}
+ >
+ <span
+ style={{
+ position: "absolute",
+ top: "50%",
+ left: "50%",
+ translate: "-50% -50%",
+ fontSize: fontSize * 0.84,
+ opacity: pillTextOpacity,
+ whiteSpace: "nowrap",
+ }}
+ >
+ {insert}
+ </span>
+ </span>
+
+ <span
+ style={{
+ flex: 1,
+ textAlign: "left",
+ color,
+ opacity: 1 - outerExit,
+ filter: outerExit > 0 ? `blur(${blur * outerExit}px)` : undefined,
+ }}
+ >
+ {after}
+ </span>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/registry/remocn/outline-fill-track-text/config.ts b/registry/remocn/outline-fill-track-text/config.ts
new file mode 100644
index 00000000..041e419c
--- /dev/null
+++ b/registry/remocn/outline-fill-track-text/config.ts
@@ -0,0 +1,128 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const outlineFillTrackTextConfig: ComponentConfig = {
+ componentName: "OutlineFillTrackText",
+ importPath: "@/components/remocn/outline-fill-track-text",
+ controls: {
+ leadText: {
+ type: "text-content",
+ default: "Keep",
+ description: "Lead text",
+ },
+ valueText: {
+ type: "text-content",
+ default: "1000000000%",
+ description: "Outlined value",
+ },
+ fontSize: {
+ type: "number",
+ min: 120,
+ max: 520,
+ step: 4,
+ default: 368,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ enterOffset: {
+ type: "number",
+ min: 0,
+ max: 420,
+ step: 4,
+ default: 240,
+ description: "Vertical entrance offset",
+ hiddenFromList: false,
+ },
+ anchorOffsetX: {
+ type: "number",
+ min: -400,
+ max: 400,
+ step: 4,
+ default: -84,
+ description: "Shared horizontal anchor offset",
+ hiddenFromList: false,
+ },
+ trackDistance: {
+ type: "number",
+ min: 0,
+ max: 1800,
+ step: 10,
+ default: 0,
+ description: "Lead-to-value distance override; zero measures the text",
+ hiddenFromList: false,
+ },
+ wordGap: {
+ type: "number",
+ min: 0,
+ max: 500,
+ step: 4,
+ default: 220,
+ description: "Gap between the lead and value",
+ hiddenFromList: false,
+ },
+ endPadding: {
+ type: "number",
+ min: 0,
+ max: 320,
+ step: 4,
+ default: 96,
+ description: "Trailing edge padding for long values",
+ hiddenFromList: false,
+ },
+ fillDuration: {
+ type: "number",
+ min: 8,
+ max: 45,
+ step: 1,
+ default: 38,
+ description: "Fill duration in frames",
+ hiddenFromList: false,
+ },
+ outlineWidth: {
+ type: "number",
+ min: 0,
+ max: 12,
+ step: 0.5,
+ default: 3,
+ description: "Outline width",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#f4f3f6",
+ description: "Fill color",
+ },
+ outlineColor: {
+ type: "color",
+ default: "#e6e2ed",
+ description: "Outline color",
+ },
+ backgroundColor: {
+ type: "color",
+ default: "#030012",
+ description: "Background color",
+ },
+ glowColor: {
+ type: "color",
+ default: "#64109a",
+ description: "Entrance glow color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "700",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 80,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#030012" },
+};
diff --git a/registry/remocn/outline-fill-track-text/index.tsx b/registry/remocn/outline-fill-track-text/index.tsx
new file mode 100644
index 00000000..b94d1d2c
--- /dev/null
+++ b/registry/remocn/outline-fill-track-text/index.tsx
@@ -0,0 +1,236 @@
+"use client";
+
+import { useMemo } from "react";
+import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
+
+export interface OutlineFillTrackTextProps {
+ leadText?: string;
+ valueText?: string;
+ fontSize?: number;
+ fontWeight?: number;
+ color?: string;
+ outlineColor?: string;
+ outlineWidth?: number;
+ backgroundColor?: string;
+ glowColor?: string;
+ enterOffset?: number;
+ anchorOffsetX?: number;
+ trackDistance?: number;
+ wordGap?: number;
+ endPadding?: number;
+ fillDuration?: number;
+ speed?: number;
+ className?: string;
+}
+
+export const outlineFillTrackTextLength = 80;
+
+const ENTER_END = 16;
+const TRACK_START = 16;
+const TRACK_END = 72;
+const FILL_START = 34;
+const FILL_PREFILL = 10;
+const FONT_FAMILY = "Arial, Helvetica, sans-serif";
+const clamp = {
+ extrapolateLeft: "clamp" as const,
+ extrapolateRight: "clamp" as const,
+};
+
+function estimateTextWidth(
+ text: string,
+ fontSize: number,
+ fontWeight: number,
+): number {
+ if (typeof document === "undefined") {
+ return text.length * fontSize * 0.56;
+ }
+
+ const context = document.createElement("canvas").getContext("2d");
+ if (!context) return text.length * fontSize * 0.56;
+ context.font = `${fontWeight} ${fontSize}px Arial`;
+ return context.measureText(text).width;
+}
+
+export function OutlineFillTrackText({
+ leadText = "Keep",
+ valueText = "1000000000%",
+ fontSize = 368,
+ fontWeight = 700,
+ color = "#f4f3f6",
+ outlineColor = "#e6e2ed",
+ outlineWidth = 3,
+ backgroundColor = "#030012",
+ glowColor = "#64109a",
+ enterOffset = 240,
+ anchorOffsetX = -84,
+ trackDistance = 0,
+ wordGap = 220,
+ endPadding = 96,
+ fillDuration = 38,
+ speed = 1,
+ className,
+}: OutlineFillTrackTextProps) {
+ const frame = useCurrentFrame() * Math.max(speed, 0);
+ const { width: compositionWidth } = useVideoConfig();
+ const safeFontSize = Math.max(fontSize, 1);
+ const safeFontWeight = Math.max(fontWeight, 1);
+ const safeOutlineWidth = Math.max(outlineWidth, 0);
+ const safeGap = Math.max(wordGap, 0);
+ const safeEndPadding = Math.max(endPadding, 0);
+ const safeFillDuration = Math.max(fillDuration, 1);
+
+ const measurements = useMemo(() => {
+ const leadWidth = estimateTextWidth(leadText, safeFontSize, safeFontWeight);
+ const valueWidth = estimateTextWidth(
+ valueText,
+ safeFontSize,
+ safeFontWeight,
+ );
+ return {
+ valueWidth,
+ distance: leadWidth / 2 + safeGap + valueWidth / 2,
+ };
+ }, [leadText, safeFontSize, safeFontWeight, safeGap, valueText]);
+
+ const valueOffset = trackDistance > 0 ? trackDistance : measurements.distance;
+ const anchorX = compositionWidth / 2 + anchorOffsetX;
+ const trailingOverflow = Math.max(
+ 0,
+ anchorX + measurements.valueWidth / 2 - (compositionWidth - safeEndPadding),
+ );
+ const travelDistance = valueOffset + trailingOverflow;
+ const enterProgress = interpolate(frame, [0, ENTER_END], [0, 1], {
+ ...clamp,
+ easing: Easing.bezier(0.16, 0.84, 0.24, 1),
+ });
+ const trackProgress = interpolate(frame, [TRACK_START, TRACK_END], [0, 1], {
+ ...clamp,
+ easing: Easing.bezier(0.42, 0, 0.58, 1),
+ });
+ const fillProgress = interpolate(
+ frame,
+ [FILL_START - FILL_PREFILL, FILL_START + safeFillDuration],
+ [0, 1],
+ clamp,
+ );
+ const leadY = enterOffset * (1 - enterProgress);
+ const revealEdge = enterProgress * 112 - 8;
+ const revealSolid = Math.max(0, Math.min(100, revealEdge - 10));
+ const revealFade = Math.max(0, Math.min(100, revealEdge + 10));
+ const leadMask = `linear-gradient(180deg, #000 0%, #000 ${revealSolid}%, transparent ${revealFade}%, transparent 100%)`;
+ const glowOpacity = interpolate(
+ enterProgress,
+ [0, 0.18, 0.72, 1],
+ [0.92, 1, 0.52, 0],
+ clamp,
+ );
+ const fieldY = interpolate(enterProgress, [0, 1], [-42, -210], clamp);
+ const textStyle = {
+ display: "block",
+ fontFamily: FONT_FAMILY,
+ fontSize: safeFontSize,
+ fontWeight: safeFontWeight,
+ letterSpacing: 0,
+ lineHeight: 0.86,
+ whiteSpace: "nowrap" as const,
+ };
+
+ return (
+ <div
+ className={className}
+ style={{
+ position: "absolute",
+ inset: 0,
+ overflow: "hidden",
+ backgroundColor,
+ }}
+ >
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ background: `radial-gradient(ellipse 118% 66% at 50% -12%, ${glowColor} 0%, ${glowColor} 14%, transparent 76%)`,
+ filter: `blur(${safeFontSize * 0.15}px)`,
+ opacity: glowOpacity,
+ pointerEvents: "none",
+ transform: "translateZ(0)",
+ }}
+ />
+
+ <div
+ style={{
+ position: "absolute",
+ top: "50%",
+ left: `calc(50% + ${anchorOffsetX}px)`,
+ transform: `translate3d(${-travelDistance * trackProgress}px, -50%, 0)`,
+ }}
+ >
+ <div
+ style={{
+ position: "absolute",
+ top: 0,
+ left: 0,
+ color,
+ maskImage: leadMask,
+ maskRepeat: "no-repeat",
+ opacity: 1,
+ transform: `translate3d(-50%, calc(-50% + ${leadY}px), 0)`,
+ WebkitMaskImage: leadMask,
+ WebkitMaskRepeat: "no-repeat",
+ ...textStyle,
+ }}
+ >
+ {leadText}
+ </div>
+
+ <div
+ style={{
+ position: "absolute",
+ top: 0,
+ left: valueOffset,
+ transform: "translate3d(-50%, -50%, 0)",
+ visibility: frame < FILL_START ? "hidden" : "visible",
+ }}
+ >
+ <span
+ style={{
+ ...textStyle,
+ color: "transparent",
+ paintOrder: "stroke fill",
+ WebkitTextStroke: `${safeOutlineWidth}px ${outlineColor}`,
+ }}
+ >
+ {valueText}
+ </span>
+ <span
+ style={{
+ ...textStyle,
+ position: "absolute",
+ inset: 0,
+ clipPath: `inset(0 ${100 - fillProgress * 100}% 0 0)`,
+ color,
+ opacity: 1,
+ }}
+ >
+ {valueText}
+ </span>
+ </div>
+
+ <div
+ style={{
+ position: "absolute",
+ top: fieldY,
+ left: 0,
+ width: safeFontSize * 2.8,
+ height: safeFontSize * 0.72,
+ background: `radial-gradient(ellipse at center, ${backgroundColor} 0%, ${backgroundColor} 18%, transparent 74%)`,
+ filter: `blur(${safeFontSize * 0.07}px)`,
+ opacity: glowOpacity,
+ pointerEvents: "none",
+ transform: "translate3d(-50%, -50%, 0)",
+ }}
+ />
+ </div>
+ </div>
+ );
+}
diff --git a/registry/remocn/registry.json b/registry/remocn/registry.json
index d0d46666..2f8bf4c9 100644
--- a/registry/remocn/registry.json
+++ b/registry/remocn/registry.json
@@ -171,6 +171,188 @@
}
]
},
+ {
+ "name": "word-stream",
+ "type": "registry:component",
+ "title": "Word Stream",
+ "description": "Voiceover-paced phrases that build word by word — the next word looms as a blurred ghost before it resolves, then the phrase cuts away.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "word-stream/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/word-stream.tsx"
+ }
+ ]
+ },
+ {
+ "name": "word-push",
+ "type": "registry:component",
+ "title": "Word Push",
+ "description": "A phrase builds from its first word centered: each next word drives in from the right and pushes the line left, easing into the new center.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "word-push/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/word-push.tsx"
+ }
+ ]
+ },
+ {
+ "name": "sheen-slide-in",
+ "type": "registry:component",
+ "title": "Sheen Slide In",
+ "description": "A title glides in from the right with an exponential settle and a slow final creep to center, while a gradient sheen sweeps once through the glyphs.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "sheen-slide-in/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/sheen-slide-in.tsx"
+ }
+ ]
+ },
+ {
+ "name": "squeeze-in",
+ "type": "registry:component",
+ "title": "Squeeze In",
+ "description": "Characters appear one by one on a tight stagger; when the last one lands, every letter gap compresses as one and the word squeezes together.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "squeeze-in/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/squeeze-in.tsx"
+ }
+ ]
+ },
+ {
+ "name": "fog-rise",
+ "type": "registry:component",
+ "title": "Fog Rise",
+ "description": "Display text resolves out of fog: characters sharpen from heavy blur center-out with vertical streaks dissolving above them, as if rising along the z-axis.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "fog-rise/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/fog-rise.tsx"
+ }
+ ]
+ },
+ {
+ "name": "caret-swap",
+ "type": "registry:component",
+ "title": "Caret Swap",
+ "description": "A gradient caret swells into a block that consumes the first phrase right-to-left, collapses back and types the second phrase out with a blinking caret.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "caret-swap/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/caret-swap.tsx"
+ }
+ ]
+ },
+ {
+ "name": "zoom-words",
+ "type": "registry:component",
+ "title": "Zoom Words",
+ "description": "A close-up word reveal: huge words fade into a long line while the camera rides the write head, the line streaming off-frame as the shot eases into focus.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "zoom-words/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/zoom-words.tsx"
+ }
+ ]
+ },
+ {
+ "name": "centered-word-build",
+ "type": "registry:component",
+ "title": "Centered Word Build",
+ "description": "Words appear sharply from below while the centered phrase pushes cumulatively closer on every beat, then clears through a soft left-to-right opacity wipe.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "centered-word-build/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/centered-word-build.tsx"
+ }
+ ]
+ },
+ {
+ "name": "inline-pill-takeover",
+ "type": "registry:component",
+ "title": "Inline Pill Takeover",
+ "description": "A clipped pill expands inside a sentence, physically pushes the surrounding words apart, removes them through blur and takes over the frame with a fast camera punch-in.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "inline-pill-takeover/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/inline-pill-takeover.tsx"
+ }
+ ]
+ },
+ {
+ "name": "typed-split-wipe",
+ "type": "registry:component",
+ "title": "Typed Split Wipe",
+ "description": "A centered cursorless type build holds, then exits through opposing fixed-layout glyph wipes that leave the anchor visible longest.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "typed-split-wipe/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/typed-split-wipe.tsx"
+ }
+ ]
+ },
+ {
+ "name": "shadow-sweep-text",
+ "type": "registry:component",
+ "title": "Shadow Sweep Text",
+ "description": "A line rises up and left while one dense dark shadow uncovers it and a second shadow sweeps back across it for the exit.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "shadow-sweep-text/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/shadow-sweep-text.tsx"
+ }
+ ]
+ },
+ {
+ "name": "outline-fill-track-text",
+ "type": "registry:component",
+ "title": "Outline Fill Track Text",
+ "description": "A rising lead word gives way to an outlined value that fills from left to right while both travel on one continuous track.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "outline-fill-track-text/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/outline-fill-track-text.tsx"
+ }
+ ]
+ },
+ {
+ "name": "gradient-scale-cut-text",
+ "type": "registry:component",
+ "title": "Gradient Scale Cut Text",
+ "description": "An oversized gradient reveal snaps to a separate compact blurred line that settles left while the reveal continues.",
+ "dependencies": ["remotion"],
+ "files": [
+ {
+ "path": "gradient-scale-cut-text/index.tsx",
+ "type": "registry:component",
+ "target": "components/remocn/gradient-scale-cut-text.tsx"
+ }
+ ]
+ },
{
"name": "extrude-pop",
"type": "registry:component",
diff --git a/registry/remocn/shadow-sweep-text/config.ts b/registry/remocn/shadow-sweep-text/config.ts
new file mode 100644
index 00000000..8be9abd9
--- /dev/null
+++ b/registry/remocn/shadow-sweep-text/config.ts
@@ -0,0 +1,82 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const shadowSweepTextConfig: ComponentConfig = {
+ componentName: "ShadowSweepText",
+ importPath: "@/components/remocn/shadow-sweep-text",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "are abandoned",
+ description: "Text",
+ },
+ fontSize: {
+ type: "number",
+ min: 24,
+ max: 180,
+ step: 1,
+ default: 96,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ rise: {
+ type: "number",
+ min: 0,
+ max: 300,
+ step: 1,
+ default: 96,
+ description: "Vertical travel",
+ hiddenFromList: false,
+ },
+ driftLeft: {
+ type: "number",
+ min: 0,
+ max: 120,
+ step: 1,
+ default: 16,
+ description: "Leftward travel",
+ hiddenFromList: false,
+ },
+ shadowSoftness: {
+ type: "number",
+ min: 0,
+ max: 280,
+ step: 2,
+ default: 130,
+ description: "Shadow softness",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#aaa6b5",
+ description: "Text color",
+ },
+ backgroundColor: {
+ type: "color",
+ default: "#030012",
+ description: "Background color",
+ },
+ shadowColor: {
+ type: "color",
+ default: "#030012",
+ description: "Shadow color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "700",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 37,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#030012" },
+};
diff --git a/registry/remocn/shadow-sweep-text/index.tsx b/registry/remocn/shadow-sweep-text/index.tsx
new file mode 100644
index 00000000..fe3c3c63
--- /dev/null
+++ b/registry/remocn/shadow-sweep-text/index.tsx
@@ -0,0 +1,163 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface ShadowSweepTextProps {
+ text: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ backgroundColor?: string;
+ shadowColor?: string;
+ shadowSoftness?: number;
+ rise?: number;
+ driftLeft?: number;
+ speed?: number;
+ className?: string;
+}
+
+export const shadowSweepTextLength = 37;
+
+const ENTER_END = 23;
+const EXIT_START = 26;
+const EXIT_END = shadowSweepTextLength - 1;
+const REST_X = -20;
+const REST_Y = 9;
+const clamp = {
+ extrapolateLeft: "clamp" as const,
+ extrapolateRight: "clamp" as const,
+};
+
+export function ShadowSweepText({
+ text,
+ fontSize = 96,
+ color = "#aaa6b5",
+ fontWeight = 700,
+ backgroundColor = "#030012",
+ shadowColor = backgroundColor,
+ shadowSoftness = 130,
+ rise = 96,
+ driftLeft = 16,
+ speed = 1,
+ className,
+}: ShadowSweepTextProps) {
+ const frame = useCurrentFrame() * speed;
+ const safeSoftness = Math.max(shadowSoftness, 0);
+ const travelProgress = interpolate(
+ frame,
+ [0, shadowSweepTextLength - 1],
+ [0, 1],
+ {
+ ...clamp,
+ easing: Easing.out(Easing.cubic),
+ },
+ );
+ const enterProgress = interpolate(frame, [-3, ENTER_END], [0, 1], clamp);
+ const exitProgress = interpolate(
+ frame,
+ [EXIT_START, EXIT_END],
+ [0, 1],
+ clamp,
+ );
+ const x = REST_X + driftLeft * (1 - travelProgress);
+ const y = REST_Y + rise * (1 - travelProgress);
+ const isEntering = frame < ENTER_END;
+ const isExiting = frame >= EXIT_START;
+ const sweepProgress = isEntering
+ ? enterProgress
+ : isExiting
+ ? exitProgress
+ : null;
+ const edgeOffset =
+ sweepProgress === null ? 0 : (sweepProgress * 2 - 1) * (safeSoftness / 2);
+ const edgePosition =
+ sweepProgress === null
+ ? "50%"
+ : `calc(${sweepProgress * 100}% + ${edgeOffset}px)`;
+ const maskStart =
+ sweepProgress === null
+ ? "50%"
+ : `calc(${sweepProgress * 100}% + ${edgeOffset - safeSoftness / 2}px)`;
+ const maskEnd =
+ sweepProgress === null
+ ? "50%"
+ : `calc(${sweepProgress * 100}% + ${edgeOffset + safeSoftness / 2}px)`;
+ const textMask = isEntering
+ ? `linear-gradient(90deg, #000 0, #000 ${maskStart}, transparent ${maskEnd}, transparent 100%)`
+ : isExiting
+ ? `linear-gradient(90deg, transparent 0, transparent ${maskStart}, #000 ${maskEnd}, #000 100%)`
+ : undefined;
+ const fieldOpacity =
+ sweepProgress === null
+ ? 0
+ : interpolate(sweepProgress, [0, 0.08, 0.82, 1], [0, 1, 1, 0], clamp);
+ const fieldWidth = Math.max(safeSoftness * 3, 1);
+ const fieldHeight = Math.max(fontSize * 2.6, safeSoftness * 1.8, 1);
+
+ if (text.length === 0) {
+ return (
+ <div
+ className={className}
+ style={{ position: "absolute", inset: 0, backgroundColor }}
+ />
+ );
+ }
+
+ return (
+ <div
+ className={className}
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ overflow: "hidden",
+ backgroundColor,
+ }}
+ >
+ <div
+ style={{
+ position: "relative",
+ display: "inline-block",
+ transform: `translate3d(${x}px, ${y}px, 0)`,
+ }}
+ >
+ <span
+ style={{
+ color,
+ display: "inline-block",
+ fontFamily: "Arial, Helvetica, sans-serif",
+ fontSize,
+ fontWeight,
+ letterSpacing: 0,
+ lineHeight: 1,
+ maskImage: textMask,
+ maskRepeat: "no-repeat",
+ opacity: 1,
+ WebkitMaskImage: textMask,
+ WebkitMaskRepeat: "no-repeat",
+ whiteSpace: "nowrap",
+ }}
+ >
+ {text}
+ </span>
+
+ <div
+ style={{
+ position: "absolute",
+ top: "50%",
+ left: edgePosition,
+ width: fieldWidth,
+ height: fieldHeight,
+ background: `radial-gradient(ellipse at center, ${shadowColor} 0%, ${shadowColor} 14%, transparent 72%)`,
+ filter: `blur(${safeSoftness * 0.08}px)`,
+ opacity: fieldOpacity,
+ pointerEvents: "none",
+ transform: "translate3d(-50%, -50%, 0)",
+ }}
+ />
+ </div>
+ </div>
+ );
+}
diff --git a/registry/remocn/sheen-slide-in/config.ts b/registry/remocn/sheen-slide-in/config.ts
new file mode 100644
index 00000000..16e57a32
--- /dev/null
+++ b/registry/remocn/sheen-slide-in/config.ts
@@ -0,0 +1,60 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const sheenSlideInConfig: ComponentConfig = {
+ componentName: "SheenSlideIn",
+ importPath: "@/components/remocn/sheen-slide-in",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "Introducing",
+ description: "Text",
+ },
+ exitAt: {
+ type: "number",
+ min: 30,
+ max: 150,
+ step: 5,
+ default: 60,
+ description: "Exit frame",
+ hiddenFromList: false,
+ },
+ fontSize: {
+ type: "number",
+ min: 12,
+ max: 160,
+ step: 1,
+ default: 72,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ baseColor: {
+ type: "color",
+ default: "#18181b",
+ description: "Base color",
+ },
+ sheenColor: {
+ type: "color",
+ default: "#4f8ef7",
+ description: "Sheen color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ dimensions: { width: 620, height: 120 },
+ durationInFrames: 70,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#ffffff" },
+};
diff --git a/registry/remocn/sheen-slide-in/index.tsx b/registry/remocn/sheen-slide-in/index.tsx
new file mode 100644
index 00000000..8e3025ab
--- /dev/null
+++ b/registry/remocn/sheen-slide-in/index.tsx
@@ -0,0 +1,143 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface SheenSlideInProps {
+ text: string;
+ exitAt?: number;
+ fontSize?: number;
+ baseColor?: string;
+ sheenColor?: string;
+ fontWeight?: number;
+ speed?: number;
+ className?: string;
+}
+
+const SETTLE_AMP_EM = 1.8;
+const SETTLE_TAU = 2.5;
+const CREEP_AMP_EM = 0.28;
+const CREEP_TAU = 12;
+const FADE_FRAMES = 4;
+const SHEEN_IN_START = 0;
+const SHEEN_IN_END = 4;
+const SHEEN_SWEEP_END = 48;
+const SHEEN_OUT_START = 48;
+const SHEEN_OUT_END = 58;
+const EXIT_FRAMES = 4;
+const EXIT_SCALE = 0.9;
+
+export function sheenSlideInLength(exitAt = 60): number {
+ return exitAt + EXIT_FRAMES;
+}
+
+function travelEm(frame: number): number {
+ return (
+ SETTLE_AMP_EM * Math.exp(-frame / SETTLE_TAU) +
+ CREEP_AMP_EM * Math.exp(-frame / CREEP_TAU)
+ );
+}
+
+const exitEasing = Easing.out(Easing.quad);
+
+export function SheenSlideIn({
+ text,
+ exitAt = 60,
+ fontSize = 72,
+ baseColor = "#18181b",
+ sheenColor = "#4f8ef7",
+ fontWeight = 400,
+ speed = 1,
+ className,
+}: SheenSlideInProps) {
+ const frame = useCurrentFrame() * speed;
+
+ const x = fontSize * travelEm(frame);
+
+ const exit = interpolate(frame, [exitAt, exitAt + EXIT_FRAMES], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: exitEasing,
+ });
+
+ const opacity = interpolate(frame, [0, FADE_FRAMES], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+
+ const sheenOpacity =
+ interpolate(frame, [SHEEN_IN_START, SHEEN_IN_END], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ }) *
+ interpolate(frame, [SHEEN_OUT_START, SHEEN_OUT_END], [1, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+
+ const sheenPosition = interpolate(frame, [0, SHEEN_SWEEP_END], [160, -60], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: Easing.bezier(0.42, 0, 0.58, 1),
+ });
+
+ const textStyle: React.CSSProperties = {
+ fontSize,
+ fontWeight,
+ letterSpacing: "-0.02em",
+ lineHeight: 1.1,
+ margin: 0,
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ };
+
+ if (exit >= 1) {
+ return (
+ <div style={{ position: "absolute", inset: 0, background: "transparent" }} />
+ );
+ }
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ whiteSpace: "nowrap",
+ background: "transparent",
+ }}
+ >
+ <div
+ style={{
+ position: "relative",
+ display: "inline-block",
+ opacity,
+ translate: `${x}px 0`,
+ scale: `${1 - (1 - EXIT_SCALE) * exit}`,
+ }}
+ >
+ <span className={className} style={{ ...textStyle, color: baseColor }}>
+ {text}
+ </span>
+ <span
+ aria-hidden
+ style={{
+ ...textStyle,
+ position: "absolute",
+ inset: 0,
+ color: "transparent",
+ backgroundClip: "text",
+ WebkitBackgroundClip: "text",
+ backgroundImage: `linear-gradient(100deg, transparent 25%, ${sheenColor} 50%, transparent 75%)`,
+ backgroundSize: "250% 100%",
+ backgroundPosition: `${sheenPosition}% 50%`,
+ opacity: sheenOpacity,
+ }}
+ >
+ {text}
+ </span>
+ </div>
+ </div>
+ );
+}
diff --git a/registry/remocn/squeeze-in/config.ts b/registry/remocn/squeeze-in/config.ts
new file mode 100644
index 00000000..23a12e4e
--- /dev/null
+++ b/registry/remocn/squeeze-in/config.ts
@@ -0,0 +1,64 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const squeezeInConfig: ComponentConfig = {
+ componentName: "SqueezeIn",
+ importPath: "@/components/remocn/squeeze-in",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "Remocn",
+ description: "Text",
+ },
+ fontSize: {
+ type: "number",
+ min: 12,
+ max: 160,
+ step: 1,
+ default: 72,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ stagger: {
+ type: "number",
+ min: 1,
+ max: 8,
+ step: 1,
+ default: 3,
+ description: "Frames / char",
+ hiddenFromList: false,
+ },
+ squeeze: {
+ type: "number",
+ min: 0,
+ max: 0.2,
+ step: 0.01,
+ default: 0.03,
+ description: "Extra gap (em)",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#171717",
+ description: "Color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ dimensions: { width: 620, height: 110 },
+ durationInFrames: 60,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#ffffff" },
+};
diff --git a/registry/remocn/squeeze-in/index.tsx b/registry/remocn/squeeze-in/index.tsx
new file mode 100644
index 00000000..8a528fea
--- /dev/null
+++ b/registry/remocn/squeeze-in/index.tsx
@@ -0,0 +1,101 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface SqueezeInProps {
+ text: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ stagger?: number;
+ squeeze?: number;
+ speed?: number;
+ className?: string;
+}
+
+const SQUEEZE_FRAMES = 16;
+
+export function squeezeInLength(text: string, stagger = 3): number {
+ const chars = Array.from(text);
+ if (chars.length === 0) return 0;
+ return chars.length * stagger + SQUEEZE_FRAMES;
+}
+
+const squeezeEasing = Easing.out(Easing.cubic);
+
+export function SqueezeIn({
+ text,
+ fontSize = 72,
+ color = "#171717",
+ fontWeight = 400,
+ stagger = 3,
+ squeeze = 0.03,
+ speed = 1,
+ className,
+}: SqueezeInProps) {
+ const frame = useCurrentFrame() * speed;
+
+ const chars = Array.from(text);
+ const lastRevealAt = chars.length * stagger;
+
+ const squeezeProgress = interpolate(
+ frame,
+ [lastRevealAt, lastRevealAt + SQUEEZE_FRAMES],
+ [0, 1],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: squeezeEasing,
+ },
+ );
+
+ const gap = squeeze * fontSize * (1 - squeezeProgress);
+ const wipe = interpolate(frame, [0, lastRevealAt], [100, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+ const anchorX =
+ (-squeeze * fontSize * squeezeProgress * (chars.length - 1)) / 2;
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ whiteSpace: "nowrap",
+ background: "transparent",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ translate: `${anchorX}px 0`,
+ clipPath: `inset(-0.2em ${wipe}% -0.25em -0.1em)`,
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: "-0.02em",
+ lineHeight: 1.1,
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ }}
+ >
+ {chars.map((char, j) => (
+ <span
+ key={j}
+ style={{
+ display: "inline-block",
+ whiteSpace: "pre",
+ marginRight: j < chars.length - 1 ? gap : undefined,
+ }}
+ >
+ {char}
+ </span>
+ ))}
+ </span>
+ </div>
+ );
+}
diff --git a/registry/remocn/typed-split-wipe/config.ts b/registry/remocn/typed-split-wipe/config.ts
new file mode 100644
index 00000000..7646f3df
--- /dev/null
+++ b/registry/remocn/typed-split-wipe/config.ts
@@ -0,0 +1,100 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const typedSplitWipeConfig: ComponentConfig = {
+ componentName: "TypedSplitWipe",
+ importPath: "@/components/remocn/typed-split-wipe",
+ controls: {
+ prefix: {
+ type: "text-content",
+ default: "Introducing",
+ description: "Leading text",
+ },
+ anchor: {
+ type: "text-content",
+ default: "X",
+ description: "Persistent anchor",
+ },
+ suffix: {
+ type: "text-content",
+ default: "Ads MCP",
+ description: "Staggered trailing words",
+ },
+ typeFrames: {
+ type: "number",
+ min: 6,
+ max: 60,
+ step: 1,
+ default: 30,
+ description: "Typing frames",
+ hiddenFromList: false,
+ },
+ exitAt: {
+ type: "number",
+ min: 20,
+ max: 90,
+ step: 1,
+ default: 50,
+ description: "Exit start frame",
+ hiddenFromList: false,
+ },
+ exitFrames: {
+ type: "number",
+ min: 6,
+ max: 40,
+ step: 1,
+ default: 20,
+ description: "Exit duration",
+ hiddenFromList: false,
+ },
+ wordStagger: {
+ type: "number",
+ min: 0,
+ max: 12,
+ step: 1,
+ default: 4,
+ description: "Suffix word stagger",
+ hiddenFromList: false,
+ },
+ anchorShift: {
+ type: "number",
+ min: -200,
+ max: 0,
+ step: 2,
+ default: -72,
+ description: "Anchor exit shift",
+ hiddenFromList: false,
+ },
+ fontSize: {
+ type: "number",
+ min: 18,
+ max: 120,
+ step: 1,
+ default: 42,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#e8e8e8",
+ description: "Text color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 75,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#101010" },
+};
diff --git a/registry/remocn/typed-split-wipe/index.tsx b/registry/remocn/typed-split-wipe/index.tsx
new file mode 100644
index 00000000..3e7e0f74
--- /dev/null
+++ b/registry/remocn/typed-split-wipe/index.tsx
@@ -0,0 +1,159 @@
+"use client";
+
+import type { CSSProperties } from "react";
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface TypedSplitWipeProps {
+ prefix: string;
+ anchor: string;
+ suffix: string;
+ typeFrames?: number;
+ exitAt?: number;
+ exitFrames?: number;
+ wordStagger?: number;
+ anchorShift?: number;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ speed?: number;
+ className?: string;
+}
+
+const clamp = {
+ extrapolateLeft: "clamp" as const,
+ extrapolateRight: "clamp" as const,
+};
+const wipeEasing = Easing.inOut(Easing.quad);
+
+export function TypedSplitWipe({
+ prefix,
+ anchor,
+ suffix,
+ typeFrames = 30,
+ exitAt = 50,
+ exitFrames = 20,
+ wordStagger = 4,
+ anchorShift = -72,
+ fontSize = 42,
+ color = "#e8e8e8",
+ fontWeight = 400,
+ speed = 1,
+ className,
+}: TypedSplitWipeProps) {
+ const frame = useCurrentFrame() * speed;
+ const fullText = [prefix, anchor, suffix].filter(Boolean).join(" ");
+ const safeTypeFrames = Math.max(typeFrames, 0.001);
+ const safeExitFrames = Math.max(exitFrames, 0.001);
+ const typedLength = interpolate(
+ frame,
+ [0, safeTypeFrames],
+ [0, fullText.length],
+ clamp,
+ );
+ const visibleLength = Math.min(
+ fullText.length,
+ Math.max(frame >= 0 ? 1 : 0, Math.floor(typedLength) + 1),
+ );
+ const typedText = fullText.slice(0, visibleLength);
+ const suffixWords = suffix.trim().split(/\s+/).filter(Boolean);
+
+ const textStyle: CSSProperties = {
+ color,
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ fontSize,
+ fontWeight,
+ letterSpacing: "-0.03em",
+ lineHeight: 1,
+ whiteSpace: "pre",
+ };
+
+ const prefixExit = interpolate(
+ frame,
+ [exitAt, exitAt + safeExitFrames],
+ [0, 1],
+ { ...clamp, easing: wipeEasing },
+ );
+ const anchorExitStart = exitAt + Math.max(exitFrames - 6, 0);
+ const anchorExit = interpolate(
+ frame,
+ [anchorExitStart, anchorExitStart + 6],
+ [0, 1],
+ { ...clamp, easing: wipeEasing },
+ );
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ overflow: "hidden",
+ background: "transparent",
+ }}
+ >
+ {frame < exitAt ? (
+ <span className={className} style={textStyle}>
+ {typedText}
+ </span>
+ ) : (
+ <span
+ className={className}
+ style={{
+ ...textStyle,
+ display: "inline-flex",
+ alignItems: "baseline",
+ gap: "0.25em",
+ }}
+ >
+ {prefix && (
+ <span
+ style={{
+ display: "inline-block",
+ clipPath: `inset(0 ${prefixExit * 100}% 0 0)`,
+ }}
+ >
+ {prefix}
+ </span>
+ )}
+
+ {anchor && (
+ <span
+ style={{
+ display: "inline-block",
+ clipPath: `inset(0 ${anchorExit * 50}% 0 ${anchorExit * 50}%)`,
+ transform: `translateX(${anchorShift * prefixExit}px)`,
+ }}
+ >
+ {anchor}
+ </span>
+ )}
+
+ {suffixWords.map((word, index) => {
+ const wordExitStart = exitAt + 2 + index * wordStagger;
+ const wordExit = interpolate(
+ frame,
+ [wordExitStart, wordExitStart + safeExitFrames * 0.65],
+ [0, 1],
+ { ...clamp, easing: wipeEasing },
+ );
+
+ return (
+ <span
+ key={`${word}-${index}`}
+ style={{
+ display: "inline-block",
+ clipPath: `inset(0 0 0 ${wordExit * 100}%)`,
+ }}
+ >
+ {word}
+ </span>
+ );
+ })}
+ </span>
+ )}
+ </div>
+ );
+}
diff --git a/registry/remocn/word-push/config.ts b/registry/remocn/word-push/config.ts
new file mode 100644
index 00000000..ace7db5c
--- /dev/null
+++ b/registry/remocn/word-push/config.ts
@@ -0,0 +1,64 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const wordPushConfig: ComponentConfig = {
+ componentName: "WordPush",
+ importPath: "@/components/remocn/word-push",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "move at your own pace",
+ description: "Text",
+ },
+ fontSize: {
+ type: "number",
+ min: 12,
+ max: 160,
+ step: 1,
+ default: 72,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ wordGap: {
+ type: "number",
+ min: 3,
+ max: 30,
+ step: 1,
+ default: 10,
+ description: "Frames / word",
+ hiddenFromList: false,
+ },
+ accel: {
+ type: "number",
+ min: 0.5,
+ max: 1,
+ step: 0.05,
+ default: 0.8,
+ description: "Gap shrink / word",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#171717",
+ description: "Color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ dimensions: { width: 760, height: 110 },
+ durationInFrames: 90,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#ffffff" },
+};
diff --git a/registry/remocn/word-push/index.tsx b/registry/remocn/word-push/index.tsx
new file mode 100644
index 00000000..4f015d37
--- /dev/null
+++ b/registry/remocn/word-push/index.tsx
@@ -0,0 +1,141 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface WordPushProps {
+ text: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ wordGap?: number;
+ accel?: number;
+ speed?: number;
+ className?: string;
+}
+
+const REVEAL_FRAMES = 2;
+const SLIDE_FRAMES = 12;
+const OVERSHOOT_EM = 0.5;
+const CHAR_WIDTH_EM = 0.5;
+const SPACE_WIDTH_EM = 0.22;
+
+function revealFrame(index: number, wordGap: number, accel: number): number {
+ if (accel === 1) return index * wordGap;
+ return (wordGap * (1 - accel ** index)) / (1 - accel);
+}
+
+export function wordPushLength(text: string, wordGap = 10, accel = 0.8): number {
+ const words = text.trim().split(/\s+/).filter(Boolean);
+ if (words.length === 0) return 0;
+ return Math.ceil(revealFrame(words.length - 1, wordGap, accel)) + SLIDE_FRAMES;
+}
+
+const pushEasing = Easing.out(Easing.cubic);
+const driveEasing = Easing.bezier(0.15, 0.7, 0.25, 1);
+
+export function WordPush({
+ text,
+ fontSize = 72,
+ color = "#171717",
+ fontWeight = 400,
+ wordGap = 10,
+ accel = 0.8,
+ speed = 1,
+ className,
+}: WordPushProps) {
+ const frame = useCurrentFrame() * speed;
+
+ const words = text.trim().split(/\s+/).filter(Boolean);
+
+ let lineX = interpolate(
+ frame,
+ [0, SLIDE_FRAMES],
+ [-OVERSHOOT_EM * fontSize, 0],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: driveEasing,
+ },
+ );
+ for (let j = 1; j < words.length; j++) {
+ const wordWidth =
+ (words[j].length * CHAR_WIDTH_EM + SPACE_WIDTH_EM) * fontSize;
+ const revealAt = revealFrame(j, wordGap, accel);
+ const pushed = interpolate(
+ frame,
+ [revealAt + 1, revealAt + 1 + SLIDE_FRAMES],
+ [0, 1],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: pushEasing,
+ },
+ );
+ lineX += (wordWidth / 2) * (1 - pushed);
+ }
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ whiteSpace: "nowrap",
+ translate: `${lineX}px 0`,
+ background: "transparent",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: "-0.02em",
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ }}
+ >
+ {words.map((word, j) => {
+ const revealAt = revealFrame(j, wordGap, accel);
+
+ const opacity = interpolate(
+ frame,
+ [revealAt, revealAt + REVEAL_FRAMES],
+ [0, 1],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ },
+ );
+
+ const driven =
+ j === 0
+ ? 1
+ : interpolate(frame, [revealAt, revealAt + SLIDE_FRAMES], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: driveEasing,
+ });
+
+ return (
+ <span
+ key={j}
+ style={{
+ display: "inline-block",
+ whiteSpace: "pre",
+ marginRight: j < words.length - 1 ? "0.22em" : undefined,
+ opacity,
+ translate: `${OVERSHOOT_EM * fontSize * (1 - driven)}px 0`,
+ }}
+ >
+ {word}
+ </span>
+ );
+ })}
+ </span>
+ </div>
+ );
+}
diff --git a/registry/remocn/word-stream/config.ts b/registry/remocn/word-stream/config.ts
new file mode 100644
index 00000000..42755a1b
--- /dev/null
+++ b/registry/remocn/word-stream/config.ts
@@ -0,0 +1,73 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const wordStreamConfig: ComponentConfig = {
+ componentName: "WordStream",
+ importPath: "@/components/remocn/word-stream",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "introducing | one-tap checkout | for your store",
+ description: "Phrases (| separated)",
+ },
+ fontSize: {
+ type: "number",
+ min: 12,
+ max: 160,
+ step: 1,
+ default: 72,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ wordGap: {
+ type: "number",
+ min: 2,
+ max: 30,
+ step: 1,
+ default: 6,
+ description: "Frames / word",
+ hiddenFromList: false,
+ },
+ hold: {
+ type: "number",
+ min: 6,
+ max: 90,
+ step: 3,
+ default: 18,
+ description: "Phrase hold",
+ hiddenFromList: false,
+ },
+ drift: {
+ type: "number",
+ min: 0,
+ max: 6,
+ step: 0.5,
+ default: 2,
+ description: "Drift px / frame",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#171717",
+ description: "Color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ dimensions: { width: 700, height: 110 },
+ durationInFrames: 100,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: { type: "color", value: "#ffffff" },
+};
diff --git a/registry/remocn/word-stream/index.tsx b/registry/remocn/word-stream/index.tsx
new file mode 100644
index 00000000..a5096fb9
--- /dev/null
+++ b/registry/remocn/word-stream/index.tsx
@@ -0,0 +1,184 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface WordStreamProps {
+ text: string;
+ fontSize?: number;
+ color?: string;
+ fontWeight?: number;
+ wordGap?: number;
+ hold?: number;
+ drift?: number;
+ speed?: number;
+ className?: string;
+}
+
+interface PhraseSchedule {
+ words: string[];
+ start: number;
+ exitStart: number;
+ last: boolean;
+}
+
+const REVEAL_FRAMES = 3;
+const ENTRY_FRAMES = 8;
+const RUN_OUT_FRAMES = 5;
+const SWAP_OVERLAP = 0;
+
+export function wordStreamLength(
+ text: string,
+ wordGap = 6,
+ hold = 18,
+): number {
+ const schedule = schedulePhrases(text, wordGap, hold);
+ const finalPhrase = schedule[schedule.length - 1];
+ if (!finalPhrase) return 0;
+ return (
+ finalPhrase.start +
+ (finalPhrase.words.length - 1) * wordGap +
+ REVEAL_FRAMES
+ );
+}
+
+function schedulePhrases(
+ text: string,
+ wordGap: number,
+ hold: number,
+): PhraseSchedule[] {
+ const phrases = text
+ .split("|")
+ .map((phrase) => phrase.trim())
+ .filter(Boolean);
+ let cursor = 0;
+ return phrases.map((phrase, i) => {
+ const words = phrase.split(/\s+/);
+ const start = cursor;
+ const complete = start + (words.length - 1) * wordGap + REVEAL_FRAMES;
+ const exitStart = complete + hold;
+ cursor = exitStart + SWAP_OVERLAP;
+ return { words, start, exitStart, last: i === phrases.length - 1 };
+ });
+}
+
+const revealEasing = Easing.bezier(0.2, 0.8, 0.2, 1);
+const entryEasing = Easing.bezier(0.2, 0.8, 0.3, 1);
+const runOutEasing = Easing.bezier(0.7, 0, 0.9, 0.4);
+
+export function WordStream({
+ text,
+ fontSize = 72,
+ color = "#171717",
+ fontWeight = 400,
+ wordGap = 6,
+ hold = 18,
+ drift = 2,
+ speed = 1,
+ className,
+}: WordStreamProps) {
+ const frame = useCurrentFrame() * speed;
+
+ const schedule = schedulePhrases(text, wordGap, hold);
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ background: "transparent",
+ }}
+ >
+ {schedule.map((phrase, i) => {
+ if (frame < phrase.start) return null;
+ if (!phrase.last && frame >= phrase.exitStart) return null;
+
+ const scale = fontSize / 72;
+ const crawl = scale * drift;
+ const life = phrase.exitStart - phrase.start;
+
+ const entryX = interpolate(
+ frame,
+ [phrase.start, phrase.start + ENTRY_FRAMES],
+ [scale * 30, 0],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: entryEasing,
+ },
+ );
+ const crawlX =
+ crawl * (life / 2 - (Math.min(frame, phrase.exitStart) - phrase.start));
+ const runOutX = phrase.last
+ ? 0
+ : interpolate(
+ frame,
+ [phrase.exitStart - RUN_OUT_FRAMES, phrase.exitStart],
+ [0, -scale * 80],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: runOutEasing,
+ },
+ );
+ const x = entryX + crawlX + runOutX;
+
+ return (
+ <div
+ key={i}
+ style={{
+ position: "absolute",
+ inset: 0,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ whiteSpace: "nowrap",
+ translate: `${x}px 0`,
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: "-0.02em",
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ }}
+ >
+ {phrase.words.map((word, j) => {
+ const revealAt = phrase.start + j * wordGap;
+
+ const opacity = interpolate(
+ frame,
+ [revealAt, revealAt + REVEAL_FRAMES],
+ [0, 1],
+ {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: revealEasing,
+ },
+ );
+
+ return (
+ <span
+ key={j}
+ style={{
+ display: "inline-block",
+ whiteSpace: "pre",
+ marginRight:
+ j < phrase.words.length - 1 ? "0.28em" : undefined,
+ opacity,
+ }}
+ >
+ {word}
+ </span>
+ );
+ })}
+ </span>
+ </div>
+ );
+ })}
+ </div>
+ );
+}
diff --git a/registry/remocn/zoom-words/config.ts b/registry/remocn/zoom-words/config.ts
new file mode 100644
index 00000000..49aae374
--- /dev/null
+++ b/registry/remocn/zoom-words/config.ts
@@ -0,0 +1,93 @@
+import {
+ type ComponentConfig,
+ enumVariants,
+ FONT_WEIGHT_OPTIONS,
+ FPS,
+ H,
+ W,
+} from "@/lib/customizer-config";
+
+export const zoomWordsConfig: ComponentConfig = {
+ componentName: "ZoomWords",
+ importPath: "@/components/remocn/zoom-words",
+ controls: {
+ text: {
+ type: "text-content",
+ default: "Still piecing together tools",
+ description: "Text",
+ },
+ fontSize: {
+ type: "number",
+ min: 24,
+ max: 160,
+ step: 1,
+ default: 64,
+ description: "Font size",
+ hiddenFromList: false,
+ },
+ wordGap: {
+ type: "number",
+ min: 4,
+ max: 24,
+ step: 1,
+ default: 12,
+ description: "Frames / word",
+ hiddenFromList: false,
+ },
+ zoom: {
+ type: "number",
+ min: 1,
+ max: 4,
+ step: 0.1,
+ default: 2.2,
+ description: "Camera zoom",
+ hiddenFromList: false,
+ },
+ anchor: {
+ type: "number",
+ min: 0.2,
+ max: 0.9,
+ step: 0.05,
+ default: 0.5,
+ description: "Camera anchor",
+ hiddenFromList: false,
+ },
+ blur: {
+ type: "number",
+ min: 0,
+ max: 0.3,
+ step: 0.01,
+ default: 0.04,
+ description: "Start blur (em)",
+ hiddenFromList: false,
+ },
+ blurFrames: {
+ type: "number",
+ min: 10,
+ max: 120,
+ step: 5,
+ default: 60,
+ description: "Focus frames",
+ hiddenFromList: false,
+ },
+ color: {
+ type: "color",
+ default: "#cfc2ff",
+ description: "Color",
+ },
+ fontWeight: {
+ type: "enum",
+ default: "400",
+ variants: enumVariants(FONT_WEIGHT_OPTIONS),
+ description: "Font weight",
+ },
+ },
+ durationInFrames: 75,
+ fps: FPS,
+ compositionWidth: W,
+ compositionHeight: H,
+ previewBackdrop: {
+ type: "gradient",
+ value: "linear-gradient(180deg, #0a0612 25%, #6a3fd6 100%)",
+ },
+};
diff --git a/registry/remocn/zoom-words/index.tsx b/registry/remocn/zoom-words/index.tsx
new file mode 100644
index 00000000..5525f280
--- /dev/null
+++ b/registry/remocn/zoom-words/index.tsx
@@ -0,0 +1,163 @@
+"use client";
+
+import { Easing, interpolate, useCurrentFrame } from "remotion";
+
+export interface ZoomWordsProps {
+ text: string;
+ fontSize?: number;
+ zoom?: number;
+ color?: string;
+ fontWeight?: number;
+ wordGap?: number;
+ anchor?: number;
+ blur?: number;
+ blurFrames?: number;
+ speed?: number;
+ className?: string;
+}
+
+const CHAR_WIDTH_EM = 0.52;
+const SPACE_WIDTH_EM = 0.3;
+const WORD_BLUR_EM = 0.05;
+const phraseEasing = Easing.bezier(0.5, 0, 0.7, 0.7);
+const FADE_EARLY = 0.5;
+const FADE_SLOTS = 2;
+
+function smoothstep(t: number): number {
+ const x = Math.min(Math.max(t, 0), 1);
+ return x * x * (3 - 2 * x);
+}
+const WORD_SHIFT_X_EM = 0.16;
+const WORD_SHIFT_Y_EM = 0.12;
+
+function wordWidthEm(word: string): number {
+ return Array.from(word).length * CHAR_WIDTH_EM + SPACE_WIDTH_EM;
+}
+
+export function zoomWordsLength(text: string, wordGap = 12): number {
+ const words = text.trim().split(/\s+/).filter(Boolean);
+ return words.length * wordGap;
+}
+
+export function ZoomWords({
+ text,
+ fontSize = 64,
+ zoom = 2.2,
+ color = "#cfc2ff",
+ fontWeight = 400,
+ wordGap = 12,
+ anchor = 0.5,
+ blur = 0.04,
+ blurFrames = 60,
+ speed = 1,
+ className,
+}: ZoomWordsProps) {
+ const frame = useCurrentFrame() * speed;
+
+ const words = text.trim().split(/\s+/).filter(Boolean);
+
+ const phraseFrames = words.length * wordGap;
+ const wordProgress =
+ words.length *
+ interpolate(frame, [0, phraseFrames], [0, 1], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ easing: phraseEasing,
+ });
+
+ const totalEm = words.reduce((sum, w) => sum + wordWidthEm(w), 0);
+ const firstHalfEm = words.length > 0 ? wordWidthEm(words[0]) / 2 : 0;
+ const lastHalfEm =
+ words.length > 0 ? wordWidthEm(words[words.length - 1]) / 2 : 0;
+ let revealedEm = 0;
+ for (let i = 0; i < words.length; i++) {
+ revealedEm +=
+ wordWidthEm(words[i]) *
+ smoothstep((wordProgress - i + FADE_EARLY) / FADE_SLOTS);
+ }
+ const travelMax = Math.max(totalEm - lastHalfEm - firstHalfEm, 0.001);
+ const raw = Math.min(Math.max(revealedEm, 0), travelMax);
+ const cameraEm = firstHalfEm + travelMax * smoothstep(raw / travelMax);
+ const cameraPct = totalEm > 0 ? (cameraEm / totalEm) * 100 : 0;
+
+ const blurNow =
+ blur *
+ fontSize *
+ zoom *
+ interpolate(frame, [0, blurFrames], [1, 0], {
+ extrapolateLeft: "clamp",
+ extrapolateRight: "clamp",
+ });
+
+ return (
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ overflow: "hidden",
+ background: "transparent",
+ }}
+ >
+ <div
+ style={{
+ position: "absolute",
+ inset: 0,
+ scale: `${zoom}`,
+ filter: blurNow > 0.05 ? `blur(${blurNow}px)` : undefined,
+ }}
+ >
+ <div
+ style={{
+ position: "absolute",
+ top: "50%",
+ left: `${anchor * 100}%`,
+ transform: "translateY(-50%)",
+ whiteSpace: "pre",
+ }}
+ >
+ <span
+ className={className}
+ style={{
+ display: "inline-flex",
+ alignItems: "baseline",
+ transform: `translateX(-${cameraPct.toFixed(3)}%)`,
+ fontSize,
+ fontWeight,
+ color,
+ letterSpacing: "-0.02em",
+ lineHeight: 1.15,
+ whiteSpace: "pre",
+ fontFamily:
+ "var(--font-geist-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)",
+ }}
+ >
+ {words.map((word, i) => {
+ const p = smoothstep(
+ (wordProgress - i + FADE_EARLY) / FADE_SLOTS,
+ );
+ const opacity = smoothstep(p * 1.2);
+ const wordBlur = WORD_BLUR_EM * fontSize * (1 - p);
+ const arrive = 1 - smoothstep(p * 1.6);
+ return (
+ <span
+ key={i}
+ style={{
+ display: "inline-block",
+ whiteSpace: "pre",
+ opacity,
+ filter:
+ wordBlur > 0.05 ? `blur(${wordBlur}px)` : undefined,
+ translate: `${(WORD_SHIFT_X_EM * fontSize * arrive).toFixed(1)}px ${(WORD_SHIFT_Y_EM * fontSize * arrive).toFixed(1)}px`,
+ }}
+ >
+ {word}
+ {i < words.length - 1 && " "}
+ </span>
+ );
+ })}
+ </span>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/remotion.config.ts b/remotion.config.ts
new file mode 100644
index 00000000..9221abbe
--- /dev/null
+++ b/remotion.config.ts
@@ -0,0 +1,22 @@
+import path from "node:path";
+import { Config } from "@remotion/cli/config";
+
+// The Remotion bundler (webpack) doesn't read tsconfig `paths` — mirror the
+// alias override from scripts/bundle-remotion.mts so `@/registry/...` resolves
+// in Studio too.
+Config.overrideWebpackConfig((config) => ({
+ ...config,
+ resolve: {
+ ...config.resolve,
+ alias: {
+ ...(config.resolve?.alias ?? {}),
+ "@/components/remocn/number-wheel$": path.join(
+ __dirname,
+ "registry/remocn/number-wheel/index.tsx",
+ ),
+ "@": __dirname,
+ },
+ },
+}));
+
+Config.setEntryPoint("src/remotion/index.ts");