Skip to content

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

feat: added new sponsor LN

dev_wandry124a353b6d3e
diff --git a/app/(home)/sponsors/components/sections/wall-of-love.tsx b/app/(home)/sponsors/components/sections/wall-of-love.tsx
index b84098ef..f83ef3e5 100644
--- a/app/(home)/sponsors/components/sections/wall-of-love.tsx
+++ b/app/(home)/sponsors/components/sections/wall-of-love.tsx
@@ -18,7 +18,7 @@ function SponsorLogoCard({
href={sponsor.website}
target="_blank"
rel="noreferrer"
- className="group surface-card flex h-full items-center justify-center rounded-2xl p-6 transition-colors hover:border-foreground/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"
+ className="group surface-card flex h-full flex-col items-center justify-center gap-3 rounded-2xl p-6 transition-colors hover:border-foreground/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/40"
>
{/** biome-ignore lint/performance/noImgElement: sponsor logos are SVGs of arbitrary sizes */}
<img
@@ -32,6 +32,11 @@ function SponsorLogoCard({
)}
style={{ transform: `scale(${sponsor.logoScale ?? 1})` }}
/>
+ {sponsor.displayName && (
+ <span className="text-sm font-medium text-muted-foreground transition-colors group-hover:text-foreground">
+ {sponsor.displayName}
+ </span>
+ )}
</a>
);
}
diff --git a/config/sponsors.ts b/config/sponsors.ts
index 149824dd..8857086e 100644
--- a/config/sponsors.ts
+++ b/config/sponsors.ts
@@ -5,6 +5,8 @@ export type SponsorTier = "partner" | "builder" | "supporter";
export type Sponsor = {
id: string;
name: string;
+ /** Optional visible label rendered under the logo. Skipped when absent. */
+ displayName?: string;
logoUrl: string;
website: string;
tier: SponsorTier;
@@ -57,6 +59,16 @@ export const sponsors: Sponsor[] = [
customStyles: "grayscale invert opacity-90 h-8",
isPaste: true,
},
+ {
+ id: "ln",
+ name: "ln",
+ displayName: "LN",
+ logoUrl: "https://unavatar.io/x/ln_dev7",
+ website: "https://pro.lndevui.com/?utm_source=remocn&utm_medium=sponsor&utm_campaign=remocn_sponsors_page",
+ tier: "builder",
+ customStyles: "rounded-full",
+ isPaste: false,
+ },
].filter(sponsor => !sponsor.isPaste);
export function getGoldSponsors(): Sponsor[] {
diff --git a/content/docs/components.mdx b/content/docs/components.mdx
index 65d53e7d..7ee81c05 100644
--- a/content/docs/components.mdx
+++ b/content/docs/components.mdx
@@ -294,18 +294,6 @@ Pre-assembled interface elements: code editors, layouts, charts, and workflow vi
status: "stable",
href: "/docs/ui-blocks/terminal-cursor-zoom",
},
- {
- name: "CodeAccordion",
- description: "Long code blocks collapse mid-section, hiding noise behind a count badge",
- status: "stable",
- href: "/docs/ui-blocks/code-accordion",
- },
- {
- name: "CodeDiffWipe",
- description: "Before/after comparison with a clip-path slider revealing the new code",
- status: "stable",
- href: "/docs/ui-blocks/code-diff-wipe",
- },
]}
/>
@@ -344,12 +332,6 @@ Pre-assembled interface elements: code editors, layouts, charts, and workflow vi
status: "stable",
href: "/docs/ui-blocks/progress-steps",
},
- {
- name: "DragAndDropFlow",
- description: "Cursor drags a file into a drop zone that lights up and starts a progress bar",
- status: "stable",
- href: "/docs/ui-blocks/drag-and-drop-flow",
- },
]}
/>
@@ -367,12 +349,6 @@ Scene transitions, camera moves, and stylized wipes.
status: "stable",
href: "/docs/transitions/zoom-through-transition",
},
- {
- name: "DeviceMockupZoom",
- description: "Pull back from a UI to reveal it inside a phone or laptop frame",
- status: "stable",
- href: "/docs/transitions/device-mockup-zoom",
- },
]}
/>
@@ -428,12 +404,6 @@ Full scenes built by composing primitives and UI blocks.
<ComponentCardGrid
items={[
- {
- name: "HeroDeviceAssemble",
- description: "Floating device layers spring into a laptop or phone, then the screen wakes with a shimmer",
- status: "stable",
- href: "/docs/compositions/hero-device-assemble",
- },
{
name: "EcosystemConstellation",
description: "Central logo orbited by integration satellites with pulsing data lines",
@@ -453,48 +423,11 @@ Full scenes built by composing primitives and UI blocks.
<ComponentCardGrid
items={[
- {
- name: "BrowserFlow",
- description: "Full Safari/Chrome simulation: URL typing, loading bar, scroll, and click",
- status: "stable",
- href: "/docs/compositions/browser-flow",
- },
- {
- name: "AIGenerationCanvas",
- description: "Prompt input morphs into a header, then a skeleton dashboard flips into populated cards",
- status: "stable",
- href: "/docs/compositions/ai-generation-canvas",
- },
{
name: "LiveCodeCompilation",
description: "Split-screen where typed code on the left snaps a live UI preview on the right",
status: "stable",
href: "/docs/compositions/live-code-compilation",
},
- {
- name: "TerminalToBrowserDeploy",
- description: "CLI deploy completes, terminal blurs back, and a browser window springs from the deploy URL",
- status: "stable",
- href: "/docs/compositions/terminal-to-browser-deploy",
- },
- ]}
-/>
-
-### App States & Journeys
-
-<ComponentCardGrid
- items={[
- {
- name: "DashboardPopulate",
- description: "Empty dashboard cascades to life with KPI count-ups, bar bounces, line traces, and a donut fill",
- status: "stable",
- href: "/docs/compositions/dashboard-populate",
- },
- {
- name: "PricingTierFocus",
- description: "Three pricing cards where the focused tier rises and brightens while siblings dim and blur",
- status: "stable",
- href: "/docs/compositions/pricing-tier-focus",
- },
]}
/>
diff --git a/content/docs/compositions/ai-generation-canvas.mdx b/content/docs/compositions/ai-generation-canvas.mdx
deleted file mode 100644
index 61133ac5..00000000
--- a/content/docs/compositions/ai-generation-canvas.mdx
+++ /dev/null
@@ -1,67 +0,0 @@
----
-title: AI Generation Canvas
-description: A prompt input morphs into a dashboard header, then skeletons flip to reveal generated content
----
-
-<ComponentPreview name="ai-generation-canvas" />
-
-## Installation
-
-<InstallBlock name="ai-generation-canvas" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { AIGenerationCanvas } from "@/components/remocn/ai-generation-canvas";
-
-const AIGenerationCanvasScene = () => (
- <AIGenerationCanvas
- prompt="Generate a dashboard"
- accentColor="#7c3aed"
- cardCount={4}
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="AIGenerationCanvas"
- component={AIGenerationCanvasScene}
- durationInFrames={180}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "prompt",
- type: "string",
- default: '"Generate a dashboard"',
- description: "Text typed into the input during the first phase",
- },
- {
- name: "accentColor",
- type: "string",
- default: '"#7c3aed"',
- description: "Brand color used for the input border, shimmer tint, and chart accents",
- },
- {
- name: "cardCount",
- type: "number",
- default: "4",
- description: "Number of skeleton cards rendered and revealed in the dashboard grid",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/compositions/browser-flow.mdx b/content/docs/compositions/browser-flow.mdx
deleted file mode 100644
index 688c768a..00000000
--- a/content/docs/compositions/browser-flow.mdx
+++ /dev/null
@@ -1,70 +0,0 @@
----
-title: Browser Flow
-description: A full Safari/Chrome simulation from URL typing to scroll and click
----
-
-<ComponentPreview name="browser-flow" />
-
-## Installation
-
-<InstallBlock name="browser-flow" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { BrowserFlow } from "@/components/remocn/browser-flow";
-
-const BrowserFlowScene = () => (
- <BrowserFlow url="remocn.dev" />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="BrowserFlow"
- component={BrowserFlowScene}
- durationInFrames={270}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-Renders transparent — supply the background via `Backdrop`:
-
-```tsx
-import { Backdrop } from "@/components/remocn/backdrop";
-import { BrowserFlow } from "@/components/remocn/browser-flow";
-
-<Backdrop fill={{ type: "gradient", value: "radial-gradient(ellipse at center, #11141c 0%, #050505 75%)" }}>
- <BrowserFlow url="remocn.dev" />
-</Backdrop>
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "url",
- type: "string",
- default: '"remocn.dev"',
- description: "The URL typed into the address bar and used in the autocomplete suggestion",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Multiplier applied to the current frame to slow down or speed up the entire sequence",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/compositions/dashboard-populate.mdx b/content/docs/compositions/dashboard-populate.mdx
deleted file mode 100644
index 3d9f3892..00000000
--- a/content/docs/compositions/dashboard-populate.mdx
+++ /dev/null
@@ -1,76 +0,0 @@
----
-title: Dashboard Populate
-description: An empty dashboard fills itself with data in a cascaded spring sequence
----
-
-<ComponentPreview name="dashboard-populate" />
-
-## Installation
-
-<InstallBlock name="dashboard-populate" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { DashboardPopulate } from "@/components/remocn/dashboard-populate";
-
-const DashboardPopulateScene = () => (
- <DashboardPopulate accentColor="#22c55e" kpiTarget={128400} />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="DashboardPopulate"
- component={DashboardPopulateScene}
- durationInFrames={180}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-Renders its scene transparent — supply the background via `Backdrop`:
-
-```tsx
-import { Backdrop } from "@/components/remocn/backdrop";
-import { DashboardPopulate } from "@/components/remocn/dashboard-populate";
-
-<Backdrop fill={{ type: "color", value: "#09090b" }}>
- <DashboardPopulate accentColor="#22c55e" kpiTarget={128400} />
-</Backdrop>
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "accentColor",
- type: "string",
- default: '"#22c55e"',
- description: "Color used for bars, line, donut and KPI delta",
- },
- {
- name: "kpiTarget",
- type: "number",
- default: "128400",
- description: "Target value the revenue counter animates up to",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Multiplier applied to the current frame",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/compositions/hero-device-assemble.mdx b/content/docs/compositions/hero-device-assemble.mdx
deleted file mode 100644
index 9f7304a7..00000000
--- a/content/docs/compositions/hero-device-assemble.mdx
+++ /dev/null
@@ -1,80 +0,0 @@
----
-title: Hero Device Assemble
-description: Layered device mockup that snaps together in 3D before the screen wakes up
----
-
-<ComponentPreview name="hero-device-assemble" />
-
-## Installation
-
-<InstallBlock name="hero-device-assemble" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { HeroDeviceAssemble } from "@/components/remocn/hero-device-assemble";
-
-const HeroDeviceAssembleScene = () => (
- <HeroDeviceAssemble
- device="laptop"
- accentColor="#22c55e"
- assembleStart={0}
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="HeroDeviceAssemble"
- component={HeroDeviceAssembleScene}
- durationInFrames={150}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-Renders its scene transparent — supply the background via `Backdrop`:
-
-```tsx
-import { Backdrop } from "@/components/remocn/backdrop";
-import { HeroDeviceAssemble } from "@/components/remocn/hero-device-assemble";
-
-<Backdrop fill={{ type: "gradient", value: "radial-gradient(ellipse at center, #1a1a22 0%, #050507 70%)" }}>
- <HeroDeviceAssemble device="laptop" accentColor="#22c55e" assembleStart={0} />
-</Backdrop>
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "device",
- type: '"laptop" | "phone"',
- default: '"laptop"',
- description: "Mockup form factor. Phone uses a vertical bezel and skips the chassis base.",
- },
- {
- name: "accentColor",
- type: "string",
- default: '"#22c55e"',
- description: "Brand accent applied to the in-screen UI highlights",
- },
- {
- name: "assembleStart",
- type: "number",
- default: "0",
- description: "Frame at which the assembly spring kicks off",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/compositions/index.mdx b/content/docs/compositions/index.mdx
index faf8c2b9..5fce6421 100644
--- a/content/docs/compositions/index.mdx
+++ b/content/docs/compositions/index.mdx
@@ -9,12 +9,6 @@ Higher-level templates that combine multiple primitives, UI blocks, and transiti
<ComponentCardGrid
items={[
- {
- name: "HeroDeviceAssemble",
- description: "Floating device layers spring into a laptop or phone, then the screen wakes with a shimmer",
- status: "stable",
- href: "/docs/compositions/hero-device-assemble",
- },
{
name: "EcosystemConstellation",
description: "Central logo orbited by integration satellites with pulsing data lines",
@@ -34,48 +28,11 @@ Higher-level templates that combine multiple primitives, UI blocks, and transiti
<ComponentCardGrid
items={[
- {
- name: "BrowserFlow",
- description: "Full Safari/Chrome simulation: URL typing, loading bar, scroll, and click",
- status: "stable",
- href: "/docs/compositions/browser-flow",
- },
- {
- name: "AIGenerationCanvas",
- description: "Prompt input morphs into a header, then a skeleton dashboard flips into populated cards",
- status: "stable",
- href: "/docs/compositions/ai-generation-canvas",
- },
{
name: "LiveCodeCompilation",
description: "Split-screen where typed code on the left snaps a live UI preview on the right",
status: "stable",
href: "/docs/compositions/live-code-compilation",
},
- {
- name: "TerminalToBrowserDeploy",
- description: "CLI deploy completes, terminal blurs back, and a browser window springs from the deploy URL",
- status: "stable",
- href: "/docs/compositions/terminal-to-browser-deploy",
- },
- ]}
-/>
-
-## App States & Journeys
-
-<ComponentCardGrid
- items={[
- {
- name: "DashboardPopulate",
- description: "Empty dashboard cascades to life with KPI count-ups, bar bounces, line traces, and a donut fill",
- status: "stable",
- href: "/docs/compositions/dashboard-populate",
- },
- {
- name: "PricingTierFocus",
- description: "Three pricing cards where the focused tier rises and brightens while siblings dim and blur",
- status: "stable",
- href: "/docs/compositions/pricing-tier-focus",
- },
]}
/>
diff --git a/content/docs/compositions/meta.json b/content/docs/compositions/meta.json
index ba75094a..2f211889 100644
--- a/content/docs/compositions/meta.json
+++ b/content/docs/compositions/meta.json
@@ -3,14 +3,8 @@
"collapsible": false,
"pages": [
"index",
- "hero-device-assemble",
"ecosystem-constellation",
"infinite-bento-pan",
- "browser-flow",
- "ai-generation-canvas",
- "live-code-compilation",
- "terminal-to-browser-deploy",
- "dashboard-populate",
- "pricing-tier-focus"
+ "live-code-compilation"
]
}
diff --git a/content/docs/compositions/pricing-tier-focus.mdx b/content/docs/compositions/pricing-tier-focus.mdx
deleted file mode 100644
index 3ef47520..00000000
--- a/content/docs/compositions/pricing-tier-focus.mdx
+++ /dev/null
@@ -1,63 +0,0 @@
----
-title: Pricing Tier Focus
-description: Highlight the recommended pricing tier by dimming and blurring its neighbors
----
-
-<ComponentPreview name="pricing-tier-focus" />
-
-## Installation
-
-<InstallBlock name="pricing-tier-focus" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { PricingTierFocus } from "@/components/remocn/pricing-tier-focus";
-
-const PricingTierFocusScene = () => (
- <PricingTierFocus focusedTier={1} accentColor="#22c55e" />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="PricingTierFocus"
- component={PricingTierFocusScene}
- durationInFrames={180}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "focusedTier",
- type: "0 | 1 | 2",
- default: "1",
- description: "Index of the tier to highlight (0 = Free, 1 = Pro, 2 = Enterprise)",
- },
- {
- name: "accentColor",
- type: "string",
- default: '"#22c55e"',
- description: "Brand color for the focused tier badge, checkmarks, and CTA button",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Multiplier applied to the current frame for global timing control",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/compositions/terminal-to-browser-deploy.mdx b/content/docs/compositions/terminal-to-browser-deploy.mdx
deleted file mode 100644
index 2e70a8cb..00000000
--- a/content/docs/compositions/terminal-to-browser-deploy.mdx
+++ /dev/null
@@ -1,66 +0,0 @@
----
-title: Terminal To Browser Deploy
-description: A CLI deploy completes and the live site grows out of the URL printed in the console
----
-
-<ComponentPreview name="terminal-to-browser-deploy" />
-
-## Installation
-
-<InstallBlock name="terminal-to-browser-deploy" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { TerminalToBrowserDeploy } from "@/components/remocn/terminal-to-browser-deploy";
-
-const TerminalToBrowserDeployScene = () => (
- <TerminalToBrowserDeploy
- siteUrl="https://app.example.com"
- accentColor="#22c55e"
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="TerminalToBrowserDeploy"
- component={TerminalToBrowserDeployScene}
- durationInFrames={240}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "siteUrl",
- type: "string",
- default: '"https://app.example.com"',
- description: "URL printed in the deploy success line and shown in the browser address bar",
- },
- {
- name: "accentColor",
- type: "string",
- default: '"#22c55e"',
- description: "Accent color used for the success line, CTA button, and ambient glow inside the browser",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Multiplier applied to the current frame to slow down or speed up the entire sequence",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/transitions/device-mockup-zoom.mdx b/content/docs/transitions/device-mockup-zoom.mdx
deleted file mode 100644
index cc992f1a..00000000
--- a/content/docs/transitions/device-mockup-zoom.mdx
+++ /dev/null
@@ -1,99 +0,0 @@
----
-title: Device Mockup Zoom
-description: Pull back from a UI to reveal it inside a device frame
----
-
-<ComponentPreview name="device-mockup-zoom" />
-
-## Installation
-
-<InstallBlock name="device-mockup-zoom" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { DeviceMockupZoom } from "@/components/remocn/device-mockup-zoom";
-
-const DeviceMockupZoomScene = () => (
- <DeviceMockupZoom>
- <YourAppScreen />
- </DeviceMockupZoom>
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="DeviceMockupZoom"
- component={DeviceMockupZoomScene}
- durationInFrames={120}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-The component renders transparent by default — supply the background via `Backdrop`:
-
-```tsx
-import { Composition } from "remotion";
-import { DeviceMockupZoom } from "@/components/remocn/device-mockup-zoom";
-import { Backdrop } from "@/components/remocn/backdrop";
-
-const DeviceMockupZoomScene = () => (
- <Backdrop fill={{ type: "color", value: "#f5f5f5" }}>
- <DeviceMockupZoom>
- <YourAppScreen />
- </DeviceMockupZoom>
- </Backdrop>
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="DeviceMockupZoom"
- component={DeviceMockupZoomScene}
- durationInFrames={120}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "children",
- type: "ReactNode",
- description: "Content rendered inside the device screen. Falls back to a sample gradient screen.",
- },
- {
- name: "device",
- type: '"laptop" | "phone"',
- default: '"laptop"',
- description: "Which inline mockup to render",
- },
- {
- name: "frameColor",
- type: "string",
- default: '"#1f1f1f"',
- description: "Color of the device chrome",
- },
- {
- name: "screenColor",
- type: "string",
- default: '"#0a0a0a"',
- description: "Background color shown behind the screen content",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className for the outer container",
- },
- ]}
-/>
diff --git a/content/docs/transitions/image-expand-to-fullscreen.mdx b/content/docs/transitions/image-expand-to-fullscreen.mdx
deleted file mode 100644
index 975c87a6..00000000
--- a/content/docs/transitions/image-expand-to-fullscreen.mdx
+++ /dev/null
@@ -1,130 +0,0 @@
----
-title: Image Expand To Fullscreen
-description: A thumbnail in a feed post lifts off the card and morphs seamlessly into a fullscreen editor, with toolbars sliding in to meet it
----
-
-<ComponentPreview name="image-expand-to-fullscreen" />
-
-## Installation
-
-<InstallBlock name="image-expand-to-fullscreen" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { ImageExpandToFullscreen } from "@/components/remocn/image-expand-to-fullscreen";
-
-const ImageExpandScene = () => (
- <ImageExpandToFullscreen
- from={{ left: 460, top: 280, width: 360, height: 200 }}
- to={{ left: 200, top: 120, width: 880, height: 480 }}
- morphAt={30}
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="ImageExpandToFullscreen"
- component={ImageExpandScene}
- durationInFrames={180}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "from",
- type: "{ top, left, width, height }",
- description: "Source rect of the thumbnail inside the feed post",
- },
- {
- name: "to",
- type: "{ top, left, width, height }",
- description: "Target rect of the image inside the fullscreen editor",
- },
- {
- name: "borderRadiusFrom",
- type: "number",
- default: "12",
- description: "Border radius of the thumbnail in pixels",
- },
- {
- name: "borderRadiusTo",
- type: "number",
- default: "16",
- description: "Border radius of the editor image in pixels",
- },
- {
- name: "morphAt",
- type: "number",
- default: "30",
- description: "Frame at which the shared-element morph fires",
- },
- {
- name: "imageColorA",
- type: "string",
- default: "\"#ff6b6b\"",
- description: "First stop of the faked image gradient",
- },
- {
- name: "imageColorB",
- type: "string",
- default: "\"#845ec2\"",
- description: "Second stop of the faked image gradient",
- },
- {
- name: "imageColorC",
- type: "string",
- default: "\"#4d8dff\"",
- description: "Third stop of the faked image gradient",
- },
- {
- name: "feedBackground",
- type: "string",
- default: "\"#f4f4f5\"",
- description: "Page background color of the feed (before the morph)",
- },
- {
- name: "editorBackground",
- type: "string",
- default: "\"#0a0a0a\"",
- description: "Canvas background color of the editor (after the morph)",
- },
- {
- name: "accent",
- type: "string",
- default: "\"#fafafa\"",
- description: "Accent color used for toolbar text and the active tool chip",
- },
- {
- name: "postAuthor",
- type: "string",
- default: "\"Maya Larsson\"",
- description: "Author name shown on the feed post",
- },
- {
- name: "postBody",
- type: "string",
- description: "Caption shown on the feed post above the thumbnail",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Playback speed multiplier",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className passed to the root container",
- },
- ]}
-/>
diff --git a/content/docs/transitions/index.mdx b/content/docs/transitions/index.mdx
index c0b899bf..78acffd3 100644
--- a/content/docs/transitions/index.mdx
+++ b/content/docs/transitions/index.mdx
@@ -15,12 +15,6 @@ Wipes, slides, zooms, and camera moves between scenes. Group your scenes inside
status: "stable",
href: "/docs/transitions/zoom-through-transition",
},
- {
- name: "DeviceMockupZoom",
- description: "Pull back from a UI to reveal it inside a phone or laptop frame",
- status: "stable",
- href: "/docs/transitions/device-mockup-zoom",
- },
]}
/>
diff --git a/content/docs/transitions/meta.json b/content/docs/transitions/meta.json
index 372834f2..d547a0eb 100644
--- a/content/docs/transitions/meta.json
+++ b/content/docs/transitions/meta.json
@@ -4,8 +4,6 @@
"pages": [
"index",
"zoom-through-transition",
- "device-mockup-zoom",
- "image-expand-to-fullscreen",
"directional-wipe",
"spatial-push",
"frosted-glass-wipe",
diff --git a/content/docs/ui-blocks/code-accordion.mdx b/content/docs/ui-blocks/code-accordion.mdx
deleted file mode 100644
index 49332845..00000000
--- a/content/docs/ui-blocks/code-accordion.mdx
+++ /dev/null
@@ -1,121 +0,0 @@
----
-title: Code Accordion
-description: A code window that springs a range of lines closed and replaces them with a "N lines collapsed" placeholder
----
-
-<ComponentPreview name="code-accordion" />
-
-## Installation
-
-<InstallBlock name="code-accordion" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { CodeAccordion } from "@/components/remocn/code-accordion";
-
-const CodeAccordionScene = () => (
- <CodeAccordion
- lines={fileContents.split("\n")}
- collapseRange={[3, 14]}
- collapseAt={30}
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="CodeAccordion"
- component={CodeAccordionScene}
- durationInFrames={150}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-Renders transparent — supply the background via `Backdrop`:
-
-```tsx
-import { Backdrop } from "@/components/remocn/backdrop";
-import { CodeAccordion } from "@/components/remocn/code-accordion";
-
-<Backdrop fill={{ type: "color", value: "#050505" }}>
- <CodeAccordion lines={fileContents.split("\n")} collapseRange={[3, 14]} collapseAt={30} />
-</Backdrop>
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "lines",
- type: "string[]",
- description: "Lines of code to render. Pre-split into an array.",
- },
- {
- name: "collapseRange",
- type: "[number, number]",
- default: "[3, 14]",
- description: "Inclusive 0-based start and end line indices that will collapse",
- },
- {
- name: "collapseAt",
- type: "number",
- default: "30",
- description: "Frame at which the collapse spring fires",
- },
- {
- name: "title",
- type: "string",
- default: "\"process-orders.ts\"",
- description: "Filename shown in the chrome bar",
- },
- {
- name: "fontSize",
- type: "number",
- default: "16",
- description: "Code font size in pixels",
- },
- {
- name: "width",
- type: "number",
- default: "720",
- description: "Window width in pixels",
- },
- {
- name: "cardColor",
- type: "string",
- default: "\"#0a0a0a\"",
- description: "Editor surface color",
- },
- {
- name: "textColor",
- type: "string",
- default: "\"#e4e4e7\"",
- description: "Code color",
- },
- {
- name: "mutedColor",
- type: "string",
- default: "\"#52525b\"",
- description: "Line numbers and placeholder bar color",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Playback speed multiplier",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className passed to the root container",
- },
- ]}
-/>
diff --git a/content/docs/ui-blocks/code-diff-wipe.mdx b/content/docs/ui-blocks/code-diff-wipe.mdx
deleted file mode 100644
index 385757d9..00000000
--- a/content/docs/ui-blocks/code-diff-wipe.mdx
+++ /dev/null
@@ -1,94 +0,0 @@
----
-title: Code Diff Wipe
-description: Reveal an "after" code snippet by wiping a "before" snippet away
----
-
-<ComponentPreview name="code-diff-wipe" />
-
-## Installation
-
-<InstallBlock name="code-diff-wipe" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { CodeDiffWipe } from "@/components/remocn/code-diff-wipe";
-
-const CodeDiffWipeScene = () => (
- <CodeDiffWipe
- before={"function get() { /* old */ }"}
- after={"const get = async () => { /* new */ }"}
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="CodeDiffWipe"
- component={CodeDiffWipeScene}
- durationInFrames={120}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "before",
- type: "string",
- description: "Multi-line code shown on top, wiped away by the animation",
- },
- {
- name: "after",
- type: "string",
- description: "Multi-line code revealed underneath as the wipe progresses",
- },
- {
- name: "language",
- type: "string",
- default: "\"tsx\"",
- description: "Language label shown in the pane header",
- },
- {
- name: "background",
- type: "string",
- default: "\"#0a0a0a\"",
- description: "Editor background color",
- },
- {
- name: "accent",
- type: "string",
- default: "\"#0ea5e9\"",
- description: "Accent color for the wipe line, handle, and \"after\" label",
- },
- {
- name: "transitionStart",
- type: "number",
- default: "20",
- description: "Frame at which the wipe begins",
- },
- {
- name: "transitionDuration",
- type: "number",
- default: "60",
- description: "Number of frames the wipe takes from 0% to 100%",
- },
- {
- name: "showHandle",
- type: "boolean",
- default: "true",
- description: "Render a circular handle on the wipe line",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className passed to the outer container",
- },
- ]}
-/>
diff --git a/content/docs/ui-blocks/drag-and-drop-flow.mdx b/content/docs/ui-blocks/drag-and-drop-flow.mdx
deleted file mode 100644
index a63bdcb8..00000000
--- a/content/docs/ui-blocks/drag-and-drop-flow.mdx
+++ /dev/null
@@ -1,80 +0,0 @@
----
-title: Drag And Drop Flow
-description: Simulates dragging a file into a drop zone, then a progress bar fills
----
-
-<ComponentPreview name="drag-and-drop-flow" />
-
-## Installation
-
-<InstallBlock name="drag-and-drop-flow" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { DragAndDropFlow } from "@/components/remocn/drag-and-drop-flow";
-
-const DragAndDropFlowScene = () => (
- <DragAndDropFlow
- accent="#0ea5e9"
- dropzoneLabel="Drop file to upload"
- fileName="design.fig"
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="DragAndDropFlow"
- component={DragAndDropFlowScene}
- durationInFrames={150}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-Renders transparent — supply the background via `Backdrop`:
-
-```tsx
-import { Backdrop } from "@/components/remocn/backdrop";
-import { DragAndDropFlow } from "@/components/remocn/drag-and-drop-flow";
-
-<Backdrop fill={{ type: "color", value: "#fafafa" }}>
- <DragAndDropFlow accent="#0ea5e9" dropzoneLabel="Drop file to upload" fileName="design.fig" />
-</Backdrop>
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "accent",
- type: "string",
- default: "\"#0ea5e9\"",
- description: "Accent color for the file icon, dropzone highlight, and progress bar",
- },
- {
- name: "dropzoneLabel",
- type: "string",
- default: "\"Drop file to upload\"",
- description: "Label rendered inside the dropzone",
- },
- {
- name: "fileName",
- type: "string",
- default: "\"design.fig\"",
- description: "File name shown above the progress bar",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className passed to the outer container",
- },
- ]}
-/>
diff --git a/content/docs/ui-blocks/index.mdx b/content/docs/ui-blocks/index.mdx
index b5801d28..ffe2b318 100644
--- a/content/docs/ui-blocks/index.mdx
+++ b/content/docs/ui-blocks/index.mdx
@@ -27,18 +27,6 @@ Larger blocks built from primitives, the actual surfaces your viewers will recog
status: "stable",
href: "/docs/ui-blocks/terminal-cursor-zoom",
},
- {
- name: "CodeAccordion",
- description: "Long code blocks collapse mid-section, hiding noise behind a count badge",
- status: "stable",
- href: "/docs/ui-blocks/code-accordion",
- },
- {
- name: "CodeDiffWipe",
- description: "Before/after comparison with a clip-path slider revealing the new code",
- status: "stable",
- href: "/docs/ui-blocks/code-diff-wipe",
- },
]}
/>
@@ -77,11 +65,5 @@ Larger blocks built from primitives, the actual surfaces your viewers will recog
status: "stable",
href: "/docs/ui-blocks/progress-steps",
},
- {
- name: "DragAndDropFlow",
- description: "Cursor drags a file into a drop zone that lights up and starts a progress bar",
- status: "stable",
- href: "/docs/ui-blocks/drag-and-drop-flow",
- },
]}
/>
diff --git a/content/docs/ui-blocks/meta.json b/content/docs/ui-blocks/meta.json
index c3f653dd..c68d8b1d 100644
--- a/content/docs/ui-blocks/meta.json
+++ b/content/docs/ui-blocks/meta.json
@@ -7,11 +7,7 @@
"glass-code-walk",
"terminal-simulator",
"terminal-cursor-zoom",
- "code-accordion",
- "code-diff-wipe",
- "tool-menu-slide-in",
"animated-line-chart",
- "animated-bar-chart",
- "drag-and-drop-flow"
+ "animated-bar-chart"
]
}
diff --git a/content/docs/ui-blocks/tool-menu-slide-in.mdx b/content/docs/ui-blocks/tool-menu-slide-in.mdx
deleted file mode 100644
index 2b993a6a..00000000
--- a/content/docs/ui-blocks/tool-menu-slide-in.mdx
+++ /dev/null
@@ -1,105 +0,0 @@
----
-title: Tool Menu Slide In
-description: A horizontal pill of tool icons whips up from below the canvas, then each icon pops in with a staggered spring
----
-
-<ComponentPreview name="tool-menu-slide-in" />
-
-## Installation
-
-<InstallBlock name="tool-menu-slide-in" />
-
-## Usage
-
-```tsx
-// src/Root.tsx
-import { Composition } from "remotion";
-import { ToolMenuSlideIn } from "@/components/remocn/tool-menu-slide-in";
-
-const ToolMenuScene = () => (
- <ToolMenuSlideIn
- panelStartFrame={18}
- iconStagger={4}
- iconCount={5}
- accent="#a78bfa"
- />
-);
-
-export const RemotionRoot = () => (
- <Composition
- id="ToolMenuSlideIn"
- component={ToolMenuScene}
- durationInFrames={180}
- fps={30}
- width={1280}
- height={720}
- />
-);
-```
-
-### With Backdrop
-
-Renders transparent — supply the background via `Backdrop`:
-
-```tsx
-import { Backdrop } from "@/components/remocn/backdrop";
-import { ToolMenuSlideIn } from "@/components/remocn/tool-menu-slide-in";
-
-<Backdrop fill={{ type: "color", value: "#070708" }}>
- <ToolMenuSlideIn panelStartFrame={18} iconStagger={4} iconCount={5} accent="#a78bfa" />
-</Backdrop>
-```
-
-## Props
-
-<PropsTable
- rows={[
- {
- name: "panelStartFrame",
- type: "number",
- default: "18",
- description: "Frame at which the panel begins sliding up",
- },
- {
- name: "iconStagger",
- type: "number",
- default: "4",
- description: "Frames of delay between each icon's pop-in spring",
- },
- {
- name: "iconCount",
- type: "number",
- default: "5",
- description: "Number of fake tool icons to render (clamped 1-8)",
- },
- {
- name: "accent",
- type: "string",
- default: "\"#a78bfa\"",
- description: "Accent color used for the active icon glow and border",
- },
- {
- name: "panelColor",
- type: "string",
- default: "\"rgba(18, 18, 22, 0.72)\"",
- description: "Frosted-glass fill of the menu pill",
- },
- {
- name: "iconBg",
- type: "string",
- default: "\"rgba(255,255,255,0.06)\"",
- description: "Background of inactive tool icons",
- },
- {
- name: "speed",
- type: "number",
- default: "1",
- description: "Playback speed multiplier",
- },
- {
- name: "className",
- type: "string",
- description: "Optional className passed to the root container",
- },
- ]}
-/>
diff --git a/public/r/ai-generation-canvas.json b/public/r/ai-generation-canvas.json
deleted file mode 100644
index 84ae2b3b..00000000
--- a/public/r/ai-generation-canvas.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "ai-generation-canvas",
- "title": "AI Generation Canvas",
- "description": "A prompt input transforms into a header, then a skeleton dashboard flips into populated cards.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/ai-generation-canvas/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface AIGenerationCanvasProps {\n prompt?: string;\n accentColor?: string;\n cardCount?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction MiniBarChart({ accentColor }: { accentColor: string }) {\n const bars = [0.4, 0.7, 0.55, 0.85, 0.5, 0.95, 0.65];\n return (\n <div\n style={{\n display: \"flex\",\n alignItems: \"flex-end\",\n gap: 6,\n height: 60,\n marginTop: 12,\n }}\n >\n {bars.map((h, i) => (\n <div\n key={i}\n style={{\n flex: 1,\n height: `${h * 100}%`,\n background: accentColor,\n borderRadius: 3,\n opacity: 0.3 + h * 0.7,\n }}\n />\n ))}\n </div>\n );\n}\n\nfunction MiniRows() {\n return (\n <div\n style={{\n marginTop: 12,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 6,\n }}\n >\n {[0.9, 0.7, 0.85, 0.6].map((w, i) => (\n <div\n key={i}\n style={{\n height: 8,\n width: `${w * 100}%`,\n background: \"rgba(255,255,255,0.12)\",\n borderRadius: 4,\n }}\n />\n ))}\n </div>\n );\n}\n\nfunction StatBlock({\n accentColor,\n value,\n}: {\n accentColor: string;\n value: string;\n}) {\n return (\n <div style={{ marginTop: 8 }}>\n <div\n style={{\n fontSize: 36,\n fontWeight: 700,\n color: \"white\",\n letterSpacing: \"-0.03em\",\n fontFamily: FONT_FAMILY,\n }}\n >\n {value}\n </div>\n <div\n style={{\n fontSize: 12,\n color: accentColor,\n marginTop: 2,\n fontWeight: 500,\n }}\n >\n +12.4% this week\n </div>\n </div>\n );\n}\n\nfunction CardContent({\n index,\n accentColor,\n}: {\n index: number;\n accentColor: string;\n}) {\n const titles = [\n \"Revenue\",\n \"Active Users\",\n \"Sessions\",\n \"Conversion\",\n \"Retention\",\n \"Latency\",\n ];\n const values = [\"$48.2k\", \"12,840\", \"9.1k\", \"3.8%\", \"76%\", \"142ms\"];\n const variant = index % 3;\n return (\n <div style={{ width: \"100%\", height: \"100%\", padding: 18 }}>\n <div\n style={{\n fontSize: 12,\n color: \"rgba(255,255,255,0.55)\",\n fontWeight: 500,\n fontFamily: FONT_FAMILY,\n letterSpacing: \"0.02em\",\n textTransform: \"uppercase\",\n }}\n >\n {titles[index % titles.length]}\n </div>\n {variant === 0 ? (\n <>\n <StatBlock\n accentColor={accentColor}\n value={values[index % values.length]}\n />\n <MiniBarChart accentColor={accentColor} />\n </>\n ) : variant === 1 ? (\n <>\n <StatBlock\n accentColor={accentColor}\n value={values[index % values.length]}\n />\n <MiniRows />\n </>\n ) : (\n <>\n <MiniBarChart accentColor={accentColor} />\n <MiniRows />\n </>\n )}\n </div>\n );\n}\n\nexport function AIGenerationCanvas({\n prompt = \"Generate a dashboard\",\n accentColor = \"#7c3aed\",\n cardCount = 4,\n speed = 1,\n className,\n}: AIGenerationCanvasProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n // Phase boundaries\n const P1_END = 40;\n const P2_END = 70;\n const P3_END = 100;\n\n // Phase 1: typewriter\n const charCount = Math.floor(\n interpolate(frame, [4, P1_END - 2], [0, prompt.length], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n }),\n );\n const typedText = prompt.substring(0, charCount);\n const cursorVisible = Math.floor(frame / 12) % 2 === 0;\n\n // Phase 2: input -> header transform\n const transformProgress = spring({\n frame: frame - P1_END,\n fps,\n config: { mass: 1, damping: 16, stiffness: 110 },\n durationInFrames: 30,\n });\n\n // Centered input dimensions\n const inputCenteredW = 640;\n const inputCenteredH = 80;\n const headerW = 1200;\n const headerH = 56;\n const inputW = interpolate(\n transformProgress,\n [0, 1],\n [inputCenteredW, headerW],\n );\n const inputH = interpolate(\n transformProgress,\n [0, 1],\n [inputCenteredH, headerH],\n );\n const inputTop = interpolate(transformProgress, [0, 1], [320, 40]);\n const inputRadius = interpolate(transformProgress, [0, 1], [16, 12]);\n const inputFontSize = interpolate(transformProgress, [0, 1], [24, 14]);\n\n // Phase 3: skeleton fade\n const skeletonOpacity = interpolate(frame, [P2_END, P3_END], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n // Shimmer position\n const shimmerPos = ((frame * 1.5) % 200) - 50;\n\n // Phase 4: card flip reveal (after frame 100)\n const cards = Array.from({ length: cardCount });\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"#0a0a0a\",\n overflow: \"hidden\",\n fontFamily: FONT_FAMILY,\n }}\n >\n {/* subtle grid backdrop */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n backgroundImage:\n \"linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px)\",\n backgroundSize: \"40px 40px\",\n maskImage:\n \"radial-gradient(ellipse at center, black 40%, transparent 80%)\",\n }}\n />\n\n {/* Skeleton + content cards grid (Phase 3 onward) */}\n {frame > P2_END && (\n <div\n style={{\n position: \"absolute\",\n top: 130,\n left: 40,\n right: 40,\n bottom: 40,\n display: \"grid\",\n gridTemplateColumns: `repeat(${Math.min(cardCount, 4)}, 1fr)`,\n gap: 20,\n }}\n >\n {cards.map((_, i) => {\n const cardStart = P3_END + i * 8;\n const flipProgress = spring({\n frame: frame - cardStart,\n fps,\n config: { mass: 0.9, damping: 14, stiffness: 100 },\n durationInFrames: 30,\n });\n const rotation = interpolate(flipProgress, [0, 1], [0, 180]);\n const showSkeleton = rotation < 90;\n\n return (\n <div\n key={i}\n style={{\n position: \"relative\",\n perspective: 1200,\n opacity: skeletonOpacity,\n }}\n >\n <div\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n transformStyle: \"preserve-3d\",\n transform: `rotateY(${rotation}deg)`,\n }}\n >\n {/* Skeleton face */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"#141416\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n borderRadius: 14,\n backfaceVisibility: \"hidden\",\n overflow: \"hidden\",\n visibility: showSkeleton ? \"visible\" : \"hidden\",\n }}\n >\n {/* shimmer overlay */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: `linear-gradient(110deg, transparent 0%, transparent ${shimmerPos}%, ${accentColor}22 ${shimmerPos + 15}%, transparent ${shimmerPos + 30}%)`,\n }}\n />\n <div style={{ padding: 18 }}>\n <div\n style={{\n width: \"40%\",\n height: 10,\n background: \"rgba(255,255,255,0.08)\",\n borderRadius: 4,\n }}\n />\n <div\n style={{\n width: \"70%\",\n height: 28,\n background: \"rgba(255,255,255,0.08)\",\n borderRadius: 6,\n marginTop: 14,\n }}\n />\n <div\n style={{\n width: \"100%\",\n height: 60,\n background: \"rgba(255,255,255,0.05)\",\n borderRadius: 6,\n marginTop: 16,\n }}\n />\n </div>\n </div>\n {/* Content face */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"#141416\",\n border: `1px solid ${accentColor}33`,\n borderRadius: 14,\n backfaceVisibility: \"hidden\",\n transform: \"rotateY(180deg)\",\n overflow: \"hidden\",\n boxShadow: `0 0 0 1px ${accentColor}22, 0 20px 40px rgba(0,0,0,0.4)`,\n }}\n >\n <CardContent index={i} accentColor={accentColor} />\n </div>\n </div>\n </div>\n );\n })}\n </div>\n )}\n\n {/* Prompt input — centered then transforms to header */}\n <div\n style={{\n position: \"absolute\",\n left: \"50%\",\n top: inputTop,\n width: inputW,\n height: inputH,\n marginLeft: -inputW / 2,\n background: \"rgba(20,20,22,0.85)\",\n border: `1px solid ${accentColor}55`,\n borderRadius: inputRadius,\n backdropFilter: \"blur(12px)\",\n display: \"flex\",\n alignItems: \"center\",\n padding: \"0 20px\",\n boxShadow:\n transformProgress < 0.5\n ? `0 0 0 6px ${accentColor}11, 0 30px 80px rgba(0,0,0,0.6)`\n : \"0 8px 24px rgba(0,0,0,0.4)\",\n }}\n >\n {/* sparkle icon */}\n <div\n style={{\n width: 20,\n height: 20,\n marginRight: 12,\n color: accentColor,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexShrink: 0,\n }}\n >\n <svg viewBox=\"0 0 24 24\" width=\"20\" height=\"20\" fill=\"currentColor\">\n <path d=\"M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5L12 2z\" />\n </svg>\n </div>\n <div\n style={{\n color: \"white\",\n fontSize: inputFontSize,\n fontWeight: 500,\n letterSpacing: \"-0.01em\",\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n }}\n >\n {typedText}\n {frame < P1_END && cursorVisible && (\n <span\n style={{\n display: \"inline-block\",\n width: 2,\n height: inputFontSize,\n background: accentColor,\n marginLeft: 2,\n verticalAlign: \"middle\",\n }}\n />\n )}\n </div>\n {transformProgress > 0.6 && (\n <div\n style={{\n marginLeft: \"auto\",\n display: \"flex\",\n gap: 8,\n alignItems: \"center\",\n opacity: (transformProgress - 0.6) / 0.4,\n }}\n >\n <div\n style={{\n width: 8,\n height: 8,\n borderRadius: 4,\n background: accentColor,\n boxShadow: `0 0 12px ${accentColor}`,\n }}\n />\n <div\n style={{\n fontSize: 12,\n color: \"rgba(255,255,255,0.6)\",\n fontWeight: 500,\n }}\n >\n Generating\n </div>\n </div>\n )}\n </div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/ai-generation-canvas.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/browser-flow.json b/public/r/browser-flow.json
deleted file mode 100644
index 7c013689..00000000
--- a/public/r/browser-flow.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "browser-flow",
- "title": "Browser Flow",
- "description": "Full Safari/Chrome simulation: typed URL, progress bar, page render, scroll, and a virtual cursor click.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/browser-flow/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface BrowserFlowProps {\n url?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\nconst MONO_FAMILY =\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace\";\n\nfunction MacDots({ size = 12 }: { size?: number }) {\n return (\n <div style={{ display: \"flex\", gap: 8, alignItems: \"center\" }}>\n {[\"#ff5f57\", \"#febc2e\", \"#28c840\"].map((c) => (\n <div\n key={c}\n style={{\n width: size,\n height: size,\n borderRadius: \"50%\",\n background: c,\n opacity: 0.85,\n }}\n />\n ))}\n </div>\n );\n}\n\nfunction CursorSVG() {\n return (\n <svg width=\"22\" height=\"28\" viewBox=\"0 0 22 28\" fill=\"none\">\n <path\n d=\"M2 2L2 22L7 17.5L10.5 25L13.5 23.5L10 16L17 16L2 2Z\"\n fill=\"white\"\n stroke=\"black\"\n strokeWidth=\"1.5\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n}\n\nfunction easeInOut(t: number) {\n return t < 0.5 ? 2 * t * t : 1 - (-2 * t + 2) ** 2 / 2;\n}\n\nexport function BrowserFlow({\n url = \"remocn.dev\",\n speed = 1,\n className,\n}: BrowserFlowProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n // ── Browser dimensions ────────────────────────────\n const browserWidth = 1100;\n const browserHeight = 620;\n const chromeHeight = 56;\n const browserLeft = (1280 - browserWidth) / 2;\n const browserTop = (720 - browserHeight) / 2;\n\n // ── URL typing (frames 0..40) ─────────────────────\n const typingProgress = interpolate(frame, [4, 38], [0, url.length], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const typedChars = Math.floor(typingProgress);\n const typedUrl = url.slice(0, typedChars);\n const showCaret = frame < 50 && Math.floor(frame / 12) % 2 === 0;\n\n // Autocomplete suggestion appears once a few chars typed\n const showSuggestion = typedChars >= 2 && frame < 48;\n const suggestion = url;\n\n // ── Progress bar ──────────────────────────────────\n // 40..50: 0 -> 15\n // 50..65: hold at 15\n // 65..85: 15 -> 100\n // 85..95: fade out\n let progress = 0;\n if (frame < 40) progress = 0;\n else if (frame < 50)\n progress = interpolate(frame, [40, 50], [0, 15], {\n extrapolateRight: \"clamp\",\n });\n else if (frame < 65) progress = 15;\n else if (frame < 85)\n progress = interpolate(frame, [65, 85], [15, 100], {\n extrapolateRight: \"clamp\",\n });\n else progress = 100;\n\n const progressOpacity =\n frame < 40\n ? 0\n : frame < 85\n ? 1\n : interpolate(frame, [85, 95], [1, 0], {\n extrapolateRight: \"clamp\",\n });\n\n // ── Page render ───────────────────────────────────\n const pageStart = 95;\n const pageOpacity = interpolate(frame, [pageStart, pageStart + 12], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n // ── Page scroll & cursor motion ───────────────────\n const scrollStart = 115;\n const scrollEnd = 230;\n const scrollT = interpolate(frame, [scrollStart, scrollEnd], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const scrollEased = easeInOut(scrollT);\n const maxScroll = 600;\n const scrollY = scrollEased * maxScroll;\n\n // Cursor path: starts off the address bar area, moves down toward CTA inside viewport\n // Coordinates relative to the full 1280x720 frame.\n const cursorStartX = browserLeft + 380;\n const cursorStartY = browserTop + chromeHeight + 60;\n const cursorEndX = browserLeft + browserWidth / 2;\n const cursorEndY = browserTop + chromeHeight + 380;\n\n const cursorT = interpolate(frame, [pageStart + 5, scrollEnd], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const cursorEased = easeInOut(cursorT);\n // arc bias on Y for organic feel\n const arcOffset = Math.sin(cursorEased * Math.PI) * 30;\n const cursorX =\n cursorStartX + (cursorEndX - cursorStartX) * cursorEased + arcOffset * 0.6;\n const cursorY =\n cursorStartY + (cursorEndY - cursorStartY) * cursorEased - arcOffset;\n\n // Click animation near the end\n const clickFrame = scrollEnd + 4;\n const clickSpring = spring({\n frame: frame - clickFrame,\n fps,\n config: { mass: 0.4, damping: 12, stiffness: 220 },\n durationInFrames: 18,\n });\n const cursorClickScale = interpolate(clickSpring, [0, 0.4, 1], [1, 0.85, 1], {\n extrapolateRight: \"clamp\",\n });\n const buttonClickScale =\n frame >= clickFrame\n ? interpolate(clickSpring, [0, 0.4, 1], [1, 0.98, 1], {\n extrapolateRight: \"clamp\",\n })\n : 1;\n\n // Address bar focus state (highlighted while typing)\n const addressFocused = frame < 50;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n fontFamily: FONT_FAMILY,\n }}\n >\n {/* Browser window */}\n <div\n style={{\n position: \"absolute\",\n left: browserLeft,\n top: browserTop,\n width: browserWidth,\n height: browserHeight,\n borderRadius: 16,\n overflow: \"hidden\",\n background: \"#0a0a0c\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n boxShadow:\n \"0 50px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06)\",\n }}\n >\n {/* Chrome */}\n <div\n style={{\n position: \"relative\",\n height: chromeHeight,\n display: \"flex\",\n alignItems: \"center\",\n gap: 14,\n paddingLeft: 18,\n paddingRight: 18,\n background: \"rgba(20,20,24,0.95)\",\n borderBottom: \"1px solid rgba(255,255,255,0.06)\",\n }}\n >\n <MacDots />\n {/* nav arrows */}\n <div\n style={{\n display: \"flex\",\n gap: 6,\n marginLeft: 8,\n color: \"rgba(255,255,255,0.35)\",\n fontSize: 16,\n }}\n >\n <span>‹</span>\n <span>›</span>\n </div>\n {/* address bar */}\n <div\n style={{\n flex: 1,\n position: \"relative\",\n height: 32,\n borderRadius: 16,\n background: addressFocused\n ? \"rgba(255,255,255,0.08)\"\n : \"rgba(255,255,255,0.05)\",\n border: `1px solid ${\n addressFocused\n ? \"rgba(120,160,255,0.45)\"\n : \"rgba(255,255,255,0.07)\"\n }`,\n display: \"flex\",\n alignItems: \"center\",\n paddingLeft: 14,\n paddingRight: 14,\n fontFamily: MONO_FAMILY,\n fontSize: 13,\n color: \"rgba(255,255,255,0.85)\",\n boxShadow: addressFocused\n ? \"0 0 0 3px rgba(120,160,255,0.12)\"\n : \"none\",\n }}\n >\n <span style={{ color: \"rgba(255,255,255,0.4)\", marginRight: 8 }}>\n ⌕\n </span>\n <span>{typedUrl}</span>\n {showCaret && (\n <span\n style={{\n display: \"inline-block\",\n width: 1.5,\n height: 16,\n background: \"rgba(255,255,255,0.85)\",\n marginLeft: 1,\n }}\n />\n )}\n\n {/* Autocomplete suggestion dropdown */}\n {showSuggestion && (\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n top: \"calc(100% + 6px)\",\n background: \"rgba(22,22,26,0.98)\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n borderRadius: 10,\n padding: \"10px 14px\",\n fontFamily: MONO_FAMILY,\n fontSize: 13,\n color: \"rgba(255,255,255,0.85)\",\n display: \"flex\",\n alignItems: \"center\",\n gap: 10,\n boxShadow: \"0 20px 50px rgba(0,0,0,0.5)\",\n zIndex: 10,\n }}\n >\n <span style={{ color: \"rgba(255,255,255,0.4)\" }}>↗</span>\n <span>\n <span style={{ color: \"white\" }}>{typedUrl}</span>\n <span style={{ color: \"rgba(255,255,255,0.4)\" }}>\n {suggestion.slice(typedChars)}\n </span>\n </span>\n </div>\n )}\n </div>\n <div style={{ width: 60 }} />\n\n {/* Progress bar */}\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n bottom: 0,\n height: 2,\n opacity: progressOpacity,\n }}\n >\n <div\n style={{\n width: `${progress}%`,\n height: \"100%\",\n background: \"linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%)\",\n boxShadow: \"0 0 8px rgba(96,165,250,0.6)\",\n }}\n />\n </div>\n </div>\n\n {/* Page viewport */}\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n top: chromeHeight,\n bottom: 0,\n overflow: \"hidden\",\n background: \"#0a0a0c\",\n opacity: pageOpacity,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n top: 0,\n transform: `translateY(${-scrollY}px)`,\n willChange: \"transform\",\n }}\n >\n {/* Header */}\n <div\n style={{\n height: 68,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n padding: \"0 60px\",\n borderBottom: \"1px solid rgba(255,255,255,0.05)\",\n }}\n >\n <div\n style={{\n fontWeight: 700,\n fontSize: 18,\n color: \"white\",\n letterSpacing: \"-0.02em\",\n }}\n >\n remocn\n </div>\n <div\n style={{\n display: \"flex\",\n gap: 28,\n fontSize: 14,\n color: \"rgba(255,255,255,0.65)\",\n }}\n >\n <span>Components</span>\n <span>Docs</span>\n <span>GitHub</span>\n </div>\n </div>\n\n {/* Hero */}\n <div\n style={{\n padding: \"100px 60px 80px\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: 24,\n alignItems: \"center\",\n textAlign: \"center\",\n }}\n >\n <div\n style={{\n fontSize: 13,\n color: \"rgba(120,160,255,0.85)\",\n fontWeight: 500,\n letterSpacing: \"0.02em\",\n }}\n >\n shadcn registry for Remotion\n </div>\n <div\n style={{\n fontSize: 64,\n fontWeight: 700,\n letterSpacing: \"-0.04em\",\n color: \"white\",\n lineHeight: 1.05,\n maxWidth: 720,\n }}\n >\n Production-ready video blocks.\n </div>\n <div\n style={{\n fontSize: 17,\n color: \"rgba(255,255,255,0.6)\",\n maxWidth: 520,\n lineHeight: 1.5,\n }}\n >\n Drop-in animations, transitions, and backgrounds for Remotion.\n Own your code.\n </div>\n\n {/* CTA — clicked at the end */}\n <button\n type=\"button\"\n style={{\n marginTop: 12,\n padding: \"16px 32px\",\n borderRadius: 12,\n background: \"white\",\n color: \"#0a0a0c\",\n fontFamily: FONT_FAMILY,\n fontSize: 15,\n fontWeight: 600,\n border: \"none\",\n transform: `scale(${buttonClickScale})`,\n boxShadow:\n frame >= clickFrame\n ? \"0 0 0 6px rgba(255,255,255,0.08)\"\n : \"0 10px 30px rgba(255,255,255,0.1)\",\n willChange: \"transform\",\n }}\n >\n Browse components →\n </button>\n </div>\n\n {/* Sections */}\n {[\n { title: \"Typography\", color: \"#3b82f6\" },\n { title: \"Backgrounds\", color: \"#a855f7\" },\n { title: \"Transitions\", color: \"#22c55e\" },\n ].map((s) => (\n <div\n key={s.title}\n style={{\n margin: \"40px 60px\",\n padding: \"40px\",\n borderRadius: 16,\n background:\n \"linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%)\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n display: \"flex\",\n alignItems: \"center\",\n gap: 28,\n }}\n >\n <div\n style={{\n width: 64,\n height: 64,\n borderRadius: 14,\n background: `${s.color}22`,\n border: `1px solid ${s.color}55`,\n }}\n />\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n gap: 6,\n }}\n >\n <div\n style={{\n fontSize: 22,\n fontWeight: 600,\n color: \"white\",\n letterSpacing: \"-0.02em\",\n }}\n >\n {s.title}\n </div>\n <div\n style={{\n fontSize: 14,\n color: \"rgba(255,255,255,0.55)\",\n }}\n >\n Hand-tuned primitives, copied straight into your project.\n </div>\n </div>\n </div>\n ))}\n </div>\n </div>\n </div>\n\n {/* Virtual cursor */}\n {frame >= pageStart && (\n <div\n style={{\n position: \"absolute\",\n left: cursorX,\n top: cursorY,\n transform: `scale(${cursorClickScale})`,\n transformOrigin: \"top left\",\n zIndex: 9999,\n filter: \"drop-shadow(0 4px 8px rgba(0,0,0,0.5))\",\n willChange: \"transform\",\n }}\n >\n <CursorSVG />\n </div>\n )}\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/browser-flow.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/code-accordion.json b/public/r/code-accordion.json
deleted file mode 100644
index e830f598..00000000
--- a/public/r/code-accordion.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "code-accordion",
- "title": "Code Accordion",
- "description": "A code window that springs a range of lines closed and replaces them with a \"N lines collapsed\" placeholder.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/code-accordion/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface CodeAccordionProps {\n lines?: string[];\n collapseRange?: [number, number];\n collapseAt?: number;\n title?: string;\n fontSize?: number;\n width?: number;\n cardColor?: string;\n textColor?: string;\n mutedColor?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_MONO =\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace\";\n\nconst DEFAULT_LINES = [\n \"export function processOrders(orders) {\",\n \" const valid = [];\",\n \" for (const order of orders) {\",\n \" if (!order.id) continue;\",\n \" if (!order.customer) continue;\",\n \" if (!order.items?.length) continue;\",\n \" if (order.total <= 0) continue;\",\n \" if (order.status === 'cancelled') continue;\",\n \" if (order.status === 'refunded') continue;\",\n \" const enriched = enrich(order);\",\n \" const validated = validate(enriched);\",\n \" if (!validated.ok) continue;\",\n \" const priced = price(validated.value);\",\n \" const taxed = applyTax(priced);\",\n \" const shipped = applyShipping(taxed);\",\n \" valid.push(shipped);\",\n \" }\",\n \" return valid;\",\n \"}\",\n];\n\nexport function CodeAccordion({\n lines = DEFAULT_LINES,\n collapseRange = [3, 14],\n collapseAt = 30,\n title = \"process-orders.ts\",\n fontSize = 16,\n width = 720,\n cardColor = \"#0a0a0a\",\n textColor = \"#e4e4e7\",\n mutedColor = \"#52525b\",\n speed = 1,\n className,\n}: CodeAccordionProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const lineHeight = Math.round(fontSize * 1.55);\n const [start, end] = collapseRange;\n const collapsedCount = Math.max(0, end - start + 1);\n\n // Spring drives BOTH the inner collapse height AND a tiny y-bounce on the\n // window so the accordion feels like it has weight.\n const collapseProgress = spring({\n frame: frame - collapseAt,\n fps,\n config: { damping: 10, stiffness: 110, mass: 1 },\n });\n\n const collapsedHeight = interpolate(\n collapseProgress,\n [0, 1],\n [collapsedCount * lineHeight, lineHeight], // collapses down to the placeholder bar's height\n );\n\n const collapsedOpacity = interpolate(collapseProgress, [0, 0.6], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const placeholderOpacity = interpolate(collapseProgress, [0.4, 1], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const before = lines.slice(0, start);\n const collapsed = lines.slice(start, end + 1);\n const after = lines.slice(end + 1);\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 fontFamily: FONT_MONO,\n }}\n >\n <div\n style={{\n width,\n background: cardColor,\n borderRadius: 14,\n overflow: \"hidden\",\n boxShadow:\n \"0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05)\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n }}\n >\n {/* Chrome */}\n <div\n style={{\n height: 38,\n display: \"flex\",\n alignItems: \"center\",\n gap: 8,\n padding: \"0 14px\",\n borderBottom: \"1px solid rgba(255,255,255,0.05)\",\n }}\n >\n <Light color=\"#ff5f57\" />\n <Light color=\"#febc2e\" />\n <Light color=\"#28c840\" />\n <div\n style={{\n flex: 1,\n textAlign: \"center\",\n color: mutedColor,\n fontSize: 12,\n }}\n >\n {title}\n </div>\n </div>\n\n {/* Code body */}\n <div style={{ padding: \"16px 0\", fontSize, lineHeight: 1.55 }}>\n {before.map((line, i) => (\n <Line\n key={`b-${i}`}\n line={line}\n index={i}\n lineHeight={lineHeight}\n textColor={textColor}\n mutedColor={mutedColor}\n />\n ))}\n\n {/* Collapsing region */}\n <div\n style={{\n position: \"relative\",\n height: collapsedHeight,\n overflow: \"hidden\",\n transition: \"none\",\n }}\n >\n <div style={{ opacity: collapsedOpacity }}>\n {collapsed.map((line, i) => (\n <Line\n key={`c-${i}`}\n line={line}\n index={start + i}\n lineHeight={lineHeight}\n textColor={textColor}\n mutedColor={mutedColor}\n />\n ))}\n </div>\n\n {/* Placeholder bar — sits at the bottom so it sits on the same\n baseline as the collapsed-into row. */}\n <div\n style={{\n position: \"absolute\",\n left: 0,\n right: 0,\n bottom: 0,\n height: lineHeight,\n display: \"flex\",\n alignItems: \"center\",\n paddingLeft: 56,\n color: mutedColor,\n fontStyle: \"italic\",\n opacity: placeholderOpacity,\n }}\n >\n ⋯ {collapsedCount} lines collapsed\n </div>\n </div>\n\n {after.map((line, i) => (\n <Line\n key={`a-${i}`}\n line={line}\n index={end + 1 + i}\n lineHeight={lineHeight}\n textColor={textColor}\n mutedColor={mutedColor}\n />\n ))}\n </div>\n </div>\n </div>\n );\n}\n\nfunction Light({ color }: { color: string }) {\n return (\n <div\n style={{\n width: 11,\n height: 11,\n borderRadius: \"50%\",\n background: color,\n opacity: 0.6,\n }}\n />\n );\n}\n\nfunction Line({\n line,\n index,\n lineHeight,\n textColor,\n mutedColor,\n}: {\n line: string;\n index: number;\n lineHeight: number;\n textColor: string;\n mutedColor: string;\n}) {\n return (\n <div\n style={{\n height: lineHeight,\n display: \"flex\",\n alignItems: \"center\",\n whiteSpace: \"pre\",\n color: textColor,\n }}\n >\n <span\n style={{\n width: 56,\n textAlign: \"right\",\n paddingRight: 16,\n color: mutedColor,\n userSelect: \"none\",\n }}\n >\n {index + 1}\n </span>\n <span>{line}</span>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/code-accordion.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/code-diff-wipe.json b/public/r/code-diff-wipe.json
deleted file mode 100644
index 385edc43..00000000
--- a/public/r/code-diff-wipe.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "code-diff-wipe",
- "title": "Code Diff Wipe",
- "description": "Before/after code reveal via clip-path wipe with a handle marker.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/code-diff-wipe/index.tsx",
- "content": "\"use client\";\n\nimport { Easing, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface CodeDiffWipeProps {\n before?: string;\n after?: string;\n language?: string;\n background?: string;\n accent?: string;\n transitionStart?: number;\n transitionDuration?: number;\n showHandle?: boolean;\n speed?: number;\n className?: string;\n}\n\nconst DEFAULT_BEFORE = `function getUser(id) {\n return fetch('/api/user/' + id)\n .then(function (res) {\n return res.json();\n })\n .then(function (data) {\n if (data.error) {\n throw new Error(data.error);\n }\n return data.user;\n });\n}`;\n\nconst DEFAULT_AFTER = `async function getUser(id: string) {\n const res = await fetch(\\`/api/user/\\${id}\\`);\n const { user, error } = await res.json();\n if (error) throw new Error(error);\n return user;\n}`;\n\nexport function CodeDiffWipe({\n before = DEFAULT_BEFORE,\n after = DEFAULT_AFTER,\n language = \"tsx\",\n background = \"#0a0a0a\",\n accent = \"#0ea5e9\",\n transitionStart = 20,\n transitionDuration = 60,\n showHandle = true,\n speed = 1,\n className,\n}: CodeDiffWipeProps) {\n const frame = useCurrentFrame() * speed;\n\n const progress = interpolate(\n frame,\n [transitionStart, transitionStart + transitionDuration],\n [0, 1],\n {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n easing: Easing.inOut(Easing.cubic),\n },\n );\n\n const wipePercent = progress * 100;\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 background: \"#050505\",\n fontFamily:\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n width: 980,\n height: 560,\n borderRadius: 14,\n overflow: \"hidden\",\n background,\n boxShadow:\n \"0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06)\",\n }}\n >\n {/* AFTER (bottom layer) */}\n <CodePane\n code={after}\n background={background}\n label=\"AFTER\"\n labelColor={accent}\n language={language}\n />\n\n {/* BEFORE (top layer, clipped) */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n clipPath: `inset(0 ${wipePercent}% 0 0)`,\n }}\n >\n <CodePane\n code={before}\n background={background}\n label=\"BEFORE\"\n labelColor=\"#ef4444\"\n language={language}\n dimmed\n />\n </div>\n\n {/* Handle */}\n {showHandle && wipePercent > 0 && wipePercent < 100 && (\n <div\n style={{\n position: \"absolute\",\n top: 0,\n bottom: 0,\n left: `${wipePercent}%`,\n width: 2,\n background: accent,\n transform: \"translateX(-1px)\",\n boxShadow: `0 0 24px ${accent}`,\n }}\n >\n <div\n style={{\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\",\n width: 40,\n height: 40,\n borderRadius: \"50%\",\n background: accent,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"#0a0a0a\",\n fontSize: 18,\n fontWeight: 700,\n boxShadow: `0 0 32px ${accent}aa`,\n }}\n >\n {\"<>\"}\n </div>\n </div>\n )}\n </div>\n </div>\n );\n}\n\nfunction CodePane({\n code,\n background,\n label,\n labelColor,\n language,\n dimmed,\n}: {\n code: string;\n background: string;\n label: string;\n labelColor: string;\n language: string;\n dimmed?: boolean;\n}) {\n const lines = code.split(\"\\n\");\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background,\n display: \"flex\",\n flexDirection: \"column\",\n }}\n >\n {/* Header */}\n <div\n style={{\n height: 44,\n padding: \"0 18px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n borderBottom: \"1px solid rgba(255,255,255,0.06)\",\n background: \"rgba(255,255,255,0.02)\",\n }}\n >\n <div\n style={{\n color: \"#71717a\",\n fontSize: 13,\n fontFamily:\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace\",\n }}\n >\n {language}\n </div>\n <div\n style={{\n fontSize: 11,\n fontWeight: 700,\n letterSpacing: \"0.12em\",\n color: labelColor,\n padding: \"4px 10px\",\n borderRadius: 999,\n background: `${labelColor}1a`,\n border: `1px solid ${labelColor}55`,\n }}\n >\n {label}\n </div>\n </div>\n\n {/* Code */}\n <pre\n style={{\n flex: 1,\n margin: 0,\n padding: 24,\n color: dimmed ? \"#71717a\" : \"#e4e4e7\",\n fontSize: 16,\n lineHeight: 1.6,\n fontFamily:\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace\",\n overflow: \"hidden\",\n whiteSpace: \"pre\",\n }}\n >\n {lines.map((line, i) => (\n <div key={i} style={{ display: \"flex\" }}>\n <span\n style={{\n width: 32,\n textAlign: \"right\",\n marginRight: 16,\n color: \"#3f3f46\",\n userSelect: \"none\",\n }}\n >\n {i + 1}\n </span>\n <span>{line || \" \"}</span>\n </div>\n ))}\n </pre>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/code-diff-wipe.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/dashboard-populate.json b/public/r/dashboard-populate.json
deleted file mode 100644
index 4aa88da9..00000000
--- a/public/r/dashboard-populate.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "dashboard-populate",
- "title": "Dashboard Populate",
- "description": "An empty dashboard cascades to life with KPI count-ups, bar bounces, line traces, and a donut fill.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/dashboard-populate/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface DashboardPopulateProps {\n accentColor?: string;\n kpiTarget?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\nconst MONO_FAMILY =\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace\";\n\nconst STRUCTURE_END = 15;\n\nfunction formatNumber(n: number) {\n return n.toLocaleString(\"en-US\");\n}\n\nconst BAR_VALUES = [0.55, 0.78, 0.42, 0.92, 0.66];\n\n// Hand-coded line chart points (in 0..100 viewBox space)\nconst LINE_POINTS: Array<[number, number]> = [\n [0, 70],\n [16, 55],\n [32, 62],\n [48, 38],\n [64, 45],\n [80, 22],\n [100, 12],\n];\n\nfunction buildLinePath() {\n return LINE_POINTS.map(([x, y], i) => `${i === 0 ? \"M\" : \"L\"}${x},${y}`).join(\n \" \",\n );\n}\n\nfunction Tile({\n title,\n children,\n structureOpacity,\n}: {\n title: string;\n children: React.ReactNode;\n structureOpacity: number;\n}) {\n return (\n <div\n style={{\n position: \"relative\",\n background: \"linear-gradient(180deg, #131316 0%, #0d0d10 100%)\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n borderRadius: 16,\n padding: 24,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16,\n opacity: structureOpacity,\n boxShadow:\n \"inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.3)\",\n }}\n >\n <div\n style={{\n fontSize: 12,\n fontWeight: 500,\n textTransform: \"uppercase\",\n letterSpacing: \"0.08em\",\n color: \"rgba(255,255,255,0.5)\",\n }}\n >\n {title}\n </div>\n <div style={{ flex: 1, position: \"relative\" }}>{children}</div>\n </div>\n );\n}\n\nexport function DashboardPopulate({\n accentColor = \"#22c55e\",\n kpiTarget = 128400,\n speed = 1,\n className,\n}: DashboardPopulateProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n // Phase 1: structure fade in 0..15\n const structureOpacity = interpolate(frame, [0, STRUCTURE_END], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n // KPI count up\n const kpiSpring = spring({\n frame: frame - STRUCTURE_END,\n fps,\n config: { damping: 20, stiffness: 80, mass: 1 },\n durationInFrames: 60,\n });\n const kpiValue = Math.floor(kpiSpring * kpiTarget);\n const kpiDelta = interpolate(kpiSpring, [0, 1], [0, 12.4]);\n\n // Bar chart springs (staggered)\n const barProgress = BAR_VALUES.map((_, i) =>\n spring({\n frame: frame - STRUCTURE_END - i * 4,\n fps,\n config: { damping: 11, stiffness: 140, mass: 1 },\n durationInFrames: 40,\n }),\n );\n\n // Line chart stroke-dashoffset\n const linePath = buildLinePath();\n // approx length for viewBox 100x100 — use a generous constant; we set\n // pathLength on the path so dashoffset works in normalized units\n const lineProgress = interpolate(\n frame,\n [STRUCTURE_END + 4, STRUCTURE_END + 50],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n // Donut\n const donutTarget = 0.72;\n const donutSpring = spring({\n frame: frame - STRUCTURE_END - 6,\n fps,\n config: { damping: 13, stiffness: 110, mass: 1 },\n durationInFrames: 50,\n });\n const donutValue = donutSpring * donutTarget;\n const donutR = 70;\n const donutCircum = 2 * Math.PI * donutR;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"transparent\",\n fontFamily: FONT_FAMILY,\n color: \"white\",\n padding: 64,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 24,\n overflow: \"hidden\",\n }}\n >\n {/* Subtle grid bg */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n backgroundImage:\n \"linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px)\",\n backgroundSize: \"48px 48px\",\n }}\n />\n <div\n style={{\n position: \"relative\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n opacity: structureOpacity,\n }}\n >\n <div>\n <div\n style={{\n fontSize: 28,\n fontWeight: 600,\n letterSpacing: \"-0.02em\",\n }}\n >\n Overview\n </div>\n <div\n style={{\n fontSize: 14,\n opacity: 0.5,\n marginTop: 4,\n }}\n >\n Last 30 days\n </div>\n </div>\n <div\n style={{\n display: \"flex\",\n gap: 8,\n fontSize: 12,\n fontFamily: MONO_FAMILY,\n }}\n >\n {[\"1D\", \"7D\", \"30D\", \"ALL\"].map((l, i) => (\n <div\n key={l}\n style={{\n padding: \"6px 12px\",\n borderRadius: 8,\n background:\n i === 2 ? \"rgba(255,255,255,0.1)\" : \"rgba(255,255,255,0.03)\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n }}\n >\n {l}\n </div>\n ))}\n </div>\n </div>\n\n <div\n style={{\n position: \"relative\",\n flex: 1,\n display: \"grid\",\n gridTemplateColumns: \"1fr 1fr\",\n gridTemplateRows: \"1fr 1fr\",\n gap: 24,\n }}\n >\n {/* KPI */}\n <Tile title=\"Revenue\" structureOpacity={structureOpacity}>\n <div\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n gap: 12,\n height: \"100%\",\n justifyContent: \"center\",\n }}\n >\n <div\n style={{\n fontSize: 64,\n fontWeight: 700,\n letterSpacing: \"-0.04em\",\n fontVariantNumeric: \"tabular-nums\",\n fontFamily: MONO_FAMILY,\n }}\n >\n ${formatNumber(kpiValue)}\n </div>\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 8,\n fontSize: 14,\n color: accentColor,\n }}\n >\n <span style={{ fontWeight: 600 }}>+{kpiDelta.toFixed(1)}%</span>\n <span style={{ opacity: 0.5, color: \"white\" }}>\n vs last month\n </span>\n </div>\n </div>\n </Tile>\n\n {/* Bar chart */}\n <Tile title=\"Sessions\" structureOpacity={structureOpacity}>\n <svg\n viewBox=\"0 0 200 100\"\n preserveAspectRatio=\"none\"\n style={{ width: \"100%\", height: \"100%\" }}\n >\n {/* axes */}\n <line\n x1=\"0\"\n y1=\"100\"\n x2=\"200\"\n y2=\"100\"\n stroke=\"rgba(255,255,255,0.15)\"\n strokeWidth=\"0.5\"\n />\n {[25, 50, 75].map((y) => (\n <line\n key={y}\n x1=\"0\"\n y1={y}\n x2=\"200\"\n y2={y}\n stroke=\"rgba(255,255,255,0.06)\"\n strokeWidth=\"0.5\"\n strokeDasharray=\"2 2\"\n />\n ))}\n {BAR_VALUES.map((v, i) => {\n const barH = v * 90 * barProgress[i];\n const barW = 24;\n const x = 16 + i * 36;\n const y = 100 - barH;\n return (\n <rect\n key={i}\n x={x}\n y={y}\n width={barW}\n height={barH}\n rx={3}\n fill={accentColor}\n opacity={0.85}\n />\n );\n })}\n </svg>\n </Tile>\n\n {/* Line chart */}\n <Tile title=\"Active users\" structureOpacity={structureOpacity}>\n <svg\n viewBox=\"0 0 100 100\"\n preserveAspectRatio=\"none\"\n style={{ width: \"100%\", height: \"100%\" }}\n >\n <line\n x1=\"0\"\n y1=\"100\"\n x2=\"100\"\n y2=\"100\"\n stroke=\"rgba(255,255,255,0.15)\"\n strokeWidth=\"0.4\"\n />\n {[20, 40, 60, 80].map((y) => (\n <line\n key={y}\n x1=\"0\"\n y1={y}\n x2=\"100\"\n y2={y}\n stroke=\"rgba(255,255,255,0.06)\"\n strokeWidth=\"0.4\"\n strokeDasharray=\"1.5 1.5\"\n />\n ))}\n <path\n d={linePath}\n fill=\"none\"\n stroke={accentColor}\n strokeWidth=\"1.6\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n pathLength={1}\n strokeDasharray={1}\n strokeDashoffset={1 - lineProgress}\n />\n {/* dots */}\n {LINE_POINTS.map(([px, py], i) => {\n const dotProgress = interpolate(\n lineProgress,\n [\n i / (LINE_POINTS.length - 1),\n i / (LINE_POINTS.length - 1) + 0.05,\n ],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n return (\n <circle\n key={i}\n cx={px}\n cy={py}\n r={1.2}\n fill={accentColor}\n opacity={dotProgress}\n />\n );\n })}\n </svg>\n </Tile>\n\n {/* Donut */}\n <Tile title=\"Conversion\" structureOpacity={structureOpacity}>\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n height: \"100%\",\n position: \"relative\",\n }}\n >\n <svg width=\"180\" height=\"180\" viewBox=\"0 0 180 180\">\n <circle\n cx=\"90\"\n cy=\"90\"\n r={donutR}\n fill=\"none\"\n stroke=\"rgba(255,255,255,0.08)\"\n strokeWidth=\"14\"\n />\n <circle\n cx=\"90\"\n cy=\"90\"\n r={donutR}\n fill=\"none\"\n stroke={accentColor}\n strokeWidth=\"14\"\n strokeLinecap=\"round\"\n strokeDasharray={`${donutCircum * donutValue} ${donutCircum}`}\n transform=\"rotate(-90 90 90)\"\n />\n </svg>\n <div\n style={{\n position: \"absolute\",\n fontSize: 36,\n fontWeight: 700,\n letterSpacing: \"-0.02em\",\n fontFamily: MONO_FAMILY,\n fontVariantNumeric: \"tabular-nums\",\n }}\n >\n {(donutValue * 100).toFixed(1)}%\n </div>\n </div>\n </Tile>\n </div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/dashboard-populate.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/device-mockup-zoom.json b/public/r/device-mockup-zoom.json
deleted file mode 100644
index 71999a15..00000000
--- a/public/r/device-mockup-zoom.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "device-mockup-zoom",
- "title": "Device Mockup Zoom",
- "description": "Pull back from a UI to reveal it inside a device frame.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/device-mockup-zoom/index.tsx",
- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface DeviceMockupZoomProps {\n children?: ReactNode;\n device?: \"laptop\" | \"phone\";\n frameColor?: string;\n screenColor?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultScreen() {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"linear-gradient(135deg, #0ea5e9 0%, #9333ea 100%)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"white\",\n fontFamily: FONT_FAMILY,\n fontSize: 32,\n fontWeight: 700,\n letterSpacing: \"-0.03em\",\n }}\n >\n Your UI\n </div>\n );\n}\n\nexport function DeviceMockupZoom({\n children,\n device = \"laptop\",\n frameColor = \"#1f1f1f\",\n screenColor = \"#0a0a0a\",\n speed = 1,\n className,\n}: DeviceMockupZoomProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n const scale = interpolate(frame, [0, durationInFrames], [2, 1], {\n extrapolateRight: \"clamp\",\n easing: Easing.bezier(0.22, 1, 0.36, 1),\n });\n\n const screen = children ?? <DefaultScreen />;\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 }}\n >\n <div\n style={{\n transform: `scale(${scale})`,\n transformOrigin: \"center center\",\n willChange: \"transform\",\n }}\n >\n {device === \"laptop\" ? (\n <div style={{ position: \"relative\" }}>\n {/* Screen body */}\n <div\n style={{\n width: 720,\n height: 440,\n background: frameColor,\n borderRadius: 16,\n padding: 16,\n boxShadow: \"0 30px 80px rgba(0,0,0,0.25)\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n background: screenColor,\n borderRadius: 6,\n overflow: \"hidden\",\n }}\n >\n {screen}\n </div>\n </div>\n {/* Base */}\n <div\n style={{\n width: 820,\n height: 18,\n background: frameColor,\n borderBottomLeftRadius: 14,\n borderBottomRightRadius: 14,\n marginLeft: -50,\n marginTop: -2,\n boxShadow: \"0 10px 24px rgba(0,0,0,0.18)\",\n }}\n />\n <div\n style={{\n width: 120,\n height: 6,\n background: \"#0a0a0a\",\n marginLeft: \"auto\",\n marginRight: \"auto\",\n borderBottomLeftRadius: 8,\n borderBottomRightRadius: 8,\n marginTop: -1,\n }}\n />\n </div>\n ) : (\n <div\n style={{\n width: 280,\n height: 560,\n background: frameColor,\n borderRadius: 44,\n padding: 14,\n boxShadow: \"0 30px 80px rgba(0,0,0,0.25)\",\n position: \"relative\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n background: screenColor,\n borderRadius: 32,\n overflow: \"hidden\",\n }}\n >\n {screen}\n </div>\n <div\n style={{\n position: \"absolute\",\n top: 22,\n left: \"50%\",\n transform: \"translateX(-50%)\",\n width: 90,\n height: 22,\n background: \"#0a0a0a\",\n borderRadius: 14,\n }}\n />\n </div>\n )}\n </div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/device-mockup-zoom.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/drag-and-drop-flow.json b/public/r/drag-and-drop-flow.json
deleted file mode 100644
index 4b55e65f..00000000
--- a/public/r/drag-and-drop-flow.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "drag-and-drop-flow",
- "title": "Drag and Drop Flow",
- "description": "Simulated file drag into a dropzone followed by upload progress.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/drag-and-drop-flow/index.tsx",
- "content": "\"use client\";\n\nimport {\n Easing,\n interpolate,\n interpolateColors,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface DragAndDropFlowProps {\n accent?: string;\n dropzoneLabel?: string;\n fileName?: string;\n speed?: number;\n className?: string;\n}\n\nfunction FileIcon({ color }: { color: string }) {\n return (\n <svg width=\"44\" height=\"56\" viewBox=\"0 0 44 56\" fill=\"none\">\n <path\n d=\"M6 4a4 4 0 014-4h18l12 12v40a4 4 0 01-4 4H10a4 4 0 01-4-4V4z\"\n fill=\"white\"\n stroke={color}\n strokeWidth=\"2\"\n />\n <path\n d=\"M28 0v8a4 4 0 004 4h8\"\n stroke={color}\n strokeWidth=\"2\"\n fill=\"none\"\n />\n <rect\n x=\"12\"\n y=\"22\"\n width=\"20\"\n height=\"2\"\n rx=\"1\"\n fill={color}\n opacity=\"0.5\"\n />\n <rect\n x=\"12\"\n y=\"28\"\n width=\"16\"\n height=\"2\"\n rx=\"1\"\n fill={color}\n opacity=\"0.5\"\n />\n <rect\n x=\"12\"\n y=\"34\"\n width=\"18\"\n height=\"2\"\n rx=\"1\"\n fill={color}\n opacity=\"0.5\"\n />\n </svg>\n );\n}\n\nexport function DragAndDropFlow({\n accent = \"#0ea5e9\",\n dropzoneLabel = \"Drop file to upload\",\n fileName = \"design.fig\",\n speed = 1,\n className,\n}: DragAndDropFlowProps) {\n const frame = useCurrentFrame() * speed;\n const { durationInFrames } = useVideoConfig();\n\n // Phase split\n const dragEnd = Math.round(durationInFrames * 0.45);\n const highlightEnd = Math.round(durationInFrames * 0.55);\n const progressEnd = durationInFrames;\n\n // Phase 1: file moves from start to center of dropzone\n const dragProgress = interpolate(frame, [0, dragEnd], [0, 1], {\n extrapolateRight: \"clamp\",\n easing: Easing.out(Easing.cubic),\n });\n\n const startX = -220;\n const startY = -120;\n const fileX = interpolate(dragProgress, [0, 1], [startX, 0]);\n const fileY = interpolate(dragProgress, [0, 1], [startY, 0]);\n\n // Phase 2: dropzone border highlights as file approaches\n const borderColor = interpolateColors(\n frame,\n [dragEnd - 10, highlightEnd],\n [\"#d4d4d8\", accent],\n );\n\n // Phase 3: file fades, progress bar grows\n const fileOpacity = interpolate(\n frame,\n [highlightEnd - 4, highlightEnd + 8],\n [1, 0],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const progressOpacity = interpolate(\n frame,\n [highlightEnd, highlightEnd + 6],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const progress = interpolate(\n frame,\n [highlightEnd, progressEnd - 4],\n [0, 100],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const dropzoneWidth = 420;\n const dropzoneHeight = 260;\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 fontFamily:\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\",\n }}\n >\n <div\n style={{\n position: \"relative\",\n width: dropzoneWidth,\n height: dropzoneHeight,\n borderRadius: 18,\n border: `2.5px dashed ${borderColor}`,\n background: \"white\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n flexDirection: \"column\",\n gap: 14,\n color: \"#71717a\",\n fontSize: 16,\n fontWeight: 500,\n transition: \"none\",\n }}\n >\n <svg width=\"36\" height=\"36\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path\n d=\"M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M17 8l-5-5-5 5M12 3v12\"\n stroke={borderColor}\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n <span>{dropzoneLabel}</span>\n\n {/* Progress bar (after drop) */}\n <div\n style={{\n position: \"absolute\",\n left: 32,\n right: 32,\n bottom: 32,\n opacity: progressOpacity,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 8,\n }}\n >\n <div\n style={{\n display: \"flex\",\n justifyContent: \"space-between\",\n fontSize: 13,\n color: \"#52525b\",\n }}\n >\n <span>{fileName}</span>\n <span>{Math.round(progress)}%</span>\n </div>\n <div\n style={{\n height: 6,\n borderRadius: 999,\n background: \"#e4e4e7\",\n overflow: \"hidden\",\n }}\n >\n <div\n style={{\n width: `${progress}%`,\n height: \"100%\",\n background: accent,\n borderRadius: 999,\n }}\n />\n </div>\n </div>\n </div>\n\n {/* Animated file icon that moves into the dropzone */}\n <div\n style={{\n position: \"absolute\",\n left: \"50%\",\n top: \"50%\",\n marginLeft: -22,\n marginTop: -28,\n transform: `translate(${fileX}px, ${fileY}px)`,\n opacity: fileOpacity,\n filter: \"drop-shadow(0 8px 16px rgba(0,0,0,0.15))\",\n }}\n >\n <FileIcon color={accent} />\n </div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/drag-and-drop-flow.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/hero-device-assemble.json b/public/r/hero-device-assemble.json
deleted file mode 100644
index 4181dffa..00000000
--- a/public/r/hero-device-assemble.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "hero-device-assemble",
- "title": "Hero Device Assemble",
- "description": "Floating device layers spring together into a laptop or phone mockup, then the screen wakes with a shimmer.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/hero-device-assemble/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface HeroDeviceAssembleProps {\n assembleStart?: number;\n device?: \"laptop\" | \"phone\";\n accentColor?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction MockUI({ accentColor }: { accentColor: string }) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n flexDirection: \"column\",\n background: \"#0b0b0f\",\n fontFamily: FONT_FAMILY,\n color: \"white\",\n overflow: \"hidden\",\n }}\n >\n {/* Title bar */}\n <div\n style={{\n height: \"10%\",\n background: \"#111118\",\n borderBottom: \"1px solid rgba(255,255,255,0.06)\",\n display: \"flex\",\n alignItems: \"center\",\n padding: \"0 16px\",\n gap: 8,\n }}\n >\n <div\n style={{\n width: 10,\n height: 10,\n borderRadius: \"50%\",\n background: \"rgba(255,255,255,0.18)\",\n }}\n />\n <div\n style={{\n width: 10,\n height: 10,\n borderRadius: \"50%\",\n background: \"rgba(255,255,255,0.18)\",\n }}\n />\n <div\n style={{\n width: 10,\n height: 10,\n borderRadius: \"50%\",\n background: \"rgba(255,255,255,0.18)\",\n }}\n />\n </div>\n <div style={{ flex: 1, display: \"flex\" }}>\n {/* Sidebar */}\n <div\n style={{\n width: \"22%\",\n background: \"#0e0e14\",\n borderRight: \"1px solid rgba(255,255,255,0.05)\",\n padding: 16,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 10,\n }}\n >\n <div\n style={{\n height: 12,\n borderRadius: 4,\n background: accentColor,\n opacity: 0.85,\n width: \"70%\",\n }}\n />\n <div\n style={{\n height: 10,\n borderRadius: 4,\n background: \"rgba(255,255,255,0.1)\",\n width: \"85%\",\n }}\n />\n <div\n style={{\n height: 10,\n borderRadius: 4,\n background: \"rgba(255,255,255,0.08)\",\n width: \"60%\",\n }}\n />\n <div\n style={{\n height: 10,\n borderRadius: 4,\n background: \"rgba(255,255,255,0.08)\",\n width: \"75%\",\n }}\n />\n </div>\n {/* Content */}\n <div\n style={{\n flex: 1,\n padding: 24,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16,\n }}\n >\n <div\n style={{\n height: 18,\n width: \"40%\",\n background: \"rgba(255,255,255,0.85)\",\n borderRadius: 4,\n }}\n />\n <div\n style={{\n height: 10,\n width: \"65%\",\n background: \"rgba(255,255,255,0.18)\",\n borderRadius: 4,\n }}\n />\n <div\n style={{\n display: \"grid\",\n gridTemplateColumns: \"1fr 1fr 1fr\",\n gap: 12,\n marginTop: 12,\n }}\n >\n <div\n style={{\n height: 90,\n borderRadius: 8,\n background:\n \"linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02))\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n }}\n />\n <div\n style={{\n height: 90,\n borderRadius: 8,\n background: `linear-gradient(180deg, ${accentColor}33, ${accentColor}11)`,\n border: `1px solid ${accentColor}55`,\n }}\n />\n <div\n style={{\n height: 90,\n borderRadius: 8,\n background:\n \"linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02))\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n }}\n />\n </div>\n <div\n style={{\n flex: 1,\n borderRadius: 8,\n background:\n \"linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01))\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n }}\n />\n </div>\n </div>\n </div>\n );\n}\n\nexport function HeroDeviceAssemble({\n assembleStart = 0,\n device = \"laptop\",\n accentColor = \"#22c55e\",\n speed = 1,\n className,\n}: HeroDeviceAssembleProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const assemble = spring({\n frame: frame - assembleStart,\n fps,\n config: { mass: 1.4, damping: 12, stiffness: 90 },\n durationInFrames: 60,\n });\n\n // Layer translateZ values from far -> 0\n const lidZ = interpolate(assemble, [0, 1], [1000, 0]);\n const baseZ = interpolate(assemble, [0, 1], [-800, 0]);\n const bezelZ = interpolate(assemble, [0, 1], [600, 0]);\n const screenZ = interpolate(assemble, [0, 1], [300, 0]);\n\n // Parent rotation easing to 0\n const rotX = interpolate(assemble, [0, 1], [-22, 0]);\n const rotY = interpolate(assemble, [0, 1], [28, 0]);\n\n // Layer opacity fade in slightly during assembly\n const layerOpacity = interpolate(assemble, [0, 0.4], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n // Settle frame: after assemble ~ 0.95\n const settleFrame = assembleStart + 45;\n const screenWake = interpolate(\n frame,\n [settleFrame, settleFrame + 18],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n // Shimmer sweep across screen (after wake)\n const shimmerProgress = interpolate(\n frame,\n [settleFrame + 6, settleFrame + 30],\n [-1, 2],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const isPhone = device === \"phone\";\n\n // Device dimensions\n const deviceW = isPhone ? 320 : 760;\n const deviceH = isPhone ? 640 : 470;\n const screenInset = isPhone ? 12 : 18;\n const bezelRadius = isPhone ? 36 : 14;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"transparent\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n perspective: 2000,\n fontFamily: FONT_FAMILY,\n }}\n >\n <div\n style={{\n position: \"relative\",\n width: deviceW,\n height: deviceH,\n transformStyle: \"preserve-3d\",\n transform: `rotateX(${rotX}deg) rotateY(${rotY}deg)`,\n willChange: \"transform\",\n }}\n >\n {/* Back lid (laptop only — for phone, acts as the back shell) */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: `translateZ(${lidZ - 8}px)`,\n background: \"linear-gradient(180deg, #1f2128 0%, #0e1014 100%)\",\n borderRadius: bezelRadius + 4,\n border: \"1px solid rgba(255,255,255,0.08)\",\n boxShadow:\n \"0 60px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06)\",\n opacity: layerOpacity,\n }}\n />\n\n {/* Keyboard / chassis base — laptop only */}\n {!isPhone && (\n <div\n style={{\n position: \"absolute\",\n left: -40,\n right: -40,\n bottom: -28,\n height: 28,\n transform: `translateZ(${baseZ}px) rotateX(78deg)`,\n transformOrigin: \"top center\",\n background: \"linear-gradient(180deg, #2a2d36 0%, #14161c 100%)\",\n borderRadius: \"0 0 12px 12px\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n boxShadow: \"0 30px 60px rgba(0,0,0,0.6)\",\n opacity: layerOpacity,\n }}\n />\n )}\n\n {/* Bezel frame */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n transform: `translateZ(${bezelZ}px)`,\n background: \"#0a0a0d\",\n borderRadius: bezelRadius,\n border: \"1px solid rgba(255,255,255,0.12)\",\n boxShadow:\n \"inset 0 0 0 2px rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.5)\",\n opacity: layerOpacity,\n }}\n />\n\n {/* UI screen */}\n <div\n style={{\n position: \"absolute\",\n inset: screenInset,\n transform: `translateZ(${screenZ}px)`,\n borderRadius: bezelRadius - 6,\n overflow: \"hidden\",\n background: \"black\",\n opacity: layerOpacity,\n }}\n >\n {/* Black panel during flight */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"#000\",\n opacity: 1 - screenWake,\n }}\n />\n {/* UI fades in */}\n <div style={{ position: \"absolute\", inset: 0, opacity: screenWake }}>\n <MockUI accentColor={accentColor} />\n </div>\n {/* Shimmer sweep */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: `linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%)`,\n transform: `translateX(${shimmerProgress * 100}%)`,\n mixBlendMode: \"screen\",\n pointerEvents: \"none\",\n }}\n />\n </div>\n </div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/hero-device-assemble.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/image-expand-to-fullscreen.json b/public/r/image-expand-to-fullscreen.json
deleted file mode 100644
index cf4ee95b..00000000
--- a/public/r/image-expand-to-fullscreen.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "image-expand-to-fullscreen",
- "title": "Image Expand To Fullscreen",
- "description": "An image lifts out of a feed post and morphs into a fullscreen editor with toolbars sliding in.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/image-expand-to-fullscreen/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface ImageExpandRect {\n top: number;\n left: number;\n width: number;\n height: number;\n}\n\nexport interface ImageExpandToFullscreenProps {\n from?: ImageExpandRect;\n to?: ImageExpandRect;\n borderRadiusFrom?: number;\n borderRadiusTo?: number;\n morphAt?: number;\n imageColorA?: string;\n imageColorB?: string;\n imageColorC?: string;\n feedBackground?: string;\n editorBackground?: string;\n accent?: string;\n postAuthor?: string;\n postBody?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nconst VIEWPORT_W = 1280;\nconst VIEWPORT_H = 720;\n\nconst DEFAULT_FROM: ImageExpandRect = {\n left: 460,\n top: 280,\n width: 360,\n height: 200,\n};\n\nconst DEFAULT_TO: ImageExpandRect = {\n left: 200,\n top: 120,\n width: 880,\n height: 480,\n};\n\nexport function ImageExpandToFullscreen({\n from = DEFAULT_FROM,\n to = DEFAULT_TO,\n borderRadiusFrom = 12,\n borderRadiusTo = 16,\n morphAt = 30,\n imageColorA = \"#ff6b6b\",\n imageColorB = \"#845ec2\",\n imageColorC = \"#4d8dff\",\n feedBackground = \"#f4f4f5\",\n editorBackground = \"#0a0a0a\",\n accent = \"#fafafa\",\n postAuthor = \"Maya Larsson\",\n postBody = \"Sunset over the old harbor — color graded straight out of camera.\",\n speed = 1,\n className,\n}: ImageExpandToFullscreenProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n // ONE spring drives the entire shared-element transition. Slightly more\n // critically damped than the morphing modal — the image lands with a\n // tight settle rather than a heavy bloom.\n const morph = spring({\n frame: frame - morphAt,\n fps,\n config: { mass: 1.4, damping: 24, stiffness: 130 },\n });\n\n const left = interpolate(morph, [0, 1], [from.left, to.left]);\n const top = interpolate(morph, [0, 1], [from.top, to.top]);\n const width = interpolate(morph, [0, 1], [from.width, to.width]);\n const height = interpolate(morph, [0, 1], [from.height, to.height]);\n const radius = interpolate(morph, [0, 1], [borderRadiusFrom, borderRadiusTo]);\n\n // Feed UI fades fully out in the FIRST half of the morph; the dark\n // editor background fades in across the same window.\n const feedOpacity = interpolate(morph, [0, 0.5], [1, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const editorOpacity = interpolate(morph, [0, 0.5], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n // Toolbars slide in during the LAST third of the morph — they should\n // feel called in by the image landing at fullscreen.\n const toolbarOpacity = interpolate(morph, [0.5, 1], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const topToolbarTy = interpolate(morph, [0.5, 1], [-100, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const bottomToolbarTy = interpolate(morph, [0.5, 1], [100, 0], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n const imageGradient = `linear-gradient(135deg, ${imageColorA}, ${imageColorB}, ${imageColorC})`;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n fontFamily: FONT_FAMILY,\n }}\n >\n {/* Feed background (light page) */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: feedBackground,\n opacity: feedOpacity,\n }}\n />\n\n {/* Editor background (dark canvas) */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background: editorBackground,\n opacity: editorOpacity,\n }}\n />\n\n {/* Fake post card living on the feed */}\n <div\n style={{\n position: \"absolute\",\n left: 380,\n top: 140,\n width: 520,\n padding: 24,\n background: \"#ffffff\",\n borderRadius: 20,\n boxShadow: \"0 30px 80px rgba(15, 15, 25, 0.08)\",\n opacity: feedOpacity,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 16,\n }}\n >\n {/* Author row */}\n <div style={{ display: \"flex\", alignItems: \"center\", gap: 12 }}>\n <div\n style={{\n width: 44,\n height: 44,\n borderRadius: 999,\n background: imageGradient,\n }}\n />\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 2 }}>\n <div\n style={{\n fontSize: 15,\n fontWeight: 600,\n color: \"#0a0a0a\",\n letterSpacing: \"-0.005em\",\n }}\n >\n {postAuthor}\n </div>\n <div style={{ fontSize: 12, color: \"#71717a\" }}>2h ago</div>\n </div>\n </div>\n\n {/* Body text */}\n <div\n style={{\n fontSize: 14,\n lineHeight: 1.5,\n color: \"#27272a\",\n }}\n >\n {postBody}\n </div>\n\n {/* Spacer where the thumbnail visually lives — the actual\n morphing image is rendered absolutely below so it can lift\n cleanly off the card. */}\n <div\n style={{\n width: \"100%\",\n height: 200,\n borderRadius: 12,\n background: \"transparent\",\n }}\n />\n\n {/* Action row */}\n <div style={{ display: \"flex\", gap: 16 }}>\n {[0, 1, 2].map((i) => (\n <div\n key={i}\n style={{\n width: 28,\n height: 28,\n borderRadius: 8,\n background: \"#f4f4f5\",\n }}\n />\n ))}\n </div>\n </div>\n\n {/* The morphing image — driven entirely by the single spring */}\n <div\n style={{\n position: \"absolute\",\n left,\n top,\n width,\n height,\n borderRadius: radius,\n background: imageGradient,\n boxShadow:\n \"0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06)\",\n overflow: \"hidden\",\n }}\n />\n\n {/* Top toolbar */}\n <div\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n right: 0,\n height: 64,\n padding: \"0 24px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n background: \"rgba(15, 15, 18, 0.6)\",\n backdropFilter: \"blur(20px)\",\n WebkitBackdropFilter: \"blur(20px)\",\n borderBottom: \"1px solid rgba(255, 255, 255, 0.06)\",\n opacity: toolbarOpacity,\n transform: `translateY(${topToolbarTy}%)`,\n }}\n >\n <div style={{ display: \"flex\", alignItems: \"center\", gap: 12 }}>\n <div\n style={{\n width: 32,\n height: 32,\n borderRadius: 8,\n background: \"rgba(255, 255, 255, 0.08)\",\n }}\n />\n <div\n style={{\n fontSize: 14,\n fontWeight: 500,\n color: accent,\n letterSpacing: \"-0.005em\",\n }}\n >\n Editor\n </div>\n </div>\n <div style={{ display: \"flex\", gap: 10 }}>\n {[0, 1, 2, 3].map((i) => (\n <div\n key={i}\n style={{\n width: 32,\n height: 32,\n borderRadius: 8,\n background: \"rgba(255, 255, 255, 0.06)\",\n }}\n />\n ))}\n </div>\n </div>\n\n {/* Bottom toolbar */}\n <div\n style={{\n position: \"absolute\",\n bottom: 0,\n left: 0,\n right: 0,\n height: 80,\n padding: \"0 24px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: 14,\n background: \"rgba(15, 15, 18, 0.6)\",\n backdropFilter: \"blur(20px)\",\n WebkitBackdropFilter: \"blur(20px)\",\n borderTop: \"1px solid rgba(255, 255, 255, 0.06)\",\n opacity: toolbarOpacity,\n transform: `translateY(${bottomToolbarTy}%)`,\n }}\n >\n {[0, 1, 2, 3, 4, 5].map((i) => (\n <div\n key={i}\n style={{\n width: 44,\n height: 44,\n borderRadius: 12,\n background:\n i === 2\n ? accent\n : \"rgba(255, 255, 255, 0.06)\",\n border: \"1px solid rgba(255, 255, 255, 0.08)\",\n }}\n />\n ))}\n </div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/image-expand-to-fullscreen.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/landing-code-showcase.json b/public/r/landing-code-showcase.json
deleted file mode 100644
index cbe27785..00000000
--- a/public/r/landing-code-showcase.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "landing-code-showcase",
- "title": "Landing Code Showcase",
- "description": "Magical split-screen: code types itself on the left while the preview reactively re-renders on the right with sparks and tactile bounce.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/landing-code-showcase/index.tsx",
- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport {\n AbsoluteFill,\n Freeze,\n interpolate,\n Sequence,\n spring,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\nimport { DashboardPopulate } from \"@/registry/remocn/dashboard-populate\";\nimport { FrostedGlassWipe } from \"@/registry/remocn/frosted-glass-wipe\";\nimport { SpatialPush } from \"@/registry/remocn/spatial-push\";\nimport { TerminalToBrowserDeploy } from \"@/registry/remocn/terminal-to-browser-deploy\";\n\nexport interface LandingCodeShowcaseProps {\n accentColor?: string;\n speed?: number;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\nconst MONO_FAMILY =\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace\";\n\n/* -------------------------------------------------------------------------- */\n/* Tokens */\n/* -------------------------------------------------------------------------- */\n\nconst PEACH = \"#FFB38E\";\nconst LAVENDER = \"#D4B3FF\";\nconst MINT = \"#A1EEBD\";\nconst STAGE_BG = \"#0A090E\";\nconst PANEL_BG = \"#141318\";\n\n/* -------------------------------------------------------------------------- */\n/* Timeline schedule */\n/* -------------------------------------------------------------------------- */\n/*\n Frame layout (30fps base):\n 0 ────────────────────────────► 90 BlurReveal\n 70 ────► 130 SpatialPush overlay\n 130 ────────────► 240 Dashboard\n 230 ────► 290 FrostedGlassWipe overlay\n 290 ────────────► 410 MaskedSlideReveal\n 400 ────► 460 KineticTypeMask overlay\n 460 ────────────────► 640 TerminalToBrowserDeploy\n*/\n\ninterface SceneWindow {\n start: number;\n duration: number;\n}\n\nconst SCENES = {\n blur: { start: 0, duration: 90 } as SceneWindow,\n push1: { start: 70, duration: 60 } as SceneWindow,\n dashboard: { start: 130, duration: 110 } as SceneWindow,\n glassWipe: { start: 230, duration: 60 } as SceneWindow,\n maskedSlide: { start: 290, duration: 120 } as SceneWindow,\n push2: { start: 400, duration: 60 } as SceneWindow,\n terminal: { start: 460, duration: 180 } as SceneWindow,\n // Quiet hold at the very end so the loop never restarts mid-action.\n endHold: 80,\n};\n\nconst TOTAL_DURATION =\n SCENES.terminal.start + SCENES.terminal.duration + SCENES.endHold; // 720\n\n/* -------------------------------------------------------------------------- */\n/* Code timeline */\n/* -------------------------------------------------------------------------- */\n\ninterface CodeStep {\n /** Frame at which this fragment STARTS being typed */\n startFrame: number;\n /** Code fragment to append to the visible buffer */\n code: string;\n /** Token within the fragment that pulses lavender briefly when typed */\n highlight?: string;\n}\n\nconst HEADER = `import { BlurReveal, DashboardPopulate, MaskedSlideReveal,\n TerminalToBrowserDeploy, Transition } from \"@/components/remocn\";\n\nexport default function Scene() {\n return (\n <>\n`;\n\nconst FOOTER = ` </>\n );\n}`;\n\nconst STEPS: CodeStep[] = [\n {\n startFrame: 4,\n code: ` <BlurReveal text=\"Build faster.\" />\\n`,\n },\n {\n startFrame: SCENES.push1.start,\n code: ` <Transition type=\"spatial-push\" />\\n`,\n highlight: \"spatial-push\",\n },\n {\n startFrame: SCENES.dashboard.start,\n code: ` <DashboardPopulate data={metrics} />\\n`,\n },\n {\n startFrame: SCENES.glassWipe.start,\n code: ` <Transition type=\"glass-wipe\" />\\n`,\n highlight: \"glass-wipe\",\n },\n {\n startFrame: SCENES.maskedSlide.start,\n code: ` <MaskedSlideReveal text=\"Ship to production.\" />\\n`,\n },\n {\n startFrame: SCENES.push2.start,\n code: ` <Transition type=\"spatial-push\" direction=\"left\" />\\n`,\n highlight: \"spatial-push\",\n },\n {\n startFrame: SCENES.terminal.start,\n code: ` <TerminalToBrowserDeploy />\\n`,\n },\n];\n\nconst CHARS_PER_FRAME = 2.2;\n\ninterface BuiltStep extends CodeStep {\n endFrame: number;\n}\n\nconst BUILT_STEPS: BuiltStep[] = STEPS.map((s) => ({\n ...s,\n endFrame: s.startFrame + Math.ceil(s.code.length / CHARS_PER_FRAME),\n}));\n\n/* -------------------------------------------------------------------------- */\n/* Syntax highlight */\n/* -------------------------------------------------------------------------- */\n\ninterface Token {\n text: string;\n color: string;\n glow?: boolean;\n}\n\nfunction tokenizeLine(\n line: string,\n accentColor: string,\n highlightedToken: string | null,\n): Token[] {\n const tokens: Token[] = [];\n const regex =\n /(\\bimport\\b|\\bfrom\\b|\\bexport\\b|\\bdefault\\b|\\bfunction\\b|\\breturn\\b|\\bconst\\b)|(\"[^\"]*\")|(\\b[A-Z][a-zA-Z0-9_]*)|(\\b[a-zA-Z_][a-zA-Z0-9_]*)(?==)|(\\{|\\}|\\(|\\)|<|>|\\/|;)|([0-9]+)/g;\n let lastIndex = 0;\n let m: RegExpExecArray | null = regex.exec(line);\n while (m !== null) {\n if (m.index > lastIndex) {\n tokens.push({\n text: line.slice(lastIndex, m.index),\n color: \"#e4e4e7\",\n });\n }\n if (m[1]) tokens.push({ text: m[1], color: LAVENDER });\n else if (m[2]) {\n // String literal — check if it matches the active highlight\n const inner = m[2].slice(1, -1);\n if (highlightedToken && inner === highlightedToken) {\n tokens.push({ text: m[2], color: LAVENDER, glow: true });\n } else {\n tokens.push({ text: m[2], color: MINT });\n }\n } else if (m[3]) tokens.push({ text: m[3], color: PEACH });\n else if (m[4]) tokens.push({ text: m[4], color: accentColor });\n else if (m[5]) tokens.push({ text: m[5], color: \"#71717a\" });\n else if (m[6]) tokens.push({ text: m[6], color: \"#fbbf24\" });\n lastIndex = regex.lastIndex;\n m = regex.exec(line);\n }\n if (lastIndex < line.length) {\n tokens.push({ text: line.slice(lastIndex), color: \"#e4e4e7\" });\n }\n return tokens;\n}\n\n/* -------------------------------------------------------------------------- */\n/* Code editor */\n/* -------------------------------------------------------------------------- */\n\nfunction CodeEditor({\n frame,\n accentColor,\n}: {\n frame: number;\n accentColor: string;\n}) {\n // Compose the visible code: header + per-step typed amounts + footer (only when fully typed)\n const dynamicChunks: string[] = [];\n let activeHighlight: string | null = null;\n\n for (const step of BUILT_STEPS) {\n if (frame < step.startFrame) break;\n const elapsed = frame - step.startFrame;\n const charsTyped = Math.min(\n step.code.length,\n Math.floor(elapsed * CHARS_PER_FRAME),\n );\n dynamicChunks.push(step.code.slice(0, charsTyped));\n\n // Lavender pulse: active for ~24 frames after fragment finishes typing\n if (step.highlight) {\n const sinceStart = frame - step.startFrame;\n if (sinceStart >= 0 && sinceStart < 60) {\n activeHighlight = step.highlight;\n }\n }\n }\n\n const allTyped = dynamicChunks.join(\"\");\n const lastStep = BUILT_STEPS[BUILT_STEPS.length - 1];\n const showFooter = frame > lastStep.endFrame + 4;\n const visibleCode = HEADER + allTyped + (showFooter ? FOOTER : \"\");\n const lines = visibleCode.split(\"\\n\");\n const lastLineIdx = lines.length - 1;\n const caretOn = Math.floor(frame / 12) % 2 === 0;\n\n return (\n <div\n style={{\n width: \"100%\",\n maxWidth: 540,\n position: \"relative\",\n borderRadius: 16,\n padding: 1,\n background:\n \"linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.06) 100%)\",\n boxShadow: \"0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4)\",\n }}\n >\n <div\n style={{\n borderRadius: 15,\n background: \"rgba(12,12,14,0.9)\",\n backdropFilter: \"blur(20px)\",\n overflow: \"hidden\",\n }}\n >\n {/* Title bar */}\n <div\n style={{\n height: 40,\n display: \"flex\",\n alignItems: \"center\",\n padding: \"0 16px\",\n borderBottom: \"1px solid rgba(255,255,255,0.06)\",\n gap: 8,\n }}\n >\n {[\"#ff5f57\", \"#febc2e\", \"#28c840\"].map((c) => (\n <div\n key={c}\n style={{\n width: 11,\n height: 11,\n borderRadius: 6,\n background: c,\n opacity: 0.65,\n }}\n />\n ))}\n <div\n style={{\n marginLeft: 12,\n fontSize: 12,\n color: \"rgba(255,255,255,0.5)\",\n fontFamily: MONO_FAMILY,\n }}\n >\n scene.tsx\n </div>\n </div>\n\n {/* Code body */}\n <div\n style={{\n padding: \"20px 22px\",\n fontFamily: MONO_FAMILY,\n fontSize: 12.5,\n lineHeight: 1.7,\n color: \"#e4e4e7\",\n minHeight: 480,\n boxShadow: \"inset 0 1px 0 rgba(255,255,255,0.04)\",\n }}\n >\n {lines.map((line, i) => {\n const tokens = tokenizeLine(line, accentColor, activeHighlight);\n const isLast = i === lastLineIdx;\n return (\n <div\n // biome-ignore lint/suspicious/noArrayIndexKey: stable per frame\n key={i}\n style={{ display: \"flex\", whiteSpace: \"pre\" }}\n >\n <span\n style={{\n width: 26,\n color: \"rgba(255,255,255,0.18)\",\n userSelect: \"none\",\n flexShrink: 0,\n }}\n >\n {i + 1}\n </span>\n <span>\n {tokens.length === 0 ? (\n <span> </span>\n ) : (\n tokens.map((t, j) => (\n <span\n // biome-ignore lint/suspicious/noArrayIndexKey: stable per line\n key={j}\n style={{\n color: t.color,\n textShadow: t.glow\n ? `0 0 12px ${LAVENDER}, 0 0 24px ${LAVENDER}80`\n : undefined,\n }}\n >\n {t.text}\n </span>\n ))\n )}\n {isLast && caretOn && (\n <span\n style={{\n display: \"inline-block\",\n width: 7,\n height: 14,\n marginLeft: 1,\n verticalAlign: \"text-bottom\",\n background: accentColor,\n }}\n />\n )}\n </span>\n </div>\n );\n })}\n </div>\n </div>\n </div>\n );\n}\n\n/* -------------------------------------------------------------------------- */\n/* Soft pastel scene wrappers */\n/* -------------------------------------------------------------------------- */\n\n/** Warm pastel canvas — the dark stage every scene sits on */\nfunction PastelStage({\n children,\n}: {\n children: ReactNode;\n}) {\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n }}\n >\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background:\n \"radial-gradient(ellipse at 20% 30%, rgba(255,179,142,0.08), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(212,179,255,0.06), transparent 60%)\",\n }}\n />\n {children}\n </div>\n );\n}\n\n/* -------------------------------------------------------------------------- */\n/* Scene factories */\n/* -------------------------------------------------------------------------- */\n/*\n Note: BlurReveal and MaskedSlideReveal primitives bake in a `background:\n white` div. To keep the warm-dark stage we re-implement just the visual\n here (not a fork — both effects are simple text + filter). The orchestrator\n advertises the primitives in code; the rendered output is faithful to them.\n*/\n\nfunction BlurRevealScene() {\n const frame = useCurrentFrame();\n const opacity = interpolate(frame, [0, 50], [0, 1], {\n extrapolateRight: \"clamp\",\n });\n const blurAmount = interpolate(frame, [0, 50], [22, 0], {\n extrapolateRight: \"clamp\",\n });\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <span\n style={{\n opacity,\n filter: `blur(${blurAmount}px)`,\n fontSize: 96,\n fontWeight: 600,\n color: PEACH,\n letterSpacing: \"-0.04em\",\n fontFamily: FONT_FAMILY,\n textShadow: `0 0 60px ${PEACH}40`,\n }}\n >\n Build faster.\n </span>\n </div>\n );\n}\n\nfunction DashboardScene() {\n return (\n <div style={{ position: \"absolute\", inset: 0 }}>\n <DashboardPopulate accentColor={PEACH} />\n </div>\n );\n}\n\nfunction MaskedSlideScene() {\n const frame = useCurrentFrame();\n const { fps } = useVideoConfig();\n const words = \"Ship to production.\".split(\" \");\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <span\n style={{\n fontSize: 92,\n fontWeight: 700,\n color: MINT,\n letterSpacing: \"-0.03em\",\n fontFamily: FONT_FAMILY,\n textShadow: `0 0 40px ${MINT}30`,\n }}\n >\n {words.map((word, i) => {\n const t = spring({\n frame: frame - i * 4,\n fps,\n config: { damping: 18, stiffness: 120 },\n });\n return (\n <span\n // biome-ignore lint/suspicious/noArrayIndexKey: stable word list\n key={i}\n style={{\n display: \"inline-block\",\n overflow: \"hidden\",\n verticalAlign: \"bottom\",\n lineHeight: 1.05,\n marginRight: \"0.25em\",\n }}\n >\n <span\n style={{\n display: \"inline-block\",\n transform: `translateY(${(1 - t) * 110}%)`,\n }}\n >\n {word}\n </span>\n </span>\n );\n })}\n </span>\n </div>\n );\n}\n\nfunction TerminalScene() {\n return (\n <div style={{ position: \"absolute\", inset: 0 }}>\n <TerminalToBrowserDeploy accentColor={MINT} siteUrl=\"remocn.dev\" />\n </div>\n );\n}\n\n/* -------------------------------------------------------------------------- */\n/* Right pane */\n/* -------------------------------------------------------------------------- */\n\nfunction RightPane() {\n return (\n <div\n style={{\n position: \"relative\",\n width: \"100%\",\n height: \"100%\",\n background: STAGE_BG,\n overflow: \"hidden\",\n borderRadius: 18,\n }}\n >\n {/* ── BASE LAYER: each scene runs in its own Sequence so its\n internal useCurrentFrame() starts at 0 within the window. ── */}\n\n <Sequence\n from={SCENES.blur.start}\n durationInFrames={SCENES.blur.duration + SCENES.push1.duration}\n >\n <PastelStage>\n <BlurRevealScene />\n </PastelStage>\n </Sequence>\n\n <Sequence\n from={SCENES.dashboard.start}\n durationInFrames={SCENES.dashboard.duration + SCENES.glassWipe.duration}\n >\n <PastelStage>\n <DashboardScene />\n </PastelStage>\n </Sequence>\n\n <Sequence\n from={SCENES.maskedSlide.start}\n durationInFrames={SCENES.maskedSlide.duration + SCENES.push2.duration}\n >\n <PastelStage>\n <MaskedSlideScene />\n </PastelStage>\n </Sequence>\n\n <Sequence\n from={SCENES.terminal.start}\n durationInFrames={SCENES.terminal.duration + SCENES.endHold}\n >\n <PastelStage>\n <TerminalScene />\n </PastelStage>\n </Sequence>\n\n {/* ── TRANSITION OVERLAYS: each one displays the previous scene's\n end-state (Freeze) while wiping in the next scene's start-state. ── */}\n\n <Sequence\n from={SCENES.push1.start}\n durationInFrames={SCENES.push1.duration}\n >\n <SpatialPush\n transitionStart={0}\n transitionDuration={SCENES.push1.duration}\n direction=\"up\"\n from={\n <Freeze frame={SCENES.push1.start - SCENES.blur.start - 1}>\n <PastelStage>\n <BlurRevealScene />\n </PastelStage>\n </Freeze>\n }\n to={\n <Freeze frame={0}>\n <PastelStage>\n <DashboardScene />\n </PastelStage>\n </Freeze>\n }\n />\n </Sequence>\n\n <Sequence\n from={SCENES.glassWipe.start}\n durationInFrames={SCENES.glassWipe.duration}\n >\n <FrostedGlassWipe\n transitionStart={0}\n transitionDuration={SCENES.glassWipe.duration}\n glassBlur={28}\n from={\n <Freeze frame={SCENES.dashboard.duration - 1}>\n <PastelStage>\n <DashboardScene />\n </PastelStage>\n </Freeze>\n }\n to={\n <Freeze frame={0}>\n <PastelStage>\n <MaskedSlideScene />\n </PastelStage>\n </Freeze>\n }\n />\n </Sequence>\n\n <Sequence\n from={SCENES.push2.start}\n durationInFrames={SCENES.push2.duration}\n >\n <SpatialPush\n transitionStart={0}\n transitionDuration={SCENES.push2.duration}\n direction=\"left\"\n from={\n <Freeze frame={SCENES.maskedSlide.duration - 1}>\n <PastelStage>\n <MaskedSlideScene />\n </PastelStage>\n </Freeze>\n }\n to={\n <Freeze frame={0}>\n <PastelStage>\n <TerminalScene />\n </PastelStage>\n </Freeze>\n }\n />\n </Sequence>\n </div>\n );\n}\n\n/* -------------------------------------------------------------------------- */\n/* Main */\n/* -------------------------------------------------------------------------- */\n\nexport function LandingCodeShowcase({\n accentColor = \"#FFB38E\",\n speed = 1,\n}: LandingCodeShowcaseProps) {\n const rawFrame = useCurrentFrame();\n const frame = rawFrame * speed;\n\n /* ---- Final \"deploy success\" glow on both panes ---- */\n const successGlow = interpolate(\n frame,\n [SCENES.terminal.start + 70, SCENES.terminal.start + 100],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n return (\n <AbsoluteFill\n style={{\n background: PANEL_BG,\n fontFamily: FONT_FAMILY,\n overflow: \"hidden\",\n }}\n >\n {/* Backdrop wash */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background:\n \"radial-gradient(ellipse at 20% 30%, rgba(255,179,142,0.06), transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(212,179,255,0.06), transparent 55%)\",\n }}\n />\n\n {/* ---------------- LEFT: code editor ---------------- */}\n <div\n style={{\n position: \"absolute\",\n left: 0,\n top: 0,\n bottom: 0,\n width: \"38%\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n padding: 48,\n }}\n >\n <CodeEditor frame={frame} accentColor={accentColor} />\n </div>\n\n {/* ---------------- RIGHT: live preview ---------------- */}\n <div\n style={{\n position: \"absolute\",\n right: 0,\n top: 0,\n bottom: 0,\n width: \"62%\",\n borderLeft: \"1px solid rgba(255,255,255,0.05)\",\n }}\n >\n {/* Preview label */}\n <div\n style={{\n position: \"absolute\",\n top: 22,\n left: 24,\n display: \"flex\",\n alignItems: \"center\",\n gap: 8,\n zIndex: 5,\n }}\n >\n <div\n style={{\n width: 8,\n height: 8,\n borderRadius: 4,\n background: MINT,\n boxShadow: `0 0 ${10 + successGlow * 12}px ${MINT}`,\n }}\n />\n <div\n style={{\n fontSize: 11,\n fontFamily: MONO_FAMILY,\n color: \"rgba(255,255,255,0.5)\",\n textTransform: \"uppercase\",\n letterSpacing: \"0.1em\",\n }}\n >\n Preview · HMR\n </div>\n </div>\n\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n boxShadow: `inset 0 0 ${60 * successGlow}px rgba(161,238,189,${successGlow * 0.45})`,\n }}\n >\n <RightPane />\n </div>\n </div>\n </AbsoluteFill>\n );\n}\n\n// Re-export the schedule so config.ts (or callers) can read the canonical\n// total length without duplicating constants.\nexport const LANDING_CODE_SHOWCASE_DURATION = TOTAL_DURATION;\n",
- "type": "registry:component",
- "target": "components/remocn/landing-code-showcase.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/pricing-tier-focus.json b/public/r/pricing-tier-focus.json
deleted file mode 100644
index 533ae56b..00000000
--- a/public/r/pricing-tier-focus.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "pricing-tier-focus",
- "title": "Pricing Tier Focus",
- "description": "Three pricing cards where the focused tier rises and brightens while siblings dim and blur.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/pricing-tier-focus/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface PricingTierFocusProps {\n focusedTier?: 0 | 1 | 2 | \"0\" | \"1\" | \"2\";\n accentColor?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\ninterface Tier {\n name: string;\n price: string;\n period: string;\n features: string[];\n cta: string;\n}\n\nconst TIERS: Tier[] = [\n {\n name: \"Free\",\n price: \"$0\",\n period: \"/mo\",\n features: [\"1 project\", \"Community support\", \"1 GB storage\"],\n cta: \"Get started\",\n },\n {\n name: \"Pro\",\n price: \"$24\",\n period: \"/mo\",\n features: [\n \"Unlimited projects\",\n \"Priority support\",\n \"100 GB storage\",\n \"Advanced analytics\",\n ],\n cta: \"Buy Pro\",\n },\n {\n name: \"Enterprise\",\n price: \"$99\",\n period: \"/mo\",\n features: [\"SSO & SAML\", \"Dedicated manager\", \"Unlimited storage\"],\n cta: \"Contact sales\",\n },\n];\n\nexport function PricingTierFocus({\n focusedTier = 1,\n accentColor = \"#22c55e\",\n speed = 1,\n className,\n}: PricingTierFocusProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const focusedIdx = Number(focusedTier);\n const focusStart = 30;\n\n const focusProgress = spring({\n frame: frame - focusStart,\n fps,\n config: { mass: 1, damping: 18, stiffness: 90 },\n durationInFrames: 50,\n });\n\n const focusScale = interpolate(focusProgress, [0, 1], [1, 1.05]);\n const focusLift = interpolate(focusProgress, [0, 1], [0, -20]);\n const sideBrightness = interpolate(focusProgress, [0, 1], [1, 0.4]);\n const sideBlur = interpolate(focusProgress, [0, 1], [0, 4]);\n const sideScale = interpolate(focusProgress, [0, 1], [1, 0.95]);\n\n // Shimmer on Pro CTA — runs around frame 90\n const shimmerStart = 90;\n const shimmerPos = interpolate(\n frame,\n [shimmerStart, shimmerStart + 40],\n [-150, 250],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n background: \"#0a0a0a\",\n fontFamily: FONT_FAMILY,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n padding: 60,\n gap: 28,\n }}\n >\n {TIERS.map((tier, i) => {\n const isFocused = i === focusedIdx;\n const scale = isFocused ? focusScale : sideScale;\n const lift = isFocused ? focusLift : 0;\n const brightness = isFocused ? 1 : sideBrightness;\n const blurPx = isFocused ? 0 : sideBlur;\n const z = isFocused ? 10 : 1;\n const shadow = isFocused\n ? `0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px ${accentColor}55`\n : \"0 8px 24px rgba(0,0,0,0.4)\";\n\n return (\n <div\n key={tier.name}\n style={{\n position: \"relative\",\n flex: \"1 1 0\",\n maxWidth: 320,\n minHeight: 460,\n padding: 32,\n borderRadius: 20,\n background: \"linear-gradient(180deg, #161616 0%, #0e0e0e 100%)\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n boxShadow: shadow,\n transform: `translateY(${lift}px) scale(${scale})`,\n filter: `brightness(${brightness}) blur(${blurPx}px)`,\n zIndex: z,\n display: \"flex\",\n flexDirection: \"column\",\n willChange: \"transform, filter\",\n }}\n >\n {isFocused && (\n <div\n style={{\n position: \"absolute\",\n top: 16,\n right: 16,\n padding: \"4px 10px\",\n borderRadius: 999,\n background: accentColor,\n color: \"#0a0a0a\",\n fontSize: 11,\n fontWeight: 700,\n letterSpacing: \"0.04em\",\n textTransform: \"uppercase\",\n }}\n >\n Popular\n </div>\n )}\n <div\n style={{\n fontSize: 14,\n fontWeight: 600,\n color: \"rgba(255,255,255,0.6)\",\n letterSpacing: \"0.04em\",\n textTransform: \"uppercase\",\n }}\n >\n {tier.name}\n </div>\n <div\n style={{\n marginTop: 12,\n display: \"flex\",\n alignItems: \"baseline\",\n gap: 4,\n }}\n >\n <div\n style={{\n fontSize: 56,\n fontWeight: 700,\n color: \"white\",\n letterSpacing: \"-0.04em\",\n lineHeight: 1,\n }}\n >\n {tier.price}\n </div>\n <div\n style={{\n fontSize: 16,\n color: \"rgba(255,255,255,0.5)\",\n fontWeight: 500,\n }}\n >\n {tier.period}\n </div>\n </div>\n <div\n style={{\n marginTop: 24,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 12,\n flex: 1,\n }}\n >\n {tier.features.map((f) => (\n <div\n key={f}\n style={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 10,\n fontSize: 14,\n color: \"rgba(255,255,255,0.85)\",\n }}\n >\n <div\n style={{\n width: 16,\n height: 16,\n borderRadius: 999,\n background: `${accentColor}22`,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: accentColor,\n fontSize: 11,\n fontWeight: 700,\n flexShrink: 0,\n }}\n >\n ✓\n </div>\n {f}\n </div>\n ))}\n </div>\n <div\n style={{\n marginTop: 24,\n position: \"relative\",\n height: 44,\n borderRadius: 12,\n background: isFocused ? accentColor : \"rgba(255,255,255,0.08)\",\n color: isFocused ? \"#0a0a0a\" : \"white\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n fontSize: 14,\n fontWeight: 600,\n overflow: \"hidden\",\n border: isFocused ? \"none\" : \"1px solid rgba(255,255,255,0.1)\",\n }}\n >\n {tier.cta}\n {isFocused && (\n <div\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n bottom: 0,\n width: 80,\n transform: `translateX(${shimmerPos}px) skewX(-20deg)`,\n background:\n \"linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%)\",\n pointerEvents: \"none\",\n }}\n />\n )}\n </div>\n </div>\n );\n })}\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/pricing-tier-focus.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/registry.json b/public/r/registry.json
index 4fc89495..9a5d9a69 100644
--- a/public/r/registry.json
+++ b/public/r/registry.json
@@ -535,22 +535,6 @@
],
"type": "registry:component"
},
- {
- "name": "device-mockup-zoom",
- "title": "Device Mockup Zoom",
- "description": "Pull back from a UI to reveal it inside a device frame.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/device-mockup-zoom/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/device-mockup-zoom.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "zoom-through-transition",
"title": "Zoom Through Transition",
@@ -650,38 +634,6 @@
],
"type": "registry:component"
},
- {
- "name": "code-diff-wipe",
- "title": "Code Diff Wipe",
- "description": "Before/after code reveal via clip-path wipe with a handle marker.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/code-diff-wipe/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/code-diff-wipe.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "drag-and-drop-flow",
- "title": "Drag and Drop Flow",
- "description": "Simulated file drag into a dropzone followed by upload progress.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/drag-and-drop-flow/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/drag-and-drop-flow.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "progress-steps",
"title": "Progress Steps",
@@ -714,22 +666,6 @@
],
"type": "registry:component"
},
- {
- "name": "code-accordion",
- "title": "Code Accordion",
- "description": "A code window that springs a range of lines closed and replaces them with a \"N lines collapsed\" placeholder.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/code-accordion/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/code-accordion.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "glass-code-block",
"title": "Glass Code Block",
@@ -861,22 +797,6 @@
],
"type": "registry:component"
},
- {
- "name": "hero-device-assemble",
- "title": "Hero Device Assemble",
- "description": "Floating device layers spring together into a laptop or phone mockup, then the screen wakes with a shimmer.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/hero-device-assemble/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/hero-device-assemble.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "ecosystem-constellation",
"title": "Ecosystem Constellation",
@@ -893,22 +813,6 @@
],
"type": "registry:component"
},
- {
- "name": "ai-generation-canvas",
- "title": "AI Generation Canvas",
- "description": "A prompt input transforms into a header, then a skeleton dashboard flips into populated cards.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/ai-generation-canvas/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/ai-generation-canvas.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "live-code-compilation",
"title": "Live Code Compilation",
@@ -925,86 +829,6 @@
],
"type": "registry:component"
},
- {
- "name": "landing-code-showcase",
- "title": "Landing Code Showcase",
- "description": "Magical split-screen: code types itself on the left while the preview reactively re-renders on the right with sparks and tactile bounce.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/landing-code-showcase/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/landing-code-showcase.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "dashboard-populate",
- "title": "Dashboard Populate",
- "description": "An empty dashboard cascades to life with KPI count-ups, bar bounces, line traces, and a donut fill.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/dashboard-populate/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/dashboard-populate.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "terminal-to-browser-deploy",
- "title": "Terminal to Browser Deploy",
- "description": "A CLI deploy completes, the terminal blurs back, and a browser window springs from the deploy URL.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/terminal-to-browser-deploy/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/terminal-to-browser-deploy.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "browser-flow",
- "title": "Browser Flow",
- "description": "Full Safari/Chrome simulation: typed URL, progress bar, page render, scroll, and a virtual cursor click.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/browser-flow/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/browser-flow.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "pricing-tier-focus",
- "title": "Pricing Tier Focus",
- "description": "Three pricing cards where the focused tier rises and brightens while siblings dim and blur.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/pricing-tier-focus/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/pricing-tier-focus.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "infinite-bento-pan",
"title": "Infinite Bento Pan",
@@ -1021,38 +845,6 @@
],
"type": "registry:component"
},
- {
- "name": "tool-menu-slide-in",
- "title": "Tool Menu Slide In",
- "description": "A glass tool palette whips up from below the editor canvas while its icons pop in with a stagger.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/tool-menu-slide-in/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/tool-menu-slide-in.tsx"
- }
- ],
- "type": "registry:component"
- },
- {
- "name": "image-expand-to-fullscreen",
- "title": "Image Expand To Fullscreen",
- "description": "An image lifts out of a feed post and morphs into a fullscreen editor with toolbars sliding in.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/image-expand-to-fullscreen/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/image-expand-to-fullscreen.tsx"
- }
- ],
- "type": "registry:component"
- },
{
"name": "github-sponsors",
"title": "GitHub Sponsors",
@@ -2401,4 +2193,4 @@
"type": "registry:component"
}
]
-}
\ No newline at end of file
+}
diff --git a/public/r/terminal-to-browser-deploy.json b/public/r/terminal-to-browser-deploy.json
deleted file mode 100644
index e4c526a4..00000000
--- a/public/r/terminal-to-browser-deploy.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "terminal-to-browser-deploy",
- "title": "Terminal to Browser Deploy",
- "description": "A CLI deploy completes, the terminal blurs back, and a browser window springs from the deploy URL.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/terminal-to-browser-deploy/index.tsx",
- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface TerminalToBrowserDeployProps {\n siteUrl?: string;\n accentColor?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\nconst MONO_FAMILY =\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace\";\n\ninterface Line {\n text: string;\n start: number;\n type: \"command\" | \"step\" | \"success\";\n}\n\nfunction MacDots({ size = 12 }: { size?: number }) {\n return (\n <div style={{ display: \"flex\", gap: 8, alignItems: \"center\" }}>\n {[\"#ff5f57\", \"#febc2e\", \"#28c840\"].map((c) => (\n <div\n key={c}\n style={{\n width: size,\n height: size,\n borderRadius: \"50%\",\n background: c,\n opacity: 0.85,\n }}\n />\n ))}\n </div>\n );\n}\n\nexport function TerminalToBrowserDeploy({\n siteUrl = \"https://app.example.com\",\n accentColor = \"#22c55e\",\n speed = 1,\n className,\n}: TerminalToBrowserDeployProps) {\n const frame = useCurrentFrame() * speed;\n const { fps, durationInFrames } = useVideoConfig();\n\n const lines: Line[] = [\n { text: \"$ pnpm deploy\", start: 10, type: \"command\" },\n { text: \"→ Building project...\", start: 35, type: \"step\" },\n { text: \"→ Bundling assets...\", start: 55, type: \"step\" },\n { text: \"→ Optimizing images...\", start: 75, type: \"step\" },\n { text: \"→ Uploading...\", start: 95, type: \"step\" },\n { text: `✓ Deployed to ${siteUrl}`, start: 120, type: \"success\" },\n ];\n\n // typewriter for each line\n const renderedLines = lines.map((line) => {\n const elapsed = frame - line.start;\n const charsPerFrame = 1.6;\n const visibleChars = Math.max(\n 0,\n Math.min(line.text.length, Math.floor(elapsed * charsPerFrame)),\n );\n return {\n ...line,\n visible: line.text.slice(0, visibleChars),\n isVisible: elapsed >= 0,\n };\n });\n\n // Terminal collapse start (after deploy line is fully typed)\n const collapseStart = 155;\n const collapseProgress = interpolate(\n frame,\n [collapseStart, collapseStart + 18],\n [0, 1],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n const terminalScale = interpolate(collapseProgress, [0, 1], [1, 0.8]);\n const terminalBlur = interpolate(collapseProgress, [0, 1], [0, 10]);\n const terminalOpacity = interpolate(collapseProgress, [0, 1], [1, 0.35]);\n\n // Browser spring entry\n const browserSpring = spring({\n frame: frame - collapseStart - 4,\n fps,\n config: { mass: 1, damping: 14, stiffness: 110 },\n durationInFrames: 50,\n });\n const browserScale = browserSpring;\n const browserOpacity = interpolate(browserSpring, [0, 0.3, 1], [0, 1, 1], {\n extrapolateRight: \"clamp\",\n });\n\n // Cursor for typewriter effect on the active line\n let activeLine: (typeof renderedLines)[number] | undefined;\n for (let i = renderedLines.length - 1; i >= 0; i--) {\n const l = renderedLines[i];\n if (l.isVisible && l.visible.length < l.text.length) {\n activeLine = l;\n break;\n }\n }\n\n // approximate vertical position of URL line within terminal body\n // line height ~ 30, body padding-top 18, lines start at index 0..5\n const urlLineIndex = 5;\n const lineHeight = 30;\n const terminalBodyPaddingTop = 22;\n const urlLineCenterY =\n terminalBodyPaddingTop + urlLineIndex * lineHeight + 12;\n\n // Terminal box dimensions inside the 1280x720 frame\n const terminalWidth = 820;\n const terminalHeight = 360;\n const terminalLeft = (1280 - terminalWidth) / 2;\n const terminalTop = (720 - terminalHeight) / 2;\n const terminalHeaderHeight = 36;\n\n // The transform-origin for the browser window: the URL text inside the terminal body\n const originX = terminalLeft + 200;\n const originY = terminalTop + terminalHeaderHeight + urlLineCenterY;\n\n // Browser window dimensions\n const browserWidth = 980;\n const browserHeight = 560;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n background: \"#050505\",\n fontFamily: FONT_FAMILY,\n }}\n >\n {/* subtle backdrop */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background:\n \"radial-gradient(ellipse at center, #0f172a 0%, #050505 70%)\",\n }}\n />\n\n {/* Terminal */}\n <div\n style={{\n position: \"absolute\",\n left: terminalLeft,\n top: terminalTop,\n width: terminalWidth,\n height: terminalHeight,\n borderRadius: 14,\n background: \"rgba(15,15,17,0.96)\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n boxShadow:\n \"0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06)\",\n overflow: \"hidden\",\n transform: `scale(${terminalScale})`,\n filter: `blur(${terminalBlur}px)`,\n opacity: terminalOpacity,\n transformOrigin: \"center center\",\n willChange: \"transform, filter\",\n }}\n >\n <div\n style={{\n height: terminalHeaderHeight,\n display: \"flex\",\n alignItems: \"center\",\n paddingLeft: 14,\n borderBottom: \"1px solid rgba(255,255,255,0.06)\",\n background: \"rgba(255,255,255,0.02)\",\n }}\n >\n <MacDots />\n <div\n style={{\n flex: 1,\n textAlign: \"center\",\n color: \"rgba(255,255,255,0.45)\",\n fontFamily: MONO_FAMILY,\n fontSize: 12,\n marginRight: 56,\n }}\n >\n ~/project — zsh\n </div>\n </div>\n <div\n style={{\n padding: `${terminalBodyPaddingTop}px 22px`,\n fontFamily: MONO_FAMILY,\n fontSize: 16,\n lineHeight: `${lineHeight}px`,\n color: \"rgba(255,255,255,0.85)\",\n }}\n >\n {renderedLines.map((line, i) => {\n if (!line.isVisible) return null;\n const isActive = activeLine === line;\n const showCursor = isActive && Math.floor(frame / 12) % 2 === 0;\n const color =\n line.type === \"success\"\n ? accentColor\n : line.type === \"command\"\n ? \"rgba(255,255,255,0.95)\"\n : \"rgba(255,255,255,0.7)\";\n return (\n <div\n key={i}\n style={{\n color,\n whiteSpace: \"pre\",\n }}\n >\n {line.visible}\n {showCursor && (\n <span\n style={{\n display: \"inline-block\",\n width: 8,\n height: 18,\n background: \"rgba(255,255,255,0.85)\",\n verticalAlign: \"text-bottom\",\n marginLeft: 2,\n }}\n />\n )}\n </div>\n );\n })}\n </div>\n </div>\n\n {/* Browser window — emerges from URL line */}\n <div\n style={{\n position: \"absolute\",\n left: (1280 - browserWidth) / 2,\n top: (720 - browserHeight) / 2,\n width: browserWidth,\n height: browserHeight,\n borderRadius: 16,\n overflow: \"hidden\",\n background: \"#0a0a0a\",\n border: \"1px solid rgba(255,255,255,0.1)\",\n boxShadow:\n \"0 50px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.06)\",\n transform: `scale(${browserScale})`,\n transformOrigin: `${((originX - (1280 - browserWidth) / 2) / browserWidth) * 100}% ${((originY - (720 - browserHeight) / 2) / browserHeight) * 100}%`,\n opacity: browserOpacity,\n willChange: \"transform, opacity\",\n }}\n >\n {/* Browser chrome */}\n <div\n style={{\n height: 44,\n display: \"flex\",\n alignItems: \"center\",\n gap: 14,\n paddingLeft: 16,\n paddingRight: 16,\n background: \"rgba(20,20,22,0.95)\",\n borderBottom: \"1px solid rgba(255,255,255,0.06)\",\n }}\n >\n <MacDots />\n <div\n style={{\n flex: 1,\n height: 26,\n borderRadius: 13,\n background: \"rgba(255,255,255,0.06)\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"rgba(255,255,255,0.7)\",\n fontFamily: MONO_FAMILY,\n fontSize: 12,\n }}\n >\n {siteUrl}\n </div>\n <div style={{ width: 60 }} />\n </div>\n {/* Page */}\n <div\n style={{\n position: \"absolute\",\n inset: \"44px 0 0 0\",\n background:\n \"linear-gradient(180deg, #0a0a0a 0%, #111118 60%, #0a0a0a 100%)\",\n color: \"white\",\n padding: \"60px 80px\",\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-start\",\n gap: 24,\n }}\n >\n {/* nav */}\n <div\n style={{\n position: \"absolute\",\n top: 22,\n left: 80,\n right: 80,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n fontFamily: FONT_FAMILY,\n fontSize: 14,\n color: \"rgba(255,255,255,0.7)\",\n }}\n >\n <div style={{ fontWeight: 600, color: \"white\" }}>Acme</div>\n <div style={{ display: \"flex\", gap: 24 }}>\n <span>Features</span>\n <span>Pricing</span>\n <span>Docs</span>\n </div>\n </div>\n\n {/* abstract shape */}\n <div\n style={{\n position: \"absolute\",\n right: 60,\n top: 120,\n width: 280,\n height: 280,\n borderRadius: \"50%\",\n background: `radial-gradient(circle at 30% 30%, ${accentColor}55, transparent 70%)`,\n filter: \"blur(20px)\",\n }}\n />\n <div\n style={{\n position: \"absolute\",\n right: 100,\n top: 160,\n width: 200,\n height: 200,\n borderRadius: 24,\n border: `1px solid ${accentColor}55`,\n transform: \"rotate(12deg)\",\n background:\n \"linear-gradient(135deg, rgba(255,255,255,0.04), transparent)\",\n }}\n />\n\n <div\n style={{\n fontFamily: FONT_FAMILY,\n fontSize: 14,\n color: accentColor,\n fontWeight: 500,\n marginTop: 50,\n }}\n >\n Now live\n </div>\n <div\n style={{\n fontFamily: FONT_FAMILY,\n fontSize: 72,\n fontWeight: 700,\n letterSpacing: \"-0.04em\",\n lineHeight: 1,\n maxWidth: 560,\n }}\n >\n Ship faster.\n </div>\n <div\n style={{\n fontFamily: FONT_FAMILY,\n fontSize: 18,\n color: \"rgba(255,255,255,0.65)\",\n maxWidth: 480,\n lineHeight: 1.5,\n }}\n >\n From commit to global edge in seconds. No config. No drama.\n </div>\n <button\n type=\"button\"\n style={{\n marginTop: 8,\n padding: \"14px 28px\",\n borderRadius: 10,\n background: accentColor,\n color: \"#0a0a0a\",\n fontFamily: FONT_FAMILY,\n fontSize: 15,\n fontWeight: 600,\n border: \"none\",\n boxShadow: `0 10px 30px ${accentColor}40`,\n }}\n >\n Get started →\n </button>\n </div>\n </div>\n\n {/* prevent unused fps warning if duration computed */}\n <div style={{ display: \"none\" }}>{durationInFrames}</div>\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/terminal-to-browser-deploy.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/public/r/tool-menu-slide-in.json b/public/r/tool-menu-slide-in.json
deleted file mode 100644
index d53c732e..00000000
--- a/public/r/tool-menu-slide-in.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema/registry-item.json",
- "name": "tool-menu-slide-in",
- "title": "Tool Menu Slide In",
- "description": "A glass tool palette whips up from below the editor canvas while its icons pop in with a stagger.",
- "dependencies": [
- "remotion"
- ],
- "files": [
- {
- "path": "registry/remocn/tool-menu-slide-in/index.tsx",
- "content": "\"use client\";\n\nimport {\n interpolate,\n Sequence,\n spring,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface ToolMenuSlideInProps {\n panelStartFrame?: number;\n iconStagger?: number;\n iconCount?: number;\n accent?: string;\n panelColor?: string;\n iconBg?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nconst ICON_GLYPHS = [\"B\", \"S\", \"C\", \"P\", \"E\", \"T\", \"M\", \"L\"];\nconst PANEL_SLIDE_DURATION = 22;\n\nexport function ToolMenuSlideIn({\n panelStartFrame = 18,\n iconStagger = 4,\n iconCount = 5,\n accent = \"#a78bfa\",\n panelColor = \"rgba(18, 18, 22, 0.72)\",\n iconBg = \"rgba(255,255,255,0.06)\",\n speed = 1,\n className,\n}: ToolMenuSlideInProps) {\n const rawFrame = useCurrentFrame();\n const frame = rawFrame * speed;\n const { fps } = useVideoConfig();\n\n const safeIconCount = Math.max(1, Math.min(8, Math.floor(iconCount)));\n\n // Snappy slide-in: high stiffness, moderate damping, low mass.\n const slide = spring({\n frame: frame - panelStartFrame,\n fps,\n config: { damping: 20, stiffness: 320, mass: 0.6 },\n });\n\n const panelTy = interpolate(slide, [0, 1], [120, 0]);\n const panelOpacity = interpolate(slide, [0, 0.4], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n // Icon sizing\n const ICON_SIZE = 64;\n const ICON_GAP = 14;\n const PANEL_PADDING = 14;\n const panelInnerWidth =\n safeIconCount * ICON_SIZE + (safeIconCount - 1) * ICON_GAP;\n const panelWidth = panelInnerWidth + PANEL_PADDING * 2;\n const panelHeight = ICON_SIZE + PANEL_PADDING * 2;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n overflow: \"hidden\",\n fontFamily: FONT_FAMILY,\n // subtle dot grid for editor-canvas feel\n backgroundImage:\n \"radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px)\",\n backgroundSize: \"22px 22px\",\n }}\n >\n {/* Top toolbar */}\n <div\n style={{\n position: \"absolute\",\n top: 24,\n left: 24,\n right: 24,\n height: 44,\n borderRadius: 12,\n background: \"rgba(255,255,255,0.04)\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n display: \"flex\",\n alignItems: \"center\",\n padding: \"0 14px\",\n gap: 10,\n backdropFilter: \"blur(8px)\",\n }}\n >\n <div\n style={{\n width: 10,\n height: 10,\n borderRadius: 999,\n background: \"rgba(255,255,255,0.18)\",\n }}\n />\n <div\n style={{\n width: 10,\n height: 10,\n borderRadius: 999,\n background: \"rgba(255,255,255,0.12)\",\n }}\n />\n <div\n style={{\n width: 10,\n height: 10,\n borderRadius: 999,\n background: \"rgba(255,255,255,0.12)\",\n }}\n />\n <div\n style={{\n marginLeft: 16,\n fontSize: 12,\n color: \"rgba(255,255,255,0.42)\",\n letterSpacing: \"0.02em\",\n }}\n >\n editor — untitled.png\n </div>\n </div>\n\n {/* Centered placeholder canvas (the \"image being edited\") */}\n <div\n style={{\n position: \"absolute\",\n left: \"50%\",\n top: \"50%\",\n width: 720,\n height: 420,\n transform: \"translate(-50%, -54%)\",\n borderRadius: 18,\n background:\n \"linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015))\",\n border: \"1px solid rgba(255,255,255,0.06)\",\n boxShadow:\n \"inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -40px 80px rgba(0,0,0,0.45), 0 30px 80px rgba(0,0,0,0.5)\",\n overflow: \"hidden\",\n }}\n >\n {/* Faux content block */}\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background:\n \"radial-gradient(60% 80% at 50% 40%, rgba(255,255,255,0.06), transparent 70%)\",\n }}\n />\n </div>\n\n {/* The slide-in tool menu */}\n <div\n style={{\n position: \"absolute\",\n bottom: 60,\n left: \"50%\",\n width: panelWidth,\n height: panelHeight,\n transform: `translateX(-50%) translateY(${panelTy}%)`,\n opacity: panelOpacity,\n background: panelColor,\n backdropFilter: \"blur(20px)\",\n WebkitBackdropFilter: \"blur(20px)\",\n border: \"1px solid rgba(255,255,255,0.08)\",\n borderRadius: panelHeight / 2,\n boxShadow:\n \"0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02), inset 0 1px 0 rgba(255,255,255,0.08)\",\n padding: PANEL_PADDING,\n display: \"flex\",\n alignItems: \"center\",\n gap: ICON_GAP,\n }}\n >\n {Array.from({ length: safeIconCount }).map((_, i) => {\n const startAt =\n panelStartFrame + PANEL_SLIDE_DURATION + iconStagger * i;\n const isActive = i === 0;\n return (\n <Sequence\n key={i}\n from={startAt}\n layout=\"none\"\n name={`tool-icon-${i}`}\n >\n <ToolIcon\n glyph={ICON_GLYPHS[i % ICON_GLYPHS.length]}\n size={ICON_SIZE}\n bg={iconBg}\n accent={accent}\n active={isActive}\n fps={fps}\n />\n </Sequence>\n );\n })}\n </div>\n </div>\n );\n}\n\nfunction ToolIcon({\n glyph,\n size,\n bg,\n accent,\n active,\n fps,\n}: {\n glyph: string;\n size: number;\n bg: string;\n accent: string;\n active: boolean;\n fps: number;\n}) {\n const frame = useCurrentFrame();\n const pop = spring({\n frame,\n fps,\n config: { damping: 14, stiffness: 260, mass: 0.7 },\n });\n const scale = interpolate(pop, [0, 1], [0, 1]);\n const opacity = interpolate(pop, [0, 0.6], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n\n return (\n <div\n style={{\n width: size,\n height: size,\n borderRadius: 14,\n background: active\n ? `linear-gradient(180deg, ${accent}33, ${accent}14)`\n : bg,\n border: active\n ? `1px solid ${accent}55`\n : \"1px solid rgba(255,255,255,0.06)\",\n boxShadow: active\n ? `inset 0 1px 0 rgba(255,255,255,0.12), 0 0 24px ${accent}33`\n : \"inset 0 1px 0 rgba(255,255,255,0.05)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: active ? \"#ffffff\" : \"rgba(255,255,255,0.7)\",\n fontSize: 22,\n fontWeight: 600,\n letterSpacing: \"-0.01em\",\n transform: `scale(${scale})`,\n opacity,\n transformOrigin: \"center\",\n }}\n >\n {glyph}\n </div>\n );\n}\n",
- "type": "registry:component",
- "target": "components/remocn/tool-menu-slide-in.tsx"
- }
- ],
- "type": "registry:component"
-}
\ No newline at end of file
diff --git a/registry/__index__.tsx b/registry/__index__.tsx
index aa37dff8..d7c8b9b9 100644
--- a/registry/__index__.tsx
+++ b/registry/__index__.tsx
@@ -1,8 +1,6 @@
import type React from "react";
import { type ComponentConfig, SHARED_CONTROLS } from "@/lib/customizer-config";
-import { AIGenerationCanvas } from "@/registry/remocn/ai-generation-canvas";
-import { aiGenerationCanvasConfig } from "@/registry/remocn/ai-generation-canvas/config";
import { AnimatedBarChart } from "@/registry/remocn/animated-bar-chart";
import { animatedBarChartConfig } from "@/registry/remocn/animated-bar-chart/config";
import { AnimatedLineChart } from "@/registry/remocn/animated-line-chart";
@@ -41,26 +39,14 @@ import { KineticCenterBuild } from "@/registry/remocn/kinetic-center-build";
import { kineticCenterBuildConfig } from "@/registry/remocn/kinetic-center-build/config";
import { ShortSlideDown } from "@/registry/remocn/short-slide-down";
import { shortSlideDownConfig } from "@/registry/remocn/short-slide-down/config";
-import { BrowserFlow } from "@/registry/remocn/browser-flow";
-import { browserFlowConfig } from "@/registry/remocn/browser-flow/config";
import { ChatToPreviewLayout } from "@/registry/remocn/chat-to-preview-layout";
import { chatToPreviewLayoutConfig } from "@/registry/remocn/chat-to-preview-layout/config";
import { ChromaticAberrationWipe } from "@/registry/remocn/chromatic-aberration-wipe";
import { chromaticAberrationWipeConfig } from "@/registry/remocn/chromatic-aberration-wipe/config";
-import { CodeAccordion } from "@/registry/remocn/code-accordion";
-import { codeAccordionConfig } from "@/registry/remocn/code-accordion/config";
-import { CodeDiffWipe } from "@/registry/remocn/code-diff-wipe";
-import { codeDiffWipeConfig } from "@/registry/remocn/code-diff-wipe/config";
-import { DashboardPopulate } from "@/registry/remocn/dashboard-populate";
-import { dashboardPopulateConfig } from "@/registry/remocn/dashboard-populate/config";
import { DataFlowPipes } from "@/registry/remocn/data-flow-pipes";
import { dataFlowPipesConfig } from "@/registry/remocn/data-flow-pipes/config";
-import { DeviceMockupZoom } from "@/registry/remocn/device-mockup-zoom";
-import { deviceMockupZoomConfig } from "@/registry/remocn/device-mockup-zoom/config";
import { DirectionalWipe } from "@/registry/remocn/directional-wipe";
import { directionalWipeConfig } from "@/registry/remocn/directional-wipe/config";
-import { DragAndDropFlow } from "@/registry/remocn/drag-and-drop-flow";
-import { dragAndDropFlowConfig } from "@/registry/remocn/drag-and-drop-flow/config";
import { DynamicGrid } from "@/registry/remocn/dynamic-grid";
import { dynamicGridConfig } from "@/registry/remocn/dynamic-grid/config";
import { EcosystemConstellation } from "@/registry/remocn/ecosystem-constellation";
@@ -79,18 +65,12 @@ import { GlassCodeWalk } from "@/registry/remocn/glass-code-walk";
import { glassCodeWalkConfig } from "@/registry/remocn/glass-code-walk/config";
import { GridPixelateWipe } from "@/registry/remocn/grid-pixelate-wipe";
import { gridPixelateWipeConfig } from "@/registry/remocn/grid-pixelate-wipe/config";
-import { HeroDeviceAssemble } from "@/registry/remocn/hero-device-assemble";
-import { heroDeviceAssembleConfig } from "@/registry/remocn/hero-device-assemble/config";
-import { ImageExpandToFullscreen } from "@/registry/remocn/image-expand-to-fullscreen";
-import { imageExpandToFullscreenConfig } from "@/registry/remocn/image-expand-to-fullscreen/config";
import { InfiniteBentoPan } from "@/registry/remocn/infinite-bento-pan";
import { infiniteBentoPanConfig } from "@/registry/remocn/infinite-bento-pan/config";
import { InfiniteMarquee } from "@/registry/remocn/infinite-marquee";
import { infiniteMarqueeConfig } from "@/registry/remocn/infinite-marquee/config";
import { InlineHighlight } from "@/registry/remocn/inline-highlight";
import { inlineHighlightConfig } from "@/registry/remocn/inline-highlight/config";
-import { LandingCodeShowcase } from "@/registry/remocn/landing-code-showcase";
-import { landingCodeShowcaseConfig } from "@/registry/remocn/landing-code-showcase/config";
import { LiveCodeCompilation } from "@/registry/remocn/live-code-compilation";
import { liveCodeCompilationConfig } from "@/registry/remocn/live-code-compilation/config";
import { MarkerHighlight } from "@/registry/remocn/marker-highlight";
@@ -105,8 +85,6 @@ import { NumberWheel } from "@/registry/remocn/number-wheel";
import { numberWheelConfig } from "@/registry/remocn/number-wheel/config";
import { PerspectiveMarquee } from "@/registry/remocn/perspective-marquee";
import { perspectiveMarqueeConfig } from "@/registry/remocn/perspective-marquee/config";
-import { PricingTierFocus } from "@/registry/remocn/pricing-tier-focus";
-import { pricingTierFocusConfig } from "@/registry/remocn/pricing-tier-focus/config";
import { ProgressSteps } from "@/registry/remocn/progress-steps";
import { progressStepsConfig } from "@/registry/remocn/progress-steps/config";
import { RGBGlitchText } from "@/registry/remocn/rgb-glitch-text";
@@ -131,10 +109,6 @@ import { TerminalCursorZoom } from "@/registry/remocn/terminal-cursor-zoom";
import { terminalCursorZoomConfig } from "@/registry/remocn/terminal-cursor-zoom/config";
import { TerminalSimulator } from "@/registry/remocn/terminal-simulator";
import { terminalSimulatorConfig } from "@/registry/remocn/terminal-simulator/config";
-import { TerminalToBrowserDeploy } from "@/registry/remocn/terminal-to-browser-deploy";
-import { terminalToBrowserDeployConfig } from "@/registry/remocn/terminal-to-browser-deploy/config";
-import { ToolMenuSlideIn } from "@/registry/remocn/tool-menu-slide-in";
-import { toolMenuSlideInConfig } from "@/registry/remocn/tool-menu-slide-in/config";
import { TrackingIn } from "@/registry/remocn/tracking-in";
import { trackingInConfig } from "@/registry/remocn/tracking-in/config";
import { Typewriter } from "@/registry/remocn/typewriter";
@@ -329,7 +303,6 @@ const registry: Record<string, RegistryEntry> = {
Component: GlassCodeWalk,
config: glassCodeWalkConfig,
},
- "code-accordion": { Component: CodeAccordion, config: codeAccordionConfig },
"data-flow-pipes": { Component: DataFlowPipes, config: dataFlowPipesConfig },
"mesh-gradient-bg": {
Component: MeshGradientBg,
@@ -344,10 +317,6 @@ const registry: Record<string, RegistryEntry> = {
Component: DirectionalWipe,
config: directionalWipeConfig,
},
- "device-mockup-zoom": {
- Component: DeviceMockupZoom,
- config: deviceMockupZoomConfig,
- },
"zoom-through-transition": {
Component: ZoomThroughTransition,
config: zoomThroughTransitionConfig,
@@ -372,11 +341,6 @@ const registry: Record<string, RegistryEntry> = {
Component: TerminalCursorZoom,
config: terminalCursorZoomConfig,
},
- "code-diff-wipe": { Component: CodeDiffWipe, config: codeDiffWipeConfig },
- "drag-and-drop-flow": {
- Component: DragAndDropFlow,
- config: dragAndDropFlowConfig,
- },
"progress-steps": { Component: ProgressSteps, config: progressStepsConfig },
"frosted-glass-wipe": {
Component: FrostedGlassWipe,
@@ -391,51 +355,18 @@ const registry: Record<string, RegistryEntry> = {
Component: ChromaticAberrationWipe,
config: chromaticAberrationWipeConfig,
},
- "hero-device-assemble": {
- Component: HeroDeviceAssemble,
- config: heroDeviceAssembleConfig,
- },
"ecosystem-constellation": {
Component: EcosystemConstellation,
config: ecosystemConstellationConfig,
},
- "ai-generation-canvas": {
- Component: AIGenerationCanvas,
- config: aiGenerationCanvasConfig,
- },
"live-code-compilation": {
Component: LiveCodeCompilation,
config: liveCodeCompilationConfig,
},
- "landing-code-showcase": {
- Component: LandingCodeShowcase,
- config: landingCodeShowcaseConfig,
- },
- "dashboard-populate": {
- Component: DashboardPopulate,
- config: dashboardPopulateConfig,
- },
- "terminal-to-browser-deploy": {
- Component: TerminalToBrowserDeploy,
- config: terminalToBrowserDeployConfig,
- },
- "browser-flow": { Component: BrowserFlow, config: browserFlowConfig },
- "pricing-tier-focus": {
- Component: PricingTierFocus,
- config: pricingTierFocusConfig,
- },
"infinite-bento-pan": {
Component: InfiniteBentoPan,
config: infiniteBentoPanConfig,
},
- "tool-menu-slide-in": {
- Component: ToolMenuSlideIn,
- config: toolMenuSlideInConfig,
- },
- "image-expand-to-fullscreen": {
- Component: ImageExpandToFullscreen,
- config: imageExpandToFullscreenConfig,
- },
"github-sponsors": {
Component: GitHubSponsors,
config: githubSponsorsConfig,
diff --git a/registry/remocn/ai-generation-canvas/config.ts b/registry/remocn/ai-generation-canvas/config.ts
deleted file mode 100644
index 808a9705..00000000
--- a/registry/remocn/ai-generation-canvas/config.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const aiGenerationCanvasConfig: ComponentConfig = {
- componentName: "AIGenerationCanvas",
- importPath: "@/components/remocn/ai-generation-canvas",
- controls: {
- prompt: {
- type: "text",
- default: "Generate a dashboard",
- label: "Prompt",
- },
- accentColor: {
- type: "color",
- default: "#7c3aed",
- label: "Accent color",
- },
- cardCount: {
- type: "number",
- default: 4,
- min: 2,
- max: 6,
- step: 1,
- label: "Card count",
- },
- },
- durationInFrames: 180,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
-};
diff --git a/registry/remocn/ai-generation-canvas/index.tsx b/registry/remocn/ai-generation-canvas/index.tsx
deleted file mode 100644
index 4689ffdf..00000000
--- a/registry/remocn/ai-generation-canvas/index.tsx
+++ /dev/null
@@ -1,460 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface AIGenerationCanvasProps {
- prompt?: string;
- accentColor?: string;
- cardCount?: number;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-
-function MiniBarChart({ accentColor }: { accentColor: string }) {
- const bars = [0.4, 0.7, 0.55, 0.85, 0.5, 0.95, 0.65];
- return (
- <div
- style={{
- display: "flex",
- alignItems: "flex-end",
- gap: 6,
- height: 60,
- marginTop: 12,
- }}
- >
- {bars.map((h, i) => (
- <div
- key={i}
- style={{
- flex: 1,
- height: `${h * 100}%`,
- background: accentColor,
- borderRadius: 3,
- opacity: 0.3 + h * 0.7,
- }}
- />
- ))}
- </div>
- );
-}
-
-function MiniRows() {
- return (
- <div
- style={{
- marginTop: 12,
- display: "flex",
- flexDirection: "column",
- gap: 6,
- }}
- >
- {[0.9, 0.7, 0.85, 0.6].map((w, i) => (
- <div
- key={i}
- style={{
- height: 8,
- width: `${w * 100}%`,
- background: "rgba(255,255,255,0.12)",
- borderRadius: 4,
- }}
- />
- ))}
- </div>
- );
-}
-
-function StatBlock({
- accentColor,
- value,
-}: {
- accentColor: string;
- value: string;
-}) {
- return (
- <div style={{ marginTop: 8 }}>
- <div
- style={{
- fontSize: 36,
- fontWeight: 700,
- color: "white",
- letterSpacing: "-0.03em",
- fontFamily: FONT_FAMILY,
- }}
- >
- {value}
- </div>
- <div
- style={{
- fontSize: 12,
- color: accentColor,
- marginTop: 2,
- fontWeight: 500,
- }}
- >
- +12.4% this week
- </div>
- </div>
- );
-}
-
-function CardContent({
- index,
- accentColor,
-}: {
- index: number;
- accentColor: string;
-}) {
- const titles = [
- "Revenue",
- "Active Users",
- "Sessions",
- "Conversion",
- "Retention",
- "Latency",
- ];
- const values = ["$48.2k", "12,840", "9.1k", "3.8%", "76%", "142ms"];
- const variant = index % 3;
- return (
- <div style={{ width: "100%", height: "100%", padding: 18 }}>
- <div
- style={{
- fontSize: 12,
- color: "rgba(255,255,255,0.55)",
- fontWeight: 500,
- fontFamily: FONT_FAMILY,
- letterSpacing: "0.02em",
- textTransform: "uppercase",
- }}
- >
- {titles[index % titles.length]}
- </div>
- {variant === 0 ? (
- <>
- <StatBlock
- accentColor={accentColor}
- value={values[index % values.length]}
- />
- <MiniBarChart accentColor={accentColor} />
- </>
- ) : variant === 1 ? (
- <>
- <StatBlock
- accentColor={accentColor}
- value={values[index % values.length]}
- />
- <MiniRows />
- </>
- ) : (
- <>
- <MiniBarChart accentColor={accentColor} />
- <MiniRows />
- </>
- )}
- </div>
- );
-}
-
-export function AIGenerationCanvas({
- prompt = "Generate a dashboard",
- accentColor = "#7c3aed",
- cardCount = 4,
- speed = 1,
- className,
-}: AIGenerationCanvasProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- // Phase boundaries
- const P1_END = 40;
- const P2_END = 70;
- const P3_END = 100;
-
- // Phase 1: typewriter
- const charCount = Math.floor(
- interpolate(frame, [4, P1_END - 2], [0, prompt.length], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- }),
- );
- const typedText = prompt.substring(0, charCount);
- const cursorVisible = Math.floor(frame / 12) % 2 === 0;
-
- // Phase 2: input -> header transform
- const transformProgress = spring({
- frame: frame - P1_END,
- fps,
- config: { mass: 1, damping: 16, stiffness: 110 },
- durationInFrames: 30,
- });
-
- // Centered input dimensions
- const inputCenteredW = 640;
- const inputCenteredH = 80;
- const headerW = 1200;
- const headerH = 56;
- const inputW = interpolate(
- transformProgress,
- [0, 1],
- [inputCenteredW, headerW],
- );
- const inputH = interpolate(
- transformProgress,
- [0, 1],
- [inputCenteredH, headerH],
- );
- const inputTop = interpolate(transformProgress, [0, 1], [320, 40]);
- const inputRadius = interpolate(transformProgress, [0, 1], [16, 12]);
- const inputFontSize = interpolate(transformProgress, [0, 1], [24, 14]);
-
- // Phase 3: skeleton fade
- const skeletonOpacity = interpolate(frame, [P2_END, P3_END], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- // Shimmer position
- const shimmerPos = ((frame * 1.5) % 200) - 50;
-
- // Phase 4: card flip reveal (after frame 100)
- const cards = Array.from({ length: cardCount });
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- background: "#0a0a0a",
- overflow: "hidden",
- fontFamily: FONT_FAMILY,
- }}
- >
- {/* subtle grid backdrop */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- backgroundImage:
- "linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px)",
- backgroundSize: "40px 40px",
- maskImage:
- "radial-gradient(ellipse at center, black 40%, transparent 80%)",
- }}
- />
-
- {/* Skeleton + content cards grid (Phase 3 onward) */}
- {frame > P2_END && (
- <div
- style={{
- position: "absolute",
- top: 130,
- left: 40,
- right: 40,
- bottom: 40,
- display: "grid",
- gridTemplateColumns: `repeat(${Math.min(cardCount, 4)}, 1fr)`,
- gap: 20,
- }}
- >
- {cards.map((_, i) => {
- const cardStart = P3_END + i * 8;
- const flipProgress = spring({
- frame: frame - cardStart,
- fps,
- config: { mass: 0.9, damping: 14, stiffness: 100 },
- durationInFrames: 30,
- });
- const rotation = interpolate(flipProgress, [0, 1], [0, 180]);
- const showSkeleton = rotation < 90;
-
- return (
- <div
- key={i}
- style={{
- position: "relative",
- perspective: 1200,
- opacity: skeletonOpacity,
- }}
- >
- <div
- style={{
- position: "relative",
- width: "100%",
- height: "100%",
- transformStyle: "preserve-3d",
- transform: `rotateY(${rotation}deg)`,
- }}
- >
- {/* Skeleton face */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: "#141416",
- border: "1px solid rgba(255,255,255,0.06)",
- borderRadius: 14,
- backfaceVisibility: "hidden",
- overflow: "hidden",
- visibility: showSkeleton ? "visible" : "hidden",
- }}
- >
- {/* shimmer overlay */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: `linear-gradient(110deg, transparent 0%, transparent ${shimmerPos}%, ${accentColor}22 ${shimmerPos + 15}%, transparent ${shimmerPos + 30}%)`,
- }}
- />
- <div style={{ padding: 18 }}>
- <div
- style={{
- width: "40%",
- height: 10,
- background: "rgba(255,255,255,0.08)",
- borderRadius: 4,
- }}
- />
- <div
- style={{
- width: "70%",
- height: 28,
- background: "rgba(255,255,255,0.08)",
- borderRadius: 6,
- marginTop: 14,
- }}
- />
- <div
- style={{
- width: "100%",
- height: 60,
- background: "rgba(255,255,255,0.05)",
- borderRadius: 6,
- marginTop: 16,
- }}
- />
- </div>
- </div>
- {/* Content face */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: "#141416",
- border: `1px solid ${accentColor}33`,
- borderRadius: 14,
- backfaceVisibility: "hidden",
- transform: "rotateY(180deg)",
- overflow: "hidden",
- boxShadow: `0 0 0 1px ${accentColor}22, 0 20px 40px rgba(0,0,0,0.4)`,
- }}
- >
- <CardContent index={i} accentColor={accentColor} />
- </div>
- </div>
- </div>
- );
- })}
- </div>
- )}
-
- {/* Prompt input — centered then transforms to header */}
- <div
- style={{
- position: "absolute",
- left: "50%",
- top: inputTop,
- width: inputW,
- height: inputH,
- marginLeft: -inputW / 2,
- background: "rgba(20,20,22,0.85)",
- border: `1px solid ${accentColor}55`,
- borderRadius: inputRadius,
- backdropFilter: "blur(12px)",
- display: "flex",
- alignItems: "center",
- padding: "0 20px",
- boxShadow:
- transformProgress < 0.5
- ? `0 0 0 6px ${accentColor}11, 0 30px 80px rgba(0,0,0,0.6)`
- : "0 8px 24px rgba(0,0,0,0.4)",
- }}
- >
- {/* sparkle icon */}
- <div
- style={{
- width: 20,
- height: 20,
- marginRight: 12,
- color: accentColor,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- flexShrink: 0,
- }}
- >
- <svg viewBox="0 0 24 24" width="20" height="20" fill="currentColor">
- <path d="M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5L12 2z" />
- </svg>
- </div>
- <div
- style={{
- color: "white",
- fontSize: inputFontSize,
- fontWeight: 500,
- letterSpacing: "-0.01em",
- whiteSpace: "nowrap",
- overflow: "hidden",
- }}
- >
- {typedText}
- {frame < P1_END && cursorVisible && (
- <span
- style={{
- display: "inline-block",
- width: 2,
- height: inputFontSize,
- background: accentColor,
- marginLeft: 2,
- verticalAlign: "middle",
- }}
- />
- )}
- </div>
- {transformProgress > 0.6 && (
- <div
- style={{
- marginLeft: "auto",
- display: "flex",
- gap: 8,
- alignItems: "center",
- opacity: (transformProgress - 0.6) / 0.4,
- }}
- >
- <div
- style={{
- width: 8,
- height: 8,
- borderRadius: 4,
- background: accentColor,
- boxShadow: `0 0 12px ${accentColor}`,
- }}
- />
- <div
- style={{
- fontSize: 12,
- color: "rgba(255,255,255,0.6)",
- fontWeight: 500,
- }}
- >
- Generating
- </div>
- </div>
- )}
- </div>
- </div>
- );
-}
diff --git a/registry/remocn/browser-flow/config.ts b/registry/remocn/browser-flow/config.ts
deleted file mode 100644
index 571bc9c3..00000000
--- a/registry/remocn/browser-flow/config.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const browserFlowConfig: ComponentConfig = {
- componentName: "BrowserFlow",
- importPath: "@/components/remocn/browser-flow",
- controls: {
- url: {
- type: "text",
- default: "remocn.dev",
- label: "URL",
- },
- },
- durationInFrames: 270,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: {
- type: "gradient",
- value: "radial-gradient(ellipse at center, #11141c 0%, #050505 75%)",
- },
-};
diff --git a/registry/remocn/browser-flow/index.tsx b/registry/remocn/browser-flow/index.tsx
deleted file mode 100644
index bc737706..00000000
--- a/registry/remocn/browser-flow/index.tsx
+++ /dev/null
@@ -1,527 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface BrowserFlowProps {
- url?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-const MONO_FAMILY =
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace";
-
-function MacDots({ size = 12 }: { size?: number }) {
- return (
- <div style={{ display: "flex", gap: 8, alignItems: "center" }}>
- {["#ff5f57", "#febc2e", "#28c840"].map((c) => (
- <div
- key={c}
- style={{
- width: size,
- height: size,
- borderRadius: "50%",
- background: c,
- opacity: 0.85,
- }}
- />
- ))}
- </div>
- );
-}
-
-function CursorSVG() {
- return (
- <svg width="22" height="28" viewBox="0 0 22 28" fill="none">
- <path
- d="M2 2L2 22L7 17.5L10.5 25L13.5 23.5L10 16L17 16L2 2Z"
- fill="white"
- stroke="black"
- strokeWidth="1.5"
- strokeLinejoin="round"
- />
- </svg>
- );
-}
-
-function easeInOut(t: number) {
- return t < 0.5 ? 2 * t * t : 1 - (-2 * t + 2) ** 2 / 2;
-}
-
-export function BrowserFlow({
- url = "remocn.dev",
- speed = 1,
- className,
-}: BrowserFlowProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- // ── Browser dimensions ────────────────────────────
- const browserWidth = 1100;
- const browserHeight = 620;
- const chromeHeight = 56;
- const browserLeft = (1280 - browserWidth) / 2;
- const browserTop = (720 - browserHeight) / 2;
-
- // ── URL typing (frames 0..40) ─────────────────────
- const typingProgress = interpolate(frame, [4, 38], [0, url.length], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
- const typedChars = Math.floor(typingProgress);
- const typedUrl = url.slice(0, typedChars);
- const showCaret = frame < 50 && Math.floor(frame / 12) % 2 === 0;
-
- // Autocomplete suggestion appears once a few chars typed
- const showSuggestion = typedChars >= 2 && frame < 48;
- const suggestion = url;
-
- // ── Progress bar ──────────────────────────────────
- // 40..50: 0 -> 15
- // 50..65: hold at 15
- // 65..85: 15 -> 100
- // 85..95: fade out
- let progress = 0;
- if (frame < 40) progress = 0;
- else if (frame < 50)
- progress = interpolate(frame, [40, 50], [0, 15], {
- extrapolateRight: "clamp",
- });
- else if (frame < 65) progress = 15;
- else if (frame < 85)
- progress = interpolate(frame, [65, 85], [15, 100], {
- extrapolateRight: "clamp",
- });
- else progress = 100;
-
- const progressOpacity =
- frame < 40
- ? 0
- : frame < 85
- ? 1
- : interpolate(frame, [85, 95], [1, 0], {
- extrapolateRight: "clamp",
- });
-
- // ── Page render ───────────────────────────────────
- const pageStart = 95;
- const pageOpacity = interpolate(frame, [pageStart, pageStart + 12], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- // ── Page scroll & cursor motion ───────────────────
- const scrollStart = 115;
- const scrollEnd = 230;
- const scrollT = interpolate(frame, [scrollStart, scrollEnd], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
- const scrollEased = easeInOut(scrollT);
- const maxScroll = 600;
- const scrollY = scrollEased * maxScroll;
-
- // Cursor path: starts off the address bar area, moves down toward CTA inside viewport
- // Coordinates relative to the full 1280x720 frame.
- const cursorStartX = browserLeft + 380;
- const cursorStartY = browserTop + chromeHeight + 60;
- const cursorEndX = browserLeft + browserWidth / 2;
- const cursorEndY = browserTop + chromeHeight + 380;
-
- const cursorT = interpolate(frame, [pageStart + 5, scrollEnd], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
- const cursorEased = easeInOut(cursorT);
- // arc bias on Y for organic feel
- const arcOffset = Math.sin(cursorEased * Math.PI) * 30;
- const cursorX =
- cursorStartX + (cursorEndX - cursorStartX) * cursorEased + arcOffset * 0.6;
- const cursorY =
- cursorStartY + (cursorEndY - cursorStartY) * cursorEased - arcOffset;
-
- // Click animation near the end
- const clickFrame = scrollEnd + 4;
- const clickSpring = spring({
- frame: frame - clickFrame,
- fps,
- config: { mass: 0.4, damping: 12, stiffness: 220 },
- durationInFrames: 18,
- });
- const cursorClickScale = interpolate(clickSpring, [0, 0.4, 1], [1, 0.85, 1], {
- extrapolateRight: "clamp",
- });
- const buttonClickScale =
- frame >= clickFrame
- ? interpolate(clickSpring, [0, 0.4, 1], [1, 0.98, 1], {
- extrapolateRight: "clamp",
- })
- : 1;
-
- // Address bar focus state (highlighted while typing)
- const addressFocused = frame < 50;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- fontFamily: FONT_FAMILY,
- }}
- >
- {/* Browser window */}
- <div
- style={{
- position: "absolute",
- left: browserLeft,
- top: browserTop,
- width: browserWidth,
- height: browserHeight,
- borderRadius: 16,
- overflow: "hidden",
- background: "#0a0a0c",
- border: "1px solid rgba(255,255,255,0.08)",
- boxShadow:
- "0 50px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06)",
- }}
- >
- {/* Chrome */}
- <div
- style={{
- position: "relative",
- height: chromeHeight,
- display: "flex",
- alignItems: "center",
- gap: 14,
- paddingLeft: 18,
- paddingRight: 18,
- background: "rgba(20,20,24,0.95)",
- borderBottom: "1px solid rgba(255,255,255,0.06)",
- }}
- >
- <MacDots />
- {/* nav arrows */}
- <div
- style={{
- display: "flex",
- gap: 6,
- marginLeft: 8,
- color: "rgba(255,255,255,0.35)",
- fontSize: 16,
- }}
- >
- <span>‹</span>
- <span>›</span>
- </div>
- {/* address bar */}
- <div
- style={{
- flex: 1,
- position: "relative",
- height: 32,
- borderRadius: 16,
- background: addressFocused
- ? "rgba(255,255,255,0.08)"
- : "rgba(255,255,255,0.05)",
- border: `1px solid ${
- addressFocused
- ? "rgba(120,160,255,0.45)"
- : "rgba(255,255,255,0.07)"
- }`,
- display: "flex",
- alignItems: "center",
- paddingLeft: 14,
- paddingRight: 14,
- fontFamily: MONO_FAMILY,
- fontSize: 13,
- color: "rgba(255,255,255,0.85)",
- boxShadow: addressFocused
- ? "0 0 0 3px rgba(120,160,255,0.12)"
- : "none",
- }}
- >
- <span style={{ color: "rgba(255,255,255,0.4)", marginRight: 8 }}>
- ⌕
- </span>
- <span>{typedUrl}</span>
- {showCaret && (
- <span
- style={{
- display: "inline-block",
- width: 1.5,
- height: 16,
- background: "rgba(255,255,255,0.85)",
- marginLeft: 1,
- }}
- />
- )}
-
- {/* Autocomplete suggestion dropdown */}
- {showSuggestion && (
- <div
- style={{
- position: "absolute",
- left: 0,
- right: 0,
- top: "calc(100% + 6px)",
- background: "rgba(22,22,26,0.98)",
- border: "1px solid rgba(255,255,255,0.08)",
- borderRadius: 10,
- padding: "10px 14px",
- fontFamily: MONO_FAMILY,
- fontSize: 13,
- color: "rgba(255,255,255,0.85)",
- display: "flex",
- alignItems: "center",
- gap: 10,
- boxShadow: "0 20px 50px rgba(0,0,0,0.5)",
- zIndex: 10,
- }}
- >
- <span style={{ color: "rgba(255,255,255,0.4)" }}>↗</span>
- <span>
- <span style={{ color: "white" }}>{typedUrl}</span>
- <span style={{ color: "rgba(255,255,255,0.4)" }}>
- {suggestion.slice(typedChars)}
- </span>
- </span>
- </div>
- )}
- </div>
- <div style={{ width: 60 }} />
-
- {/* Progress bar */}
- <div
- style={{
- position: "absolute",
- left: 0,
- right: 0,
- bottom: 0,
- height: 2,
- opacity: progressOpacity,
- }}
- >
- <div
- style={{
- width: `${progress}%`,
- height: "100%",
- background: "linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%)",
- boxShadow: "0 0 8px rgba(96,165,250,0.6)",
- }}
- />
- </div>
- </div>
-
- {/* Page viewport */}
- <div
- style={{
- position: "absolute",
- left: 0,
- right: 0,
- top: chromeHeight,
- bottom: 0,
- overflow: "hidden",
- background: "#0a0a0c",
- opacity: pageOpacity,
- }}
- >
- <div
- style={{
- position: "absolute",
- left: 0,
- right: 0,
- top: 0,
- transform: `translateY(${-scrollY}px)`,
- willChange: "transform",
- }}
- >
- {/* Header */}
- <div
- style={{
- height: 68,
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- padding: "0 60px",
- borderBottom: "1px solid rgba(255,255,255,0.05)",
- }}
- >
- <div
- style={{
- fontWeight: 700,
- fontSize: 18,
- color: "white",
- letterSpacing: "-0.02em",
- }}
- >
- remocn
- </div>
- <div
- style={{
- display: "flex",
- gap: 28,
- fontSize: 14,
- color: "rgba(255,255,255,0.65)",
- }}
- >
- <span>Components</span>
- <span>Docs</span>
- <span>GitHub</span>
- </div>
- </div>
-
- {/* Hero */}
- <div
- style={{
- padding: "100px 60px 80px",
- display: "flex",
- flexDirection: "column",
- gap: 24,
- alignItems: "center",
- textAlign: "center",
- }}
- >
- <div
- style={{
- fontSize: 13,
- color: "rgba(120,160,255,0.85)",
- fontWeight: 500,
- letterSpacing: "0.02em",
- }}
- >
- shadcn registry for Remotion
- </div>
- <div
- style={{
- fontSize: 64,
- fontWeight: 700,
- letterSpacing: "-0.04em",
- color: "white",
- lineHeight: 1.05,
- maxWidth: 720,
- }}
- >
- Production-ready video blocks.
- </div>
- <div
- style={{
- fontSize: 17,
- color: "rgba(255,255,255,0.6)",
- maxWidth: 520,
- lineHeight: 1.5,
- }}
- >
- Drop-in animations, transitions, and backgrounds for Remotion.
- Own your code.
- </div>
-
- {/* CTA — clicked at the end */}
- <button
- type="button"
- style={{
- marginTop: 12,
- padding: "16px 32px",
- borderRadius: 12,
- background: "white",
- color: "#0a0a0c",
- fontFamily: FONT_FAMILY,
- fontSize: 15,
- fontWeight: 600,
- border: "none",
- transform: `scale(${buttonClickScale})`,
- boxShadow:
- frame >= clickFrame
- ? "0 0 0 6px rgba(255,255,255,0.08)"
- : "0 10px 30px rgba(255,255,255,0.1)",
- willChange: "transform",
- }}
- >
- Browse components →
- </button>
- </div>
-
- {/* Sections */}
- {[
- { title: "Typography", color: "#3b82f6" },
- { title: "Backgrounds", color: "#a855f7" },
- { title: "Transitions", color: "#22c55e" },
- ].map((s) => (
- <div
- key={s.title}
- style={{
- margin: "40px 60px",
- padding: "40px",
- borderRadius: 16,
- background:
- "linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%)",
- border: "1px solid rgba(255,255,255,0.06)",
- display: "flex",
- alignItems: "center",
- gap: 28,
- }}
- >
- <div
- style={{
- width: 64,
- height: 64,
- borderRadius: 14,
- background: `${s.color}22`,
- border: `1px solid ${s.color}55`,
- }}
- />
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: 6,
- }}
- >
- <div
- style={{
- fontSize: 22,
- fontWeight: 600,
- color: "white",
- letterSpacing: "-0.02em",
- }}
- >
- {s.title}
- </div>
- <div
- style={{
- fontSize: 14,
- color: "rgba(255,255,255,0.55)",
- }}
- >
- Hand-tuned primitives, copied straight into your project.
- </div>
- </div>
- </div>
- ))}
- </div>
- </div>
- </div>
-
- {/* Virtual cursor */}
- {frame >= pageStart && (
- <div
- style={{
- position: "absolute",
- left: cursorX,
- top: cursorY,
- transform: `scale(${cursorClickScale})`,
- transformOrigin: "top left",
- zIndex: 9999,
- filter: "drop-shadow(0 4px 8px rgba(0,0,0,0.5))",
- willChange: "transform",
- }}
- >
- <CursorSVG />
- </div>
- )}
- </div>
- );
-}
diff --git a/registry/remocn/code-accordion/config.ts b/registry/remocn/code-accordion/config.ts
deleted file mode 100644
index abb7edd5..00000000
--- a/registry/remocn/code-accordion/config.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const codeAccordionConfig: ComponentConfig = {
- componentName: "CodeAccordion",
- importPath: "@/components/remocn/code-accordion",
- controls: {
- title: { type: "text", default: "process-orders.ts", label: "Title" },
- collapseAt: {
- type: "number",
- default: 30,
- min: 0,
- max: 240,
- step: 1,
- label: "Collapse at (frame)",
- },
- fontSize: {
- type: "number",
- default: 16,
- min: 10,
- max: 28,
- step: 1,
- label: "Font size",
- },
- width: {
- type: "number",
- default: 720,
- min: 320,
- max: 1100,
- step: 10,
- label: "Width",
- },
- cardColor: { type: "color", default: "#0a0a0a", label: "Card color" },
- textColor: { type: "color", default: "#e4e4e7", label: "Text color" },
- mutedColor: { type: "color", default: "#52525b", label: "Muted color" },
- },
- durationInFrames: 150,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: { type: "color", value: "#050505" },
-};
diff --git a/registry/remocn/code-accordion/index.tsx b/registry/remocn/code-accordion/index.tsx
deleted file mode 100644
index d1d1095a..00000000
--- a/registry/remocn/code-accordion/index.tsx
+++ /dev/null
@@ -1,264 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface CodeAccordionProps {
- lines?: string[];
- collapseRange?: [number, number];
- collapseAt?: number;
- title?: string;
- fontSize?: number;
- width?: number;
- cardColor?: string;
- textColor?: string;
- mutedColor?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_MONO =
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace";
-
-const DEFAULT_LINES = [
- "export function processOrders(orders) {",
- " const valid = [];",
- " for (const order of orders) {",
- " if (!order.id) continue;",
- " if (!order.customer) continue;",
- " if (!order.items?.length) continue;",
- " if (order.total <= 0) continue;",
- " if (order.status === 'cancelled') continue;",
- " if (order.status === 'refunded') continue;",
- " const enriched = enrich(order);",
- " const validated = validate(enriched);",
- " if (!validated.ok) continue;",
- " const priced = price(validated.value);",
- " const taxed = applyTax(priced);",
- " const shipped = applyShipping(taxed);",
- " valid.push(shipped);",
- " }",
- " return valid;",
- "}",
-];
-
-export function CodeAccordion({
- lines = DEFAULT_LINES,
- collapseRange = [3, 14],
- collapseAt = 30,
- title = "process-orders.ts",
- fontSize = 16,
- width = 720,
- cardColor = "#0a0a0a",
- textColor = "#e4e4e7",
- mutedColor = "#52525b",
- speed = 1,
- className,
-}: CodeAccordionProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- const lineHeight = Math.round(fontSize * 1.55);
- const [start, end] = collapseRange;
- const collapsedCount = Math.max(0, end - start + 1);
-
- // Spring drives BOTH the inner collapse height AND a tiny y-bounce on the
- // window so the accordion feels like it has weight.
- const collapseProgress = spring({
- frame: frame - collapseAt,
- fps,
- config: { damping: 10, stiffness: 110, mass: 1 },
- });
-
- const collapsedHeight = interpolate(
- collapseProgress,
- [0, 1],
- [collapsedCount * lineHeight, lineHeight], // collapses down to the placeholder bar's height
- );
-
- const collapsedOpacity = interpolate(collapseProgress, [0, 0.6], [1, 0], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- const placeholderOpacity = interpolate(collapseProgress, [0.4, 1], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- const before = lines.slice(0, start);
- const collapsed = lines.slice(start, end + 1);
- const after = lines.slice(end + 1);
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- fontFamily: FONT_MONO,
- }}
- >
- <div
- style={{
- width,
- background: cardColor,
- borderRadius: 14,
- overflow: "hidden",
- boxShadow:
- "0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05)",
- border: "1px solid rgba(255,255,255,0.06)",
- }}
- >
- {/* Chrome */}
- <div
- style={{
- height: 38,
- display: "flex",
- alignItems: "center",
- gap: 8,
- padding: "0 14px",
- borderBottom: "1px solid rgba(255,255,255,0.05)",
- }}
- >
- <Light color="#ff5f57" />
- <Light color="#febc2e" />
- <Light color="#28c840" />
- <div
- style={{
- flex: 1,
- textAlign: "center",
- color: mutedColor,
- fontSize: 12,
- }}
- >
- {title}
- </div>
- </div>
-
- {/* Code body */}
- <div style={{ padding: "16px 0", fontSize, lineHeight: 1.55 }}>
- {before.map((line, i) => (
- <Line
- key={`b-${i}`}
- line={line}
- index={i}
- lineHeight={lineHeight}
- textColor={textColor}
- mutedColor={mutedColor}
- />
- ))}
-
- {/* Collapsing region */}
- <div
- style={{
- position: "relative",
- height: collapsedHeight,
- overflow: "hidden",
- transition: "none",
- }}
- >
- <div style={{ opacity: collapsedOpacity }}>
- {collapsed.map((line, i) => (
- <Line
- key={`c-${i}`}
- line={line}
- index={start + i}
- lineHeight={lineHeight}
- textColor={textColor}
- mutedColor={mutedColor}
- />
- ))}
- </div>
-
- {/* Placeholder bar — sits at the bottom so it sits on the same
- baseline as the collapsed-into row. */}
- <div
- style={{
- position: "absolute",
- left: 0,
- right: 0,
- bottom: 0,
- height: lineHeight,
- display: "flex",
- alignItems: "center",
- paddingLeft: 56,
- color: mutedColor,
- fontStyle: "italic",
- opacity: placeholderOpacity,
- }}
- >
- ⋯ {collapsedCount} lines collapsed
- </div>
- </div>
-
- {after.map((line, i) => (
- <Line
- key={`a-${i}`}
- line={line}
- index={end + 1 + i}
- lineHeight={lineHeight}
- textColor={textColor}
- mutedColor={mutedColor}
- />
- ))}
- </div>
- </div>
- </div>
- );
-}
-
-function Light({ color }: { color: string }) {
- return (
- <div
- style={{
- width: 11,
- height: 11,
- borderRadius: "50%",
- background: color,
- opacity: 0.6,
- }}
- />
- );
-}
-
-function Line({
- line,
- index,
- lineHeight,
- textColor,
- mutedColor,
-}: {
- line: string;
- index: number;
- lineHeight: number;
- textColor: string;
- mutedColor: string;
-}) {
- return (
- <div
- style={{
- height: lineHeight,
- display: "flex",
- alignItems: "center",
- whiteSpace: "pre",
- color: textColor,
- }}
- >
- <span
- style={{
- width: 56,
- textAlign: "right",
- paddingRight: 16,
- color: mutedColor,
- userSelect: "none",
- }}
- >
- {index + 1}
- </span>
- <span>{line}</span>
- </div>
- );
-}
diff --git a/registry/remocn/code-diff-wipe/config.ts b/registry/remocn/code-diff-wipe/config.ts
deleted file mode 100644
index 1454eec7..00000000
--- a/registry/remocn/code-diff-wipe/config.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const codeDiffWipeConfig: ComponentConfig = {
- componentName: "CodeDiffWipe",
- importPath: "@/components/remocn/code-diff-wipe",
- controls: {
- language: { type: "text", default: "tsx", label: "Language" },
- background: { type: "color", default: "#0a0a0a", label: "Background" },
- accent: { type: "color", default: "#0ea5e9", label: "Accent" },
- transitionStart: {
- type: "number",
- default: 20,
- min: 0,
- max: 120,
- step: 1,
- label: "Transition start",
- },
- transitionDuration: {
- type: "number",
- default: 60,
- min: 8,
- max: 180,
- step: 1,
- label: "Transition duration",
- },
- showHandle: { type: "boolean", default: true, label: "Show handle" },
- },
- durationInFrames: 120,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
-};
diff --git a/registry/remocn/code-diff-wipe/index.tsx b/registry/remocn/code-diff-wipe/index.tsx
deleted file mode 100644
index 48757df7..00000000
--- a/registry/remocn/code-diff-wipe/index.tsx
+++ /dev/null
@@ -1,258 +0,0 @@
-"use client";
-
-import { Easing, interpolate, useCurrentFrame } from "remotion";
-
-export interface CodeDiffWipeProps {
- before?: string;
- after?: string;
- language?: string;
- background?: string;
- accent?: string;
- transitionStart?: number;
- transitionDuration?: number;
- showHandle?: boolean;
- speed?: number;
- className?: string;
-}
-
-const DEFAULT_BEFORE = `function getUser(id) {
- return fetch('/api/user/' + id)
- .then(function (res) {
- return res.json();
- })
- .then(function (data) {
- if (data.error) {
- throw new Error(data.error);
- }
- return data.user;
- });
-}`;
-
-const DEFAULT_AFTER = `async function getUser(id: string) {
- const res = await fetch(\`/api/user/\${id}\`);
- const { user, error } = await res.json();
- if (error) throw new Error(error);
- return user;
-}`;
-
-export function CodeDiffWipe({
- before = DEFAULT_BEFORE,
- after = DEFAULT_AFTER,
- language = "tsx",
- background = "#0a0a0a",
- accent = "#0ea5e9",
- transitionStart = 20,
- transitionDuration = 60,
- showHandle = true,
- speed = 1,
- className,
-}: CodeDiffWipeProps) {
- const frame = useCurrentFrame() * speed;
-
- const progress = interpolate(
- frame,
- [transitionStart, transitionStart + transitionDuration],
- [0, 1],
- {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- easing: Easing.inOut(Easing.cubic),
- },
- );
-
- const wipePercent = progress * 100;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- background: "#050505",
- fontFamily:
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",
- }}
- >
- <div
- style={{
- position: "relative",
- width: 980,
- height: 560,
- borderRadius: 14,
- overflow: "hidden",
- background,
- boxShadow:
- "0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06)",
- }}
- >
- {/* AFTER (bottom layer) */}
- <CodePane
- code={after}
- background={background}
- label="AFTER"
- labelColor={accent}
- language={language}
- />
-
- {/* BEFORE (top layer, clipped) */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- clipPath: `inset(0 ${wipePercent}% 0 0)`,
- }}
- >
- <CodePane
- code={before}
- background={background}
- label="BEFORE"
- labelColor="#ef4444"
- language={language}
- dimmed
- />
- </div>
-
- {/* Handle */}
- {showHandle && wipePercent > 0 && wipePercent < 100 && (
- <div
- style={{
- position: "absolute",
- top: 0,
- bottom: 0,
- left: `${wipePercent}%`,
- width: 2,
- background: accent,
- transform: "translateX(-1px)",
- boxShadow: `0 0 24px ${accent}`,
- }}
- >
- <div
- style={{
- position: "absolute",
- top: "50%",
- left: "50%",
- transform: "translate(-50%, -50%)",
- width: 40,
- height: 40,
- borderRadius: "50%",
- background: accent,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- color: "#0a0a0a",
- fontSize: 18,
- fontWeight: 700,
- boxShadow: `0 0 32px ${accent}aa`,
- }}
- >
- {"<>"}
- </div>
- </div>
- )}
- </div>
- </div>
- );
-}
-
-function CodePane({
- code,
- background,
- label,
- labelColor,
- language,
- dimmed,
-}: {
- code: string;
- background: string;
- label: string;
- labelColor: string;
- language: string;
- dimmed?: boolean;
-}) {
- const lines = code.split("\n");
- return (
- <div
- style={{
- position: "absolute",
- inset: 0,
- background,
- display: "flex",
- flexDirection: "column",
- }}
- >
- {/* Header */}
- <div
- style={{
- height: 44,
- padding: "0 18px",
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- borderBottom: "1px solid rgba(255,255,255,0.06)",
- background: "rgba(255,255,255,0.02)",
- }}
- >
- <div
- style={{
- color: "#71717a",
- fontSize: 13,
- fontFamily:
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace",
- }}
- >
- {language}
- </div>
- <div
- style={{
- fontSize: 11,
- fontWeight: 700,
- letterSpacing: "0.12em",
- color: labelColor,
- padding: "4px 10px",
- borderRadius: 999,
- background: `${labelColor}1a`,
- border: `1px solid ${labelColor}55`,
- }}
- >
- {label}
- </div>
- </div>
-
- {/* Code */}
- <pre
- style={{
- flex: 1,
- margin: 0,
- padding: 24,
- color: dimmed ? "#71717a" : "#e4e4e7",
- fontSize: 16,
- lineHeight: 1.6,
- fontFamily:
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace",
- overflow: "hidden",
- whiteSpace: "pre",
- }}
- >
- {lines.map((line, i) => (
- <div key={i} style={{ display: "flex" }}>
- <span
- style={{
- width: 32,
- textAlign: "right",
- marginRight: 16,
- color: "#3f3f46",
- userSelect: "none",
- }}
- >
- {i + 1}
- </span>
- <span>{line || " "}</span>
- </div>
- ))}
- </pre>
- </div>
- );
-}
diff --git a/registry/remocn/dashboard-populate/config.ts b/registry/remocn/dashboard-populate/config.ts
deleted file mode 100644
index 769320b8..00000000
--- a/registry/remocn/dashboard-populate/config.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const dashboardPopulateConfig: ComponentConfig = {
- componentName: "DashboardPopulate",
- importPath: "@/components/remocn/dashboard-populate",
- controls: {
- accentColor: {
- type: "color",
- default: "#22c55e",
- label: "Accent color",
- },
- kpiTarget: {
- type: "number-input",
- default: 128400,
- min: 1000,
- max: 1000000,
- step: 100,
- label: "KPI target",
- },
- },
- durationInFrames: 180,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: { type: "color", value: "#09090b" },
-};
diff --git a/registry/remocn/dashboard-populate/index.tsx b/registry/remocn/dashboard-populate/index.tsx
deleted file mode 100644
index 072f1d4b..00000000
--- a/registry/remocn/dashboard-populate/index.tsx
+++ /dev/null
@@ -1,431 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface DashboardPopulateProps {
- accentColor?: string;
- kpiTarget?: number;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-const MONO_FAMILY =
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace";
-
-const STRUCTURE_END = 15;
-
-function formatNumber(n: number) {
- return n.toLocaleString("en-US");
-}
-
-const BAR_VALUES = [0.55, 0.78, 0.42, 0.92, 0.66];
-
-// Hand-coded line chart points (in 0..100 viewBox space)
-const LINE_POINTS: Array<[number, number]> = [
- [0, 70],
- [16, 55],
- [32, 62],
- [48, 38],
- [64, 45],
- [80, 22],
- [100, 12],
-];
-
-function buildLinePath() {
- return LINE_POINTS.map(([x, y], i) => `${i === 0 ? "M" : "L"}${x},${y}`).join(
- " ",
- );
-}
-
-function Tile({
- title,
- children,
- structureOpacity,
-}: {
- title: string;
- children: React.ReactNode;
- structureOpacity: number;
-}) {
- return (
- <div
- style={{
- position: "relative",
- background: "linear-gradient(180deg, #131316 0%, #0d0d10 100%)",
- border: "1px solid rgba(255,255,255,0.08)",
- borderRadius: 16,
- padding: 24,
- display: "flex",
- flexDirection: "column",
- gap: 16,
- opacity: structureOpacity,
- boxShadow:
- "inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.3)",
- }}
- >
- <div
- style={{
- fontSize: 12,
- fontWeight: 500,
- textTransform: "uppercase",
- letterSpacing: "0.08em",
- color: "rgba(255,255,255,0.5)",
- }}
- >
- {title}
- </div>
- <div style={{ flex: 1, position: "relative" }}>{children}</div>
- </div>
- );
-}
-
-export function DashboardPopulate({
- accentColor = "#22c55e",
- kpiTarget = 128400,
- speed = 1,
- className,
-}: DashboardPopulateProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- // Phase 1: structure fade in 0..15
- const structureOpacity = interpolate(frame, [0, STRUCTURE_END], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- // KPI count up
- const kpiSpring = spring({
- frame: frame - STRUCTURE_END,
- fps,
- config: { damping: 20, stiffness: 80, mass: 1 },
- durationInFrames: 60,
- });
- const kpiValue = Math.floor(kpiSpring * kpiTarget);
- const kpiDelta = interpolate(kpiSpring, [0, 1], [0, 12.4]);
-
- // Bar chart springs (staggered)
- const barProgress = BAR_VALUES.map((_, i) =>
- spring({
- frame: frame - STRUCTURE_END - i * 4,
- fps,
- config: { damping: 11, stiffness: 140, mass: 1 },
- durationInFrames: 40,
- }),
- );
-
- // Line chart stroke-dashoffset
- const linePath = buildLinePath();
- // approx length for viewBox 100x100 — use a generous constant; we set
- // pathLength on the path so dashoffset works in normalized units
- const lineProgress = interpolate(
- frame,
- [STRUCTURE_END + 4, STRUCTURE_END + 50],
- [0, 1],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- // Donut
- const donutTarget = 0.72;
- const donutSpring = spring({
- frame: frame - STRUCTURE_END - 6,
- fps,
- config: { damping: 13, stiffness: 110, mass: 1 },
- durationInFrames: 50,
- });
- const donutValue = donutSpring * donutTarget;
- const donutR = 70;
- const donutCircum = 2 * Math.PI * donutR;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- background: "transparent",
- fontFamily: FONT_FAMILY,
- color: "white",
- padding: 64,
- display: "flex",
- flexDirection: "column",
- gap: 24,
- overflow: "hidden",
- }}
- >
- {/* Subtle grid bg */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- backgroundImage:
- "linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px)",
- backgroundSize: "48px 48px",
- }}
- />
- <div
- style={{
- position: "relative",
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- opacity: structureOpacity,
- }}
- >
- <div>
- <div
- style={{
- fontSize: 28,
- fontWeight: 600,
- letterSpacing: "-0.02em",
- }}
- >
- Overview
- </div>
- <div
- style={{
- fontSize: 14,
- opacity: 0.5,
- marginTop: 4,
- }}
- >
- Last 30 days
- </div>
- </div>
- <div
- style={{
- display: "flex",
- gap: 8,
- fontSize: 12,
- fontFamily: MONO_FAMILY,
- }}
- >
- {["1D", "7D", "30D", "ALL"].map((l, i) => (
- <div
- key={l}
- style={{
- padding: "6px 12px",
- borderRadius: 8,
- background:
- i === 2 ? "rgba(255,255,255,0.1)" : "rgba(255,255,255,0.03)",
- border: "1px solid rgba(255,255,255,0.06)",
- }}
- >
- {l}
- </div>
- ))}
- </div>
- </div>
-
- <div
- style={{
- position: "relative",
- flex: 1,
- display: "grid",
- gridTemplateColumns: "1fr 1fr",
- gridTemplateRows: "1fr 1fr",
- gap: 24,
- }}
- >
- {/* KPI */}
- <Tile title="Revenue" structureOpacity={structureOpacity}>
- <div
- style={{
- display: "flex",
- flexDirection: "column",
- gap: 12,
- height: "100%",
- justifyContent: "center",
- }}
- >
- <div
- style={{
- fontSize: 64,
- fontWeight: 700,
- letterSpacing: "-0.04em",
- fontVariantNumeric: "tabular-nums",
- fontFamily: MONO_FAMILY,
- }}
- >
- ${formatNumber(kpiValue)}
- </div>
- <div
- style={{
- display: "flex",
- alignItems: "center",
- gap: 8,
- fontSize: 14,
- color: accentColor,
- }}
- >
- <span style={{ fontWeight: 600 }}>+{kpiDelta.toFixed(1)}%</span>
- <span style={{ opacity: 0.5, color: "white" }}>
- vs last month
- </span>
- </div>
- </div>
- </Tile>
-
- {/* Bar chart */}
- <Tile title="Sessions" structureOpacity={structureOpacity}>
- <svg
- viewBox="0 0 200 100"
- preserveAspectRatio="none"
- style={{ width: "100%", height: "100%" }}
- >
- {/* axes */}
- <line
- x1="0"
- y1="100"
- x2="200"
- y2="100"
- stroke="rgba(255,255,255,0.15)"
- strokeWidth="0.5"
- />
- {[25, 50, 75].map((y) => (
- <line
- key={y}
- x1="0"
- y1={y}
- x2="200"
- y2={y}
- stroke="rgba(255,255,255,0.06)"
- strokeWidth="0.5"
- strokeDasharray="2 2"
- />
- ))}
- {BAR_VALUES.map((v, i) => {
- const barH = v * 90 * barProgress[i];
- const barW = 24;
- const x = 16 + i * 36;
- const y = 100 - barH;
- return (
- <rect
- key={i}
- x={x}
- y={y}
- width={barW}
- height={barH}
- rx={3}
- fill={accentColor}
- opacity={0.85}
- />
- );
- })}
- </svg>
- </Tile>
-
- {/* Line chart */}
- <Tile title="Active users" structureOpacity={structureOpacity}>
- <svg
- viewBox="0 0 100 100"
- preserveAspectRatio="none"
- style={{ width: "100%", height: "100%" }}
- >
- <line
- x1="0"
- y1="100"
- x2="100"
- y2="100"
- stroke="rgba(255,255,255,0.15)"
- strokeWidth="0.4"
- />
- {[20, 40, 60, 80].map((y) => (
- <line
- key={y}
- x1="0"
- y1={y}
- x2="100"
- y2={y}
- stroke="rgba(255,255,255,0.06)"
- strokeWidth="0.4"
- strokeDasharray="1.5 1.5"
- />
- ))}
- <path
- d={linePath}
- fill="none"
- stroke={accentColor}
- strokeWidth="1.6"
- strokeLinecap="round"
- strokeLinejoin="round"
- pathLength={1}
- strokeDasharray={1}
- strokeDashoffset={1 - lineProgress}
- />
- {/* dots */}
- {LINE_POINTS.map(([px, py], i) => {
- const dotProgress = interpolate(
- lineProgress,
- [
- i / (LINE_POINTS.length - 1),
- i / (LINE_POINTS.length - 1) + 0.05,
- ],
- [0, 1],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
- return (
- <circle
- key={i}
- cx={px}
- cy={py}
- r={1.2}
- fill={accentColor}
- opacity={dotProgress}
- />
- );
- })}
- </svg>
- </Tile>
-
- {/* Donut */}
- <Tile title="Conversion" structureOpacity={structureOpacity}>
- <div
- style={{
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- height: "100%",
- position: "relative",
- }}
- >
- <svg width="180" height="180" viewBox="0 0 180 180">
- <circle
- cx="90"
- cy="90"
- r={donutR}
- fill="none"
- stroke="rgba(255,255,255,0.08)"
- strokeWidth="14"
- />
- <circle
- cx="90"
- cy="90"
- r={donutR}
- fill="none"
- stroke={accentColor}
- strokeWidth="14"
- strokeLinecap="round"
- strokeDasharray={`${donutCircum * donutValue} ${donutCircum}`}
- transform="rotate(-90 90 90)"
- />
- </svg>
- <div
- style={{
- position: "absolute",
- fontSize: 36,
- fontWeight: 700,
- letterSpacing: "-0.02em",
- fontFamily: MONO_FAMILY,
- fontVariantNumeric: "tabular-nums",
- }}
- >
- {(donutValue * 100).toFixed(1)}%
- </div>
- </div>
- </Tile>
- </div>
- </div>
- );
-}
diff --git a/registry/remocn/device-mockup-zoom/config.ts b/registry/remocn/device-mockup-zoom/config.ts
deleted file mode 100644
index 88fe2182..00000000
--- a/registry/remocn/device-mockup-zoom/config.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const deviceMockupZoomConfig: ComponentConfig = {
- componentName: "DeviceMockupZoom",
- importPath: "@/components/remocn/device-mockup-zoom",
- controls: {
- device: {
- type: "select",
- default: "laptop",
- options: ["laptop", "phone"],
- label: "Device",
- },
- frameColor: { type: "color", default: "#1f1f1f", label: "Frame color" },
- screenColor: { type: "color", default: "#0a0a0a", label: "Screen color" },
- },
- durationInFrames: 120,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: { type: "color", value: "#fafafa" },
-};
diff --git a/registry/remocn/device-mockup-zoom/index.tsx b/registry/remocn/device-mockup-zoom/index.tsx
deleted file mode 100644
index b8d261c3..00000000
--- a/registry/remocn/device-mockup-zoom/index.tsx
+++ /dev/null
@@ -1,170 +0,0 @@
-"use client";
-
-import type { ReactNode } from "react";
-import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface DeviceMockupZoomProps {
- children?: ReactNode;
- device?: "laptop" | "phone";
- frameColor?: string;
- screenColor?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-
-function DefaultScreen() {
- return (
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: "linear-gradient(135deg, #0ea5e9 0%, #9333ea 100%)",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- color: "white",
- fontFamily: FONT_FAMILY,
- fontSize: 32,
- fontWeight: 700,
- letterSpacing: "-0.03em",
- }}
- >
- Your UI
- </div>
- );
-}
-
-export function DeviceMockupZoom({
- children,
- device = "laptop",
- frameColor = "#1f1f1f",
- screenColor = "#0a0a0a",
- speed = 1,
- className,
-}: DeviceMockupZoomProps) {
- const frame = useCurrentFrame() * speed;
- const { durationInFrames } = useVideoConfig();
-
- const scale = interpolate(frame, [0, durationInFrames], [2, 1], {
- extrapolateRight: "clamp",
- easing: Easing.bezier(0.22, 1, 0.36, 1),
- });
-
- const screen = children ?? <DefaultScreen />;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- overflow: "hidden",
- }}
- >
- <div
- style={{
- transform: `scale(${scale})`,
- transformOrigin: "center center",
- willChange: "transform",
- }}
- >
- {device === "laptop" ? (
- <div style={{ position: "relative" }}>
- {/* Screen body */}
- <div
- style={{
- width: 720,
- height: 440,
- background: frameColor,
- borderRadius: 16,
- padding: 16,
- boxShadow: "0 30px 80px rgba(0,0,0,0.25)",
- }}
- >
- <div
- style={{
- position: "relative",
- width: "100%",
- height: "100%",
- background: screenColor,
- borderRadius: 6,
- overflow: "hidden",
- }}
- >
- {screen}
- </div>
- </div>
- {/* Base */}
- <div
- style={{
- width: 820,
- height: 18,
- background: frameColor,
- borderBottomLeftRadius: 14,
- borderBottomRightRadius: 14,
- marginLeft: -50,
- marginTop: -2,
- boxShadow: "0 10px 24px rgba(0,0,0,0.18)",
- }}
- />
- <div
- style={{
- width: 120,
- height: 6,
- background: "#0a0a0a",
- marginLeft: "auto",
- marginRight: "auto",
- borderBottomLeftRadius: 8,
- borderBottomRightRadius: 8,
- marginTop: -1,
- }}
- />
- </div>
- ) : (
- <div
- style={{
- width: 280,
- height: 560,
- background: frameColor,
- borderRadius: 44,
- padding: 14,
- boxShadow: "0 30px 80px rgba(0,0,0,0.25)",
- position: "relative",
- }}
- >
- <div
- style={{
- position: "relative",
- width: "100%",
- height: "100%",
- background: screenColor,
- borderRadius: 32,
- overflow: "hidden",
- }}
- >
- {screen}
- </div>
- <div
- style={{
- position: "absolute",
- top: 22,
- left: "50%",
- transform: "translateX(-50%)",
- width: 90,
- height: 22,
- background: "#0a0a0a",
- borderRadius: 14,
- }}
- />
- </div>
- )}
- </div>
- </div>
- );
-}
diff --git a/registry/remocn/drag-and-drop-flow/config.ts b/registry/remocn/drag-and-drop-flow/config.ts
deleted file mode 100644
index d7c96778..00000000
--- a/registry/remocn/drag-and-drop-flow/config.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const dragAndDropFlowConfig: ComponentConfig = {
- componentName: "DragAndDropFlow",
- importPath: "@/components/remocn/drag-and-drop-flow",
- controls: {
- accent: { type: "color", default: "#0ea5e9", label: "Accent" },
- dropzoneLabel: {
- type: "text",
- default: "Drop file to upload",
- label: "Dropzone label",
- },
- fileName: { type: "text", default: "design.fig", label: "File name" },
- },
- durationInFrames: 150,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: { type: "color", value: "#fafafa" },
-};
diff --git a/registry/remocn/drag-and-drop-flow/index.tsx b/registry/remocn/drag-and-drop-flow/index.tsx
deleted file mode 100644
index 22334001..00000000
--- a/registry/remocn/drag-and-drop-flow/index.tsx
+++ /dev/null
@@ -1,227 +0,0 @@
-"use client";
-
-import {
- Easing,
- interpolate,
- interpolateColors,
- useCurrentFrame,
- useVideoConfig,
-} from "remotion";
-
-export interface DragAndDropFlowProps {
- accent?: string;
- dropzoneLabel?: string;
- fileName?: string;
- speed?: number;
- className?: string;
-}
-
-function FileIcon({ color }: { color: string }) {
- return (
- <svg width="44" height="56" viewBox="0 0 44 56" fill="none">
- <path
- d="M6 4a4 4 0 014-4h18l12 12v40a4 4 0 01-4 4H10a4 4 0 01-4-4V4z"
- fill="white"
- stroke={color}
- strokeWidth="2"
- />
- <path
- d="M28 0v8a4 4 0 004 4h8"
- stroke={color}
- strokeWidth="2"
- fill="none"
- />
- <rect
- x="12"
- y="22"
- width="20"
- height="2"
- rx="1"
- fill={color}
- opacity="0.5"
- />
- <rect
- x="12"
- y="28"
- width="16"
- height="2"
- rx="1"
- fill={color}
- opacity="0.5"
- />
- <rect
- x="12"
- y="34"
- width="18"
- height="2"
- rx="1"
- fill={color}
- opacity="0.5"
- />
- </svg>
- );
-}
-
-export function DragAndDropFlow({
- accent = "#0ea5e9",
- dropzoneLabel = "Drop file to upload",
- fileName = "design.fig",
- speed = 1,
- className,
-}: DragAndDropFlowProps) {
- const frame = useCurrentFrame() * speed;
- const { durationInFrames } = useVideoConfig();
-
- // Phase split
- const dragEnd = Math.round(durationInFrames * 0.45);
- const highlightEnd = Math.round(durationInFrames * 0.55);
- const progressEnd = durationInFrames;
-
- // Phase 1: file moves from start to center of dropzone
- const dragProgress = interpolate(frame, [0, dragEnd], [0, 1], {
- extrapolateRight: "clamp",
- easing: Easing.out(Easing.cubic),
- });
-
- const startX = -220;
- const startY = -120;
- const fileX = interpolate(dragProgress, [0, 1], [startX, 0]);
- const fileY = interpolate(dragProgress, [0, 1], [startY, 0]);
-
- // Phase 2: dropzone border highlights as file approaches
- const borderColor = interpolateColors(
- frame,
- [dragEnd - 10, highlightEnd],
- ["#d4d4d8", accent],
- );
-
- // Phase 3: file fades, progress bar grows
- const fileOpacity = interpolate(
- frame,
- [highlightEnd - 4, highlightEnd + 8],
- [1, 0],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- const progressOpacity = interpolate(
- frame,
- [highlightEnd, highlightEnd + 6],
- [0, 1],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- const progress = interpolate(
- frame,
- [highlightEnd, progressEnd - 4],
- [0, 100],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- const dropzoneWidth = 420;
- const dropzoneHeight = 260;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- fontFamily:
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",
- }}
- >
- <div
- style={{
- position: "relative",
- width: dropzoneWidth,
- height: dropzoneHeight,
- borderRadius: 18,
- border: `2.5px dashed ${borderColor}`,
- background: "white",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- flexDirection: "column",
- gap: 14,
- color: "#71717a",
- fontSize: 16,
- fontWeight: 500,
- transition: "none",
- }}
- >
- <svg width="36" height="36" viewBox="0 0 24 24" fill="none">
- <path
- d="M21 15v4a2 2 0 01-2 2H5a2 2 0 01-2-2v-4M17 8l-5-5-5 5M12 3v12"
- stroke={borderColor}
- strokeWidth="2"
- strokeLinecap="round"
- strokeLinejoin="round"
- />
- </svg>
- <span>{dropzoneLabel}</span>
-
- {/* Progress bar (after drop) */}
- <div
- style={{
- position: "absolute",
- left: 32,
- right: 32,
- bottom: 32,
- opacity: progressOpacity,
- display: "flex",
- flexDirection: "column",
- gap: 8,
- }}
- >
- <div
- style={{
- display: "flex",
- justifyContent: "space-between",
- fontSize: 13,
- color: "#52525b",
- }}
- >
- <span>{fileName}</span>
- <span>{Math.round(progress)}%</span>
- </div>
- <div
- style={{
- height: 6,
- borderRadius: 999,
- background: "#e4e4e7",
- overflow: "hidden",
- }}
- >
- <div
- style={{
- width: `${progress}%`,
- height: "100%",
- background: accent,
- borderRadius: 999,
- }}
- />
- </div>
- </div>
- </div>
-
- {/* Animated file icon that moves into the dropzone */}
- <div
- style={{
- position: "absolute",
- left: "50%",
- top: "50%",
- marginLeft: -22,
- marginTop: -28,
- transform: `translate(${fileX}px, ${fileY}px)`,
- opacity: fileOpacity,
- filter: "drop-shadow(0 8px 16px rgba(0,0,0,0.15))",
- }}
- >
- <FileIcon color={accent} />
- </div>
- </div>
- );
-}
diff --git a/registry/remocn/hero-device-assemble/config.ts b/registry/remocn/hero-device-assemble/config.ts
deleted file mode 100644
index 09bf7254..00000000
--- a/registry/remocn/hero-device-assemble/config.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const heroDeviceAssembleConfig: ComponentConfig = {
- componentName: "HeroDeviceAssemble",
- importPath: "@/components/remocn/hero-device-assemble",
- controls: {
- device: {
- type: "select",
- default: "laptop",
- options: ["laptop", "phone"],
- label: "Device",
- },
- accentColor: {
- type: "color",
- default: "#22c55e",
- label: "Accent color",
- },
- assembleStart: {
- type: "number",
- default: 0,
- min: 0,
- max: 60,
- step: 1,
- label: "Assemble start",
- },
- },
- durationInFrames: 150,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: {
- type: "gradient",
- value: "radial-gradient(ellipse at center, #1a1a22 0%, #050507 70%)",
- },
-};
diff --git a/registry/remocn/hero-device-assemble/index.tsx b/registry/remocn/hero-device-assemble/index.tsx
deleted file mode 100644
index 70c90c74..00000000
--- a/registry/remocn/hero-device-assemble/index.tsx
+++ /dev/null
@@ -1,363 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface HeroDeviceAssembleProps {
- assembleStart?: number;
- device?: "laptop" | "phone";
- accentColor?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-
-function MockUI({ accentColor }: { accentColor: string }) {
- return (
- <div
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- flexDirection: "column",
- background: "#0b0b0f",
- fontFamily: FONT_FAMILY,
- color: "white",
- overflow: "hidden",
- }}
- >
- {/* Title bar */}
- <div
- style={{
- height: "10%",
- background: "#111118",
- borderBottom: "1px solid rgba(255,255,255,0.06)",
- display: "flex",
- alignItems: "center",
- padding: "0 16px",
- gap: 8,
- }}
- >
- <div
- style={{
- width: 10,
- height: 10,
- borderRadius: "50%",
- background: "rgba(255,255,255,0.18)",
- }}
- />
- <div
- style={{
- width: 10,
- height: 10,
- borderRadius: "50%",
- background: "rgba(255,255,255,0.18)",
- }}
- />
- <div
- style={{
- width: 10,
- height: 10,
- borderRadius: "50%",
- background: "rgba(255,255,255,0.18)",
- }}
- />
- </div>
- <div style={{ flex: 1, display: "flex" }}>
- {/* Sidebar */}
- <div
- style={{
- width: "22%",
- background: "#0e0e14",
- borderRight: "1px solid rgba(255,255,255,0.05)",
- padding: 16,
- display: "flex",
- flexDirection: "column",
- gap: 10,
- }}
- >
- <div
- style={{
- height: 12,
- borderRadius: 4,
- background: accentColor,
- opacity: 0.85,
- width: "70%",
- }}
- />
- <div
- style={{
- height: 10,
- borderRadius: 4,
- background: "rgba(255,255,255,0.1)",
- width: "85%",
- }}
- />
- <div
- style={{
- height: 10,
- borderRadius: 4,
- background: "rgba(255,255,255,0.08)",
- width: "60%",
- }}
- />
- <div
- style={{
- height: 10,
- borderRadius: 4,
- background: "rgba(255,255,255,0.08)",
- width: "75%",
- }}
- />
- </div>
- {/* Content */}
- <div
- style={{
- flex: 1,
- padding: 24,
- display: "flex",
- flexDirection: "column",
- gap: 16,
- }}
- >
- <div
- style={{
- height: 18,
- width: "40%",
- background: "rgba(255,255,255,0.85)",
- borderRadius: 4,
- }}
- />
- <div
- style={{
- height: 10,
- width: "65%",
- background: "rgba(255,255,255,0.18)",
- borderRadius: 4,
- }}
- />
- <div
- style={{
- display: "grid",
- gridTemplateColumns: "1fr 1fr 1fr",
- gap: 12,
- marginTop: 12,
- }}
- >
- <div
- style={{
- height: 90,
- borderRadius: 8,
- background:
- "linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02))",
- border: "1px solid rgba(255,255,255,0.06)",
- }}
- />
- <div
- style={{
- height: 90,
- borderRadius: 8,
- background: `linear-gradient(180deg, ${accentColor}33, ${accentColor}11)`,
- border: `1px solid ${accentColor}55`,
- }}
- />
- <div
- style={{
- height: 90,
- borderRadius: 8,
- background:
- "linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02))",
- border: "1px solid rgba(255,255,255,0.06)",
- }}
- />
- </div>
- <div
- style={{
- flex: 1,
- borderRadius: 8,
- background:
- "linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01))",
- border: "1px solid rgba(255,255,255,0.06)",
- }}
- />
- </div>
- </div>
- </div>
- );
-}
-
-export function HeroDeviceAssemble({
- assembleStart = 0,
- device = "laptop",
- accentColor = "#22c55e",
- speed = 1,
- className,
-}: HeroDeviceAssembleProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- const assemble = spring({
- frame: frame - assembleStart,
- fps,
- config: { mass: 1.4, damping: 12, stiffness: 90 },
- durationInFrames: 60,
- });
-
- // Layer translateZ values from far -> 0
- const lidZ = interpolate(assemble, [0, 1], [1000, 0]);
- const baseZ = interpolate(assemble, [0, 1], [-800, 0]);
- const bezelZ = interpolate(assemble, [0, 1], [600, 0]);
- const screenZ = interpolate(assemble, [0, 1], [300, 0]);
-
- // Parent rotation easing to 0
- const rotX = interpolate(assemble, [0, 1], [-22, 0]);
- const rotY = interpolate(assemble, [0, 1], [28, 0]);
-
- // Layer opacity fade in slightly during assembly
- const layerOpacity = interpolate(assemble, [0, 0.4], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- // Settle frame: after assemble ~ 0.95
- const settleFrame = assembleStart + 45;
- const screenWake = interpolate(
- frame,
- [settleFrame, settleFrame + 18],
- [0, 1],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- // Shimmer sweep across screen (after wake)
- const shimmerProgress = interpolate(
- frame,
- [settleFrame + 6, settleFrame + 30],
- [-1, 2],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- const isPhone = device === "phone";
-
- // Device dimensions
- const deviceW = isPhone ? 320 : 760;
- const deviceH = isPhone ? 640 : 470;
- const screenInset = isPhone ? 12 : 18;
- const bezelRadius = isPhone ? 36 : 14;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- background: "transparent",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- perspective: 2000,
- fontFamily: FONT_FAMILY,
- }}
- >
- <div
- style={{
- position: "relative",
- width: deviceW,
- height: deviceH,
- transformStyle: "preserve-3d",
- transform: `rotateX(${rotX}deg) rotateY(${rotY}deg)`,
- willChange: "transform",
- }}
- >
- {/* Back lid (laptop only — for phone, acts as the back shell) */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- transform: `translateZ(${lidZ - 8}px)`,
- background: "linear-gradient(180deg, #1f2128 0%, #0e1014 100%)",
- borderRadius: bezelRadius + 4,
- border: "1px solid rgba(255,255,255,0.08)",
- boxShadow:
- "0 60px 120px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06)",
- opacity: layerOpacity,
- }}
- />
-
- {/* Keyboard / chassis base — laptop only */}
- {!isPhone && (
- <div
- style={{
- position: "absolute",
- left: -40,
- right: -40,
- bottom: -28,
- height: 28,
- transform: `translateZ(${baseZ}px) rotateX(78deg)`,
- transformOrigin: "top center",
- background: "linear-gradient(180deg, #2a2d36 0%, #14161c 100%)",
- borderRadius: "0 0 12px 12px",
- border: "1px solid rgba(255,255,255,0.06)",
- boxShadow: "0 30px 60px rgba(0,0,0,0.6)",
- opacity: layerOpacity,
- }}
- />
- )}
-
- {/* Bezel frame */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- transform: `translateZ(${bezelZ}px)`,
- background: "#0a0a0d",
- borderRadius: bezelRadius,
- border: "1px solid rgba(255,255,255,0.12)",
- boxShadow:
- "inset 0 0 0 2px rgba(255,255,255,0.04), 0 20px 60px rgba(0,0,0,0.5)",
- opacity: layerOpacity,
- }}
- />
-
- {/* UI screen */}
- <div
- style={{
- position: "absolute",
- inset: screenInset,
- transform: `translateZ(${screenZ}px)`,
- borderRadius: bezelRadius - 6,
- overflow: "hidden",
- background: "black",
- opacity: layerOpacity,
- }}
- >
- {/* Black panel during flight */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: "#000",
- opacity: 1 - screenWake,
- }}
- />
- {/* UI fades in */}
- <div style={{ position: "absolute", inset: 0, opacity: screenWake }}>
- <MockUI accentColor={accentColor} />
- </div>
- {/* Shimmer sweep */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: `linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%)`,
- transform: `translateX(${shimmerProgress * 100}%)`,
- mixBlendMode: "screen",
- pointerEvents: "none",
- }}
- />
- </div>
- </div>
- </div>
- );
-}
diff --git a/registry/remocn/image-expand-to-fullscreen/config.ts b/registry/remocn/image-expand-to-fullscreen/config.ts
deleted file mode 100644
index de4193dc..00000000
--- a/registry/remocn/image-expand-to-fullscreen/config.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const imageExpandToFullscreenConfig: ComponentConfig = {
- componentName: "ImageExpandToFullscreen",
- importPath: "@/components/remocn/image-expand-to-fullscreen",
- controls: {
- morphAt: {
- type: "number",
- default: 30,
- min: 0,
- max: 240,
- step: 1,
- label: "Morph at (frame)",
- },
- borderRadiusFrom: {
- type: "number",
- default: 12,
- min: 0,
- max: 40,
- step: 1,
- label: "Radius from",
- },
- borderRadiusTo: {
- type: "number",
- default: 16,
- min: 0,
- max: 40,
- step: 1,
- label: "Radius to",
- },
- imageColorA: { type: "color", default: "#ff6b6b", label: "Image color A" },
- imageColorB: { type: "color", default: "#845ec2", label: "Image color B" },
- imageColorC: { type: "color", default: "#4d8dff", label: "Image color C" },
- feedBackground: {
- type: "color",
- default: "#f4f4f5",
- label: "Feed background",
- },
- editorBackground: {
- type: "color",
- default: "#0a0a0a",
- label: "Editor background",
- },
- accent: { type: "color", default: "#fafafa", label: "Accent" },
- postAuthor: {
- type: "text",
- default: "Maya Larsson",
- label: "Post author",
- },
- postBody: {
- type: "text",
- default:
- "Sunset over the old harbor — color graded straight out of camera.",
- label: "Post body",
- },
- },
- durationInFrames: 180,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
-};
diff --git a/registry/remocn/image-expand-to-fullscreen/index.tsx b/registry/remocn/image-expand-to-fullscreen/index.tsx
deleted file mode 100644
index eadf6935..00000000
--- a/registry/remocn/image-expand-to-fullscreen/index.tsx
+++ /dev/null
@@ -1,334 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface ImageExpandRect {
- top: number;
- left: number;
- width: number;
- height: number;
-}
-
-export interface ImageExpandToFullscreenProps {
- from?: ImageExpandRect;
- to?: ImageExpandRect;
- borderRadiusFrom?: number;
- borderRadiusTo?: number;
- morphAt?: number;
- imageColorA?: string;
- imageColorB?: string;
- imageColorC?: string;
- feedBackground?: string;
- editorBackground?: string;
- accent?: string;
- postAuthor?: string;
- postBody?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-
-const VIEWPORT_W = 1280;
-const VIEWPORT_H = 720;
-
-const DEFAULT_FROM: ImageExpandRect = {
- left: 460,
- top: 280,
- width: 360,
- height: 200,
-};
-
-const DEFAULT_TO: ImageExpandRect = {
- left: 200,
- top: 120,
- width: 880,
- height: 480,
-};
-
-export function ImageExpandToFullscreen({
- from = DEFAULT_FROM,
- to = DEFAULT_TO,
- borderRadiusFrom = 12,
- borderRadiusTo = 16,
- morphAt = 30,
- imageColorA = "#ff6b6b",
- imageColorB = "#845ec2",
- imageColorC = "#4d8dff",
- feedBackground = "#f4f4f5",
- editorBackground = "#0a0a0a",
- accent = "#fafafa",
- postAuthor = "Maya Larsson",
- postBody = "Sunset over the old harbor — color graded straight out of camera.",
- speed = 1,
- className,
-}: ImageExpandToFullscreenProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- // ONE spring drives the entire shared-element transition. Slightly more
- // critically damped than the morphing modal — the image lands with a
- // tight settle rather than a heavy bloom.
- const morph = spring({
- frame: frame - morphAt,
- fps,
- config: { mass: 1.4, damping: 24, stiffness: 130 },
- });
-
- const left = interpolate(morph, [0, 1], [from.left, to.left]);
- const top = interpolate(morph, [0, 1], [from.top, to.top]);
- const width = interpolate(morph, [0, 1], [from.width, to.width]);
- const height = interpolate(morph, [0, 1], [from.height, to.height]);
- const radius = interpolate(morph, [0, 1], [borderRadiusFrom, borderRadiusTo]);
-
- // Feed UI fades fully out in the FIRST half of the morph; the dark
- // editor background fades in across the same window.
- const feedOpacity = interpolate(morph, [0, 0.5], [1, 0], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
- const editorOpacity = interpolate(morph, [0, 0.5], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- // Toolbars slide in during the LAST third of the morph — they should
- // feel called in by the image landing at fullscreen.
- const toolbarOpacity = interpolate(morph, [0.5, 1], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
- const topToolbarTy = interpolate(morph, [0.5, 1], [-100, 0], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
- const bottomToolbarTy = interpolate(morph, [0.5, 1], [100, 0], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- const imageGradient = `linear-gradient(135deg, ${imageColorA}, ${imageColorB}, ${imageColorC})`;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- fontFamily: FONT_FAMILY,
- }}
- >
- {/* Feed background (light page) */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: feedBackground,
- opacity: feedOpacity,
- }}
- />
-
- {/* Editor background (dark canvas) */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background: editorBackground,
- opacity: editorOpacity,
- }}
- />
-
- {/* Fake post card living on the feed */}
- <div
- style={{
- position: "absolute",
- left: 380,
- top: 140,
- width: 520,
- padding: 24,
- background: "#ffffff",
- borderRadius: 20,
- boxShadow: "0 30px 80px rgba(15, 15, 25, 0.08)",
- opacity: feedOpacity,
- display: "flex",
- flexDirection: "column",
- gap: 16,
- }}
- >
- {/* Author row */}
- <div style={{ display: "flex", alignItems: "center", gap: 12 }}>
- <div
- style={{
- width: 44,
- height: 44,
- borderRadius: 999,
- background: imageGradient,
- }}
- />
- <div style={{ display: "flex", flexDirection: "column", gap: 2 }}>
- <div
- style={{
- fontSize: 15,
- fontWeight: 600,
- color: "#0a0a0a",
- letterSpacing: "-0.005em",
- }}
- >
- {postAuthor}
- </div>
- <div style={{ fontSize: 12, color: "#71717a" }}>2h ago</div>
- </div>
- </div>
-
- {/* Body text */}
- <div
- style={{
- fontSize: 14,
- lineHeight: 1.5,
- color: "#27272a",
- }}
- >
- {postBody}
- </div>
-
- {/* Spacer where the thumbnail visually lives — the actual
- morphing image is rendered absolutely below so it can lift
- cleanly off the card. */}
- <div
- style={{
- width: "100%",
- height: 200,
- borderRadius: 12,
- background: "transparent",
- }}
- />
-
- {/* Action row */}
- <div style={{ display: "flex", gap: 16 }}>
- {[0, 1, 2].map((i) => (
- <div
- key={i}
- style={{
- width: 28,
- height: 28,
- borderRadius: 8,
- background: "#f4f4f5",
- }}
- />
- ))}
- </div>
- </div>
-
- {/* The morphing image — driven entirely by the single spring */}
- <div
- style={{
- position: "absolute",
- left,
- top,
- width,
- height,
- borderRadius: radius,
- background: imageGradient,
- boxShadow:
- "0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06)",
- overflow: "hidden",
- }}
- />
-
- {/* Top toolbar */}
- <div
- style={{
- position: "absolute",
- top: 0,
- left: 0,
- right: 0,
- height: 64,
- padding: "0 24px",
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- background: "rgba(15, 15, 18, 0.6)",
- backdropFilter: "blur(20px)",
- WebkitBackdropFilter: "blur(20px)",
- borderBottom: "1px solid rgba(255, 255, 255, 0.06)",
- opacity: toolbarOpacity,
- transform: `translateY(${topToolbarTy}%)`,
- }}
- >
- <div style={{ display: "flex", alignItems: "center", gap: 12 }}>
- <div
- style={{
- width: 32,
- height: 32,
- borderRadius: 8,
- background: "rgba(255, 255, 255, 0.08)",
- }}
- />
- <div
- style={{
- fontSize: 14,
- fontWeight: 500,
- color: accent,
- letterSpacing: "-0.005em",
- }}
- >
- Editor
- </div>
- </div>
- <div style={{ display: "flex", gap: 10 }}>
- {[0, 1, 2, 3].map((i) => (
- <div
- key={i}
- style={{
- width: 32,
- height: 32,
- borderRadius: 8,
- background: "rgba(255, 255, 255, 0.06)",
- }}
- />
- ))}
- </div>
- </div>
-
- {/* Bottom toolbar */}
- <div
- style={{
- position: "absolute",
- bottom: 0,
- left: 0,
- right: 0,
- height: 80,
- padding: "0 24px",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- gap: 14,
- background: "rgba(15, 15, 18, 0.6)",
- backdropFilter: "blur(20px)",
- WebkitBackdropFilter: "blur(20px)",
- borderTop: "1px solid rgba(255, 255, 255, 0.06)",
- opacity: toolbarOpacity,
- transform: `translateY(${bottomToolbarTy}%)`,
- }}
- >
- {[0, 1, 2, 3, 4, 5].map((i) => (
- <div
- key={i}
- style={{
- width: 44,
- height: 44,
- borderRadius: 12,
- background:
- i === 2
- ? accent
- : "rgba(255, 255, 255, 0.06)",
- border: "1px solid rgba(255, 255, 255, 0.08)",
- }}
- />
- ))}
- </div>
- </div>
- );
-}
diff --git a/registry/remocn/landing-code-showcase/config.ts b/registry/remocn/landing-code-showcase/config.ts
deleted file mode 100644
index 050d1e7e..00000000
--- a/registry/remocn/landing-code-showcase/config.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { type ComponentConfig, FPS } from "@/lib/customizer-config";
-
-// Wider-than-default composition so the right pane has full 1280x720-ish room
-// for the inner scenes (terminal/dashboard) without cropping.
-export const landingCodeShowcaseConfig: ComponentConfig = {
- componentName: "LandingCodeShowcase",
- importPath: "@/components/remocn/landing-code-showcase",
- controls: {
- accentColor: {
- type: "color",
- default: "#FFB38E",
- label: "Accent color",
- },
- },
- durationInFrames: 720,
- fps: FPS,
- compositionWidth: 2080,
- compositionHeight: 900,
- previewBackdrop: { type: "color", value: "#0A090E" },
-};
diff --git a/registry/remocn/landing-code-showcase/index.tsx b/registry/remocn/landing-code-showcase/index.tsx
deleted file mode 100644
index f49bfb94..00000000
--- a/registry/remocn/landing-code-showcase/index.tsx
+++ /dev/null
@@ -1,763 +0,0 @@
-"use client";
-
-import type { ReactNode } from "react";
-import {
- AbsoluteFill,
- Freeze,
- interpolate,
- Sequence,
- spring,
- useCurrentFrame,
- useVideoConfig,
-} from "remotion";
-import { DashboardPopulate } from "@/registry/remocn/dashboard-populate";
-import { FrostedGlassWipe } from "@/registry/remocn/frosted-glass-wipe";
-import { SpatialPush } from "@/registry/remocn/spatial-push";
-import { TerminalToBrowserDeploy } from "@/registry/remocn/terminal-to-browser-deploy";
-
-export interface LandingCodeShowcaseProps {
- accentColor?: string;
- speed?: number;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-const MONO_FAMILY =
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace";
-
-/* -------------------------------------------------------------------------- */
-/* Tokens */
-/* -------------------------------------------------------------------------- */
-
-const PEACH = "#FFB38E";
-const LAVENDER = "#D4B3FF";
-const MINT = "#A1EEBD";
-const STAGE_BG = "#0A090E";
-const PANEL_BG = "#141318";
-
-/* -------------------------------------------------------------------------- */
-/* Timeline schedule */
-/* -------------------------------------------------------------------------- */
-/*
- Frame layout (30fps base):
- 0 ────────────────────────────► 90 BlurReveal
- 70 ────► 130 SpatialPush overlay
- 130 ────────────► 240 Dashboard
- 230 ────► 290 FrostedGlassWipe overlay
- 290 ────────────► 410 MaskedSlideReveal
- 400 ────► 460 KineticTypeMask overlay
- 460 ────────────────► 640 TerminalToBrowserDeploy
-*/
-
-interface SceneWindow {
- start: number;
- duration: number;
-}
-
-const SCENES = {
- blur: { start: 0, duration: 90 } as SceneWindow,
- push1: { start: 70, duration: 60 } as SceneWindow,
- dashboard: { start: 130, duration: 110 } as SceneWindow,
- glassWipe: { start: 230, duration: 60 } as SceneWindow,
- maskedSlide: { start: 290, duration: 120 } as SceneWindow,
- push2: { start: 400, duration: 60 } as SceneWindow,
- terminal: { start: 460, duration: 180 } as SceneWindow,
- // Quiet hold at the very end so the loop never restarts mid-action.
- endHold: 80,
-};
-
-const TOTAL_DURATION =
- SCENES.terminal.start + SCENES.terminal.duration + SCENES.endHold; // 720
-
-/* -------------------------------------------------------------------------- */
-/* Code timeline */
-/* -------------------------------------------------------------------------- */
-
-interface CodeStep {
- /** Frame at which this fragment STARTS being typed */
- startFrame: number;
- /** Code fragment to append to the visible buffer */
- code: string;
- /** Token within the fragment that pulses lavender briefly when typed */
- highlight?: string;
-}
-
-const HEADER = `import { BlurReveal, DashboardPopulate, MaskedSlideReveal,
- TerminalToBrowserDeploy, Transition } from "@/components/remocn";
-
-export default function Scene() {
- return (
- <>
-`;
-
-const FOOTER = ` </>
- );
-}`;
-
-const STEPS: CodeStep[] = [
- {
- startFrame: 4,
- code: ` <BlurReveal text="Build faster." />\n`,
- },
- {
- startFrame: SCENES.push1.start,
- code: ` <Transition type="spatial-push" />\n`,
- highlight: "spatial-push",
- },
- {
- startFrame: SCENES.dashboard.start,
- code: ` <DashboardPopulate data={metrics} />\n`,
- },
- {
- startFrame: SCENES.glassWipe.start,
- code: ` <Transition type="glass-wipe" />\n`,
- highlight: "glass-wipe",
- },
- {
- startFrame: SCENES.maskedSlide.start,
- code: ` <MaskedSlideReveal text="Ship to production." />\n`,
- },
- {
- startFrame: SCENES.push2.start,
- code: ` <Transition type="spatial-push" direction="left" />\n`,
- highlight: "spatial-push",
- },
- {
- startFrame: SCENES.terminal.start,
- code: ` <TerminalToBrowserDeploy />\n`,
- },
-];
-
-const CHARS_PER_FRAME = 2.2;
-
-interface BuiltStep extends CodeStep {
- endFrame: number;
-}
-
-const BUILT_STEPS: BuiltStep[] = STEPS.map((s) => ({
- ...s,
- endFrame: s.startFrame + Math.ceil(s.code.length / CHARS_PER_FRAME),
-}));
-
-/* -------------------------------------------------------------------------- */
-/* Syntax highlight */
-/* -------------------------------------------------------------------------- */
-
-interface Token {
- text: string;
- color: string;
- glow?: boolean;
-}
-
-function tokenizeLine(
- line: string,
- accentColor: string,
- highlightedToken: string | null,
-): Token[] {
- const tokens: Token[] = [];
- const regex =
- /(\bimport\b|\bfrom\b|\bexport\b|\bdefault\b|\bfunction\b|\breturn\b|\bconst\b)|("[^"]*")|(\b[A-Z][a-zA-Z0-9_]*)|(\b[a-zA-Z_][a-zA-Z0-9_]*)(?==)|(\{|\}|\(|\)|<|>|\/|;)|([0-9]+)/g;
- let lastIndex = 0;
- let m: RegExpExecArray | null = regex.exec(line);
- while (m !== null) {
- if (m.index > lastIndex) {
- tokens.push({
- text: line.slice(lastIndex, m.index),
- color: "#e4e4e7",
- });
- }
- if (m[1]) tokens.push({ text: m[1], color: LAVENDER });
- else if (m[2]) {
- // String literal — check if it matches the active highlight
- const inner = m[2].slice(1, -1);
- if (highlightedToken && inner === highlightedToken) {
- tokens.push({ text: m[2], color: LAVENDER, glow: true });
- } else {
- tokens.push({ text: m[2], color: MINT });
- }
- } else if (m[3]) tokens.push({ text: m[3], color: PEACH });
- else if (m[4]) tokens.push({ text: m[4], color: accentColor });
- else if (m[5]) tokens.push({ text: m[5], color: "#71717a" });
- else if (m[6]) tokens.push({ text: m[6], color: "#fbbf24" });
- lastIndex = regex.lastIndex;
- m = regex.exec(line);
- }
- if (lastIndex < line.length) {
- tokens.push({ text: line.slice(lastIndex), color: "#e4e4e7" });
- }
- return tokens;
-}
-
-/* -------------------------------------------------------------------------- */
-/* Code editor */
-/* -------------------------------------------------------------------------- */
-
-function CodeEditor({
- frame,
- accentColor,
-}: {
- frame: number;
- accentColor: string;
-}) {
- // Compose the visible code: header + per-step typed amounts + footer (only when fully typed)
- const dynamicChunks: string[] = [];
- let activeHighlight: string | null = null;
-
- for (const step of BUILT_STEPS) {
- if (frame < step.startFrame) break;
- const elapsed = frame - step.startFrame;
- const charsTyped = Math.min(
- step.code.length,
- Math.floor(elapsed * CHARS_PER_FRAME),
- );
- dynamicChunks.push(step.code.slice(0, charsTyped));
-
- // Lavender pulse: active for ~24 frames after fragment finishes typing
- if (step.highlight) {
- const sinceStart = frame - step.startFrame;
- if (sinceStart >= 0 && sinceStart < 60) {
- activeHighlight = step.highlight;
- }
- }
- }
-
- const allTyped = dynamicChunks.join("");
- const lastStep = BUILT_STEPS[BUILT_STEPS.length - 1];
- const showFooter = frame > lastStep.endFrame + 4;
- const visibleCode = HEADER + allTyped + (showFooter ? FOOTER : "");
- const lines = visibleCode.split("\n");
- const lastLineIdx = lines.length - 1;
- const caretOn = Math.floor(frame / 12) % 2 === 0;
-
- return (
- <div
- style={{
- width: "100%",
- maxWidth: 540,
- position: "relative",
- borderRadius: 16,
- padding: 1,
- background:
- "linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.06) 100%)",
- boxShadow: "0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4)",
- }}
- >
- <div
- style={{
- borderRadius: 15,
- background: "rgba(12,12,14,0.9)",
- backdropFilter: "blur(20px)",
- overflow: "hidden",
- }}
- >
- {/* Title bar */}
- <div
- style={{
- height: 40,
- display: "flex",
- alignItems: "center",
- padding: "0 16px",
- borderBottom: "1px solid rgba(255,255,255,0.06)",
- gap: 8,
- }}
- >
- {["#ff5f57", "#febc2e", "#28c840"].map((c) => (
- <div
- key={c}
- style={{
- width: 11,
- height: 11,
- borderRadius: 6,
- background: c,
- opacity: 0.65,
- }}
- />
- ))}
- <div
- style={{
- marginLeft: 12,
- fontSize: 12,
- color: "rgba(255,255,255,0.5)",
- fontFamily: MONO_FAMILY,
- }}
- >
- scene.tsx
- </div>
- </div>
-
- {/* Code body */}
- <div
- style={{
- padding: "20px 22px",
- fontFamily: MONO_FAMILY,
- fontSize: 12.5,
- lineHeight: 1.7,
- color: "#e4e4e7",
- minHeight: 480,
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)",
- }}
- >
- {lines.map((line, i) => {
- const tokens = tokenizeLine(line, accentColor, activeHighlight);
- const isLast = i === lastLineIdx;
- return (
- <div
- // biome-ignore lint/suspicious/noArrayIndexKey: stable per frame
- key={i}
- style={{ display: "flex", whiteSpace: "pre" }}
- >
- <span
- style={{
- width: 26,
- color: "rgba(255,255,255,0.18)",
- userSelect: "none",
- flexShrink: 0,
- }}
- >
- {i + 1}
- </span>
- <span>
- {tokens.length === 0 ? (
- <span> </span>
- ) : (
- tokens.map((t, j) => (
- <span
- // biome-ignore lint/suspicious/noArrayIndexKey: stable per line
- key={j}
- style={{
- color: t.color,
- textShadow: t.glow
- ? `0 0 12px ${LAVENDER}, 0 0 24px ${LAVENDER}80`
- : undefined,
- }}
- >
- {t.text}
- </span>
- ))
- )}
- {isLast && caretOn && (
- <span
- style={{
- display: "inline-block",
- width: 7,
- height: 14,
- marginLeft: 1,
- verticalAlign: "text-bottom",
- background: accentColor,
- }}
- />
- )}
- </span>
- </div>
- );
- })}
- </div>
- </div>
- </div>
- );
-}
-
-/* -------------------------------------------------------------------------- */
-/* Soft pastel scene wrappers */
-/* -------------------------------------------------------------------------- */
-
-/** Warm pastel canvas — the dark stage every scene sits on */
-function PastelStage({
- children,
-}: {
- children: ReactNode;
-}) {
- return (
- <div
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- }}
- >
- <div
- style={{
- position: "absolute",
- inset: 0,
- background:
- "radial-gradient(ellipse at 20% 30%, rgba(255,179,142,0.08), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(212,179,255,0.06), transparent 60%)",
- }}
- />
- {children}
- </div>
- );
-}
-
-/* -------------------------------------------------------------------------- */
-/* Scene factories */
-/* -------------------------------------------------------------------------- */
-/*
- Note: BlurReveal and MaskedSlideReveal primitives bake in a `background:
- white` div. To keep the warm-dark stage we re-implement just the visual
- here (not a fork — both effects are simple text + filter). The orchestrator
- advertises the primitives in code; the rendered output is faithful to them.
-*/
-
-function BlurRevealScene() {
- const frame = useCurrentFrame();
- const opacity = interpolate(frame, [0, 50], [0, 1], {
- extrapolateRight: "clamp",
- });
- const blurAmount = interpolate(frame, [0, 50], [22, 0], {
- extrapolateRight: "clamp",
- });
- return (
- <div
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- }}
- >
- <span
- style={{
- opacity,
- filter: `blur(${blurAmount}px)`,
- fontSize: 96,
- fontWeight: 600,
- color: PEACH,
- letterSpacing: "-0.04em",
- fontFamily: FONT_FAMILY,
- textShadow: `0 0 60px ${PEACH}40`,
- }}
- >
- Build faster.
- </span>
- </div>
- );
-}
-
-function DashboardScene() {
- return (
- <div style={{ position: "absolute", inset: 0 }}>
- <DashboardPopulate accentColor={PEACH} />
- </div>
- );
-}
-
-function MaskedSlideScene() {
- const frame = useCurrentFrame();
- const { fps } = useVideoConfig();
- const words = "Ship to production.".split(" ");
- return (
- <div
- style={{
- position: "absolute",
- inset: 0,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- }}
- >
- <span
- style={{
- fontSize: 92,
- fontWeight: 700,
- color: MINT,
- letterSpacing: "-0.03em",
- fontFamily: FONT_FAMILY,
- textShadow: `0 0 40px ${MINT}30`,
- }}
- >
- {words.map((word, i) => {
- const t = spring({
- frame: frame - i * 4,
- fps,
- config: { damping: 18, stiffness: 120 },
- });
- return (
- <span
- // biome-ignore lint/suspicious/noArrayIndexKey: stable word list
- key={i}
- style={{
- display: "inline-block",
- overflow: "hidden",
- verticalAlign: "bottom",
- lineHeight: 1.05,
- marginRight: "0.25em",
- }}
- >
- <span
- style={{
- display: "inline-block",
- transform: `translateY(${(1 - t) * 110}%)`,
- }}
- >
- {word}
- </span>
- </span>
- );
- })}
- </span>
- </div>
- );
-}
-
-function TerminalScene() {
- return (
- <div style={{ position: "absolute", inset: 0 }}>
- <TerminalToBrowserDeploy accentColor={MINT} siteUrl="remocn.dev" />
- </div>
- );
-}
-
-/* -------------------------------------------------------------------------- */
-/* Right pane */
-/* -------------------------------------------------------------------------- */
-
-function RightPane() {
- return (
- <div
- style={{
- position: "relative",
- width: "100%",
- height: "100%",
- background: STAGE_BG,
- overflow: "hidden",
- borderRadius: 18,
- }}
- >
- {/* ── BASE LAYER: each scene runs in its own Sequence so its
- internal useCurrentFrame() starts at 0 within the window. ── */}
-
- <Sequence
- from={SCENES.blur.start}
- durationInFrames={SCENES.blur.duration + SCENES.push1.duration}
- >
- <PastelStage>
- <BlurRevealScene />
- </PastelStage>
- </Sequence>
-
- <Sequence
- from={SCENES.dashboard.start}
- durationInFrames={SCENES.dashboard.duration + SCENES.glassWipe.duration}
- >
- <PastelStage>
- <DashboardScene />
- </PastelStage>
- </Sequence>
-
- <Sequence
- from={SCENES.maskedSlide.start}
- durationInFrames={SCENES.maskedSlide.duration + SCENES.push2.duration}
- >
- <PastelStage>
- <MaskedSlideScene />
- </PastelStage>
- </Sequence>
-
- <Sequence
- from={SCENES.terminal.start}
- durationInFrames={SCENES.terminal.duration + SCENES.endHold}
- >
- <PastelStage>
- <TerminalScene />
- </PastelStage>
- </Sequence>
-
- {/* ── TRANSITION OVERLAYS: each one displays the previous scene's
- end-state (Freeze) while wiping in the next scene's start-state. ── */}
-
- <Sequence
- from={SCENES.push1.start}
- durationInFrames={SCENES.push1.duration}
- >
- <SpatialPush
- transitionStart={0}
- transitionDuration={SCENES.push1.duration}
- direction="up"
- from={
- <Freeze frame={SCENES.push1.start - SCENES.blur.start - 1}>
- <PastelStage>
- <BlurRevealScene />
- </PastelStage>
- </Freeze>
- }
- to={
- <Freeze frame={0}>
- <PastelStage>
- <DashboardScene />
- </PastelStage>
- </Freeze>
- }
- />
- </Sequence>
-
- <Sequence
- from={SCENES.glassWipe.start}
- durationInFrames={SCENES.glassWipe.duration}
- >
- <FrostedGlassWipe
- transitionStart={0}
- transitionDuration={SCENES.glassWipe.duration}
- glassBlur={28}
- from={
- <Freeze frame={SCENES.dashboard.duration - 1}>
- <PastelStage>
- <DashboardScene />
- </PastelStage>
- </Freeze>
- }
- to={
- <Freeze frame={0}>
- <PastelStage>
- <MaskedSlideScene />
- </PastelStage>
- </Freeze>
- }
- />
- </Sequence>
-
- <Sequence
- from={SCENES.push2.start}
- durationInFrames={SCENES.push2.duration}
- >
- <SpatialPush
- transitionStart={0}
- transitionDuration={SCENES.push2.duration}
- direction="left"
- from={
- <Freeze frame={SCENES.maskedSlide.duration - 1}>
- <PastelStage>
- <MaskedSlideScene />
- </PastelStage>
- </Freeze>
- }
- to={
- <Freeze frame={0}>
- <PastelStage>
- <TerminalScene />
- </PastelStage>
- </Freeze>
- }
- />
- </Sequence>
- </div>
- );
-}
-
-/* -------------------------------------------------------------------------- */
-/* Main */
-/* -------------------------------------------------------------------------- */
-
-export function LandingCodeShowcase({
- accentColor = "#FFB38E",
- speed = 1,
-}: LandingCodeShowcaseProps) {
- const rawFrame = useCurrentFrame();
- const frame = rawFrame * speed;
-
- /* ---- Final "deploy success" glow on both panes ---- */
- const successGlow = interpolate(
- frame,
- [SCENES.terminal.start + 70, SCENES.terminal.start + 100],
- [0, 1],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- return (
- <AbsoluteFill
- style={{
- background: PANEL_BG,
- fontFamily: FONT_FAMILY,
- overflow: "hidden",
- }}
- >
- {/* Backdrop wash */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background:
- "radial-gradient(ellipse at 20% 30%, rgba(255,179,142,0.06), transparent 55%), radial-gradient(ellipse at 80% 70%, rgba(212,179,255,0.06), transparent 55%)",
- }}
- />
-
- {/* ---------------- LEFT: code editor ---------------- */}
- <div
- style={{
- position: "absolute",
- left: 0,
- top: 0,
- bottom: 0,
- width: "38%",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- padding: 48,
- }}
- >
- <CodeEditor frame={frame} accentColor={accentColor} />
- </div>
-
- {/* ---------------- RIGHT: live preview ---------------- */}
- <div
- style={{
- position: "absolute",
- right: 0,
- top: 0,
- bottom: 0,
- width: "62%",
- borderLeft: "1px solid rgba(255,255,255,0.05)",
- }}
- >
- {/* Preview label */}
- <div
- style={{
- position: "absolute",
- top: 22,
- left: 24,
- display: "flex",
- alignItems: "center",
- gap: 8,
- zIndex: 5,
- }}
- >
- <div
- style={{
- width: 8,
- height: 8,
- borderRadius: 4,
- background: MINT,
- boxShadow: `0 0 ${10 + successGlow * 12}px ${MINT}`,
- }}
- />
- <div
- style={{
- fontSize: 11,
- fontFamily: MONO_FAMILY,
- color: "rgba(255,255,255,0.5)",
- textTransform: "uppercase",
- letterSpacing: "0.1em",
- }}
- >
- Preview · HMR
- </div>
- </div>
-
- <div
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- boxShadow: `inset 0 0 ${60 * successGlow}px rgba(161,238,189,${successGlow * 0.45})`,
- }}
- >
- <RightPane />
- </div>
- </div>
- </AbsoluteFill>
- );
-}
-
-// Re-export the schedule so config.ts (or callers) can read the canonical
-// total length without duplicating constants.
-export const LANDING_CODE_SHOWCASE_DURATION = TOTAL_DURATION;
diff --git a/registry/remocn/pricing-tier-focus/config.ts b/registry/remocn/pricing-tier-focus/config.ts
deleted file mode 100644
index 038d9c42..00000000
--- a/registry/remocn/pricing-tier-focus/config.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const pricingTierFocusConfig: ComponentConfig = {
- componentName: "PricingTierFocus",
- importPath: "@/components/remocn/pricing-tier-focus",
- controls: {
- focusedTier: {
- type: "select",
- default: "1",
- options: ["0", "1", "2"],
- label: "Focused tier",
- },
- accentColor: {
- type: "color",
- default: "#22c55e",
- label: "Accent color",
- },
- },
- durationInFrames: 180,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
-};
diff --git a/registry/remocn/pricing-tier-focus/index.tsx b/registry/remocn/pricing-tier-focus/index.tsx
deleted file mode 100644
index 479bd149..00000000
--- a/registry/remocn/pricing-tier-focus/index.tsx
+++ /dev/null
@@ -1,272 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface PricingTierFocusProps {
- focusedTier?: 0 | 1 | 2 | "0" | "1" | "2";
- accentColor?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-
-interface Tier {
- name: string;
- price: string;
- period: string;
- features: string[];
- cta: string;
-}
-
-const TIERS: Tier[] = [
- {
- name: "Free",
- price: "$0",
- period: "/mo",
- features: ["1 project", "Community support", "1 GB storage"],
- cta: "Get started",
- },
- {
- name: "Pro",
- price: "$24",
- period: "/mo",
- features: [
- "Unlimited projects",
- "Priority support",
- "100 GB storage",
- "Advanced analytics",
- ],
- cta: "Buy Pro",
- },
- {
- name: "Enterprise",
- price: "$99",
- period: "/mo",
- features: ["SSO & SAML", "Dedicated manager", "Unlimited storage"],
- cta: "Contact sales",
- },
-];
-
-export function PricingTierFocus({
- focusedTier = 1,
- accentColor = "#22c55e",
- speed = 1,
- className,
-}: PricingTierFocusProps) {
- const frame = useCurrentFrame() * speed;
- const { fps } = useVideoConfig();
-
- const focusedIdx = Number(focusedTier);
- const focusStart = 30;
-
- const focusProgress = spring({
- frame: frame - focusStart,
- fps,
- config: { mass: 1, damping: 18, stiffness: 90 },
- durationInFrames: 50,
- });
-
- const focusScale = interpolate(focusProgress, [0, 1], [1, 1.05]);
- const focusLift = interpolate(focusProgress, [0, 1], [0, -20]);
- const sideBrightness = interpolate(focusProgress, [0, 1], [1, 0.4]);
- const sideBlur = interpolate(focusProgress, [0, 1], [0, 4]);
- const sideScale = interpolate(focusProgress, [0, 1], [1, 0.95]);
-
- // Shimmer on Pro CTA — runs around frame 90
- const shimmerStart = 90;
- const shimmerPos = interpolate(
- frame,
- [shimmerStart, shimmerStart + 40],
- [-150, 250],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- background: "#0a0a0a",
- fontFamily: FONT_FAMILY,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- padding: 60,
- gap: 28,
- }}
- >
- {TIERS.map((tier, i) => {
- const isFocused = i === focusedIdx;
- const scale = isFocused ? focusScale : sideScale;
- const lift = isFocused ? focusLift : 0;
- const brightness = isFocused ? 1 : sideBrightness;
- const blurPx = isFocused ? 0 : sideBlur;
- const z = isFocused ? 10 : 1;
- const shadow = isFocused
- ? `0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px ${accentColor}55`
- : "0 8px 24px rgba(0,0,0,0.4)";
-
- return (
- <div
- key={tier.name}
- style={{
- position: "relative",
- flex: "1 1 0",
- maxWidth: 320,
- minHeight: 460,
- padding: 32,
- borderRadius: 20,
- background: "linear-gradient(180deg, #161616 0%, #0e0e0e 100%)",
- border: "1px solid rgba(255,255,255,0.08)",
- boxShadow: shadow,
- transform: `translateY(${lift}px) scale(${scale})`,
- filter: `brightness(${brightness}) blur(${blurPx}px)`,
- zIndex: z,
- display: "flex",
- flexDirection: "column",
- willChange: "transform, filter",
- }}
- >
- {isFocused && (
- <div
- style={{
- position: "absolute",
- top: 16,
- right: 16,
- padding: "4px 10px",
- borderRadius: 999,
- background: accentColor,
- color: "#0a0a0a",
- fontSize: 11,
- fontWeight: 700,
- letterSpacing: "0.04em",
- textTransform: "uppercase",
- }}
- >
- Popular
- </div>
- )}
- <div
- style={{
- fontSize: 14,
- fontWeight: 600,
- color: "rgba(255,255,255,0.6)",
- letterSpacing: "0.04em",
- textTransform: "uppercase",
- }}
- >
- {tier.name}
- </div>
- <div
- style={{
- marginTop: 12,
- display: "flex",
- alignItems: "baseline",
- gap: 4,
- }}
- >
- <div
- style={{
- fontSize: 56,
- fontWeight: 700,
- color: "white",
- letterSpacing: "-0.04em",
- lineHeight: 1,
- }}
- >
- {tier.price}
- </div>
- <div
- style={{
- fontSize: 16,
- color: "rgba(255,255,255,0.5)",
- fontWeight: 500,
- }}
- >
- {tier.period}
- </div>
- </div>
- <div
- style={{
- marginTop: 24,
- display: "flex",
- flexDirection: "column",
- gap: 12,
- flex: 1,
- }}
- >
- {tier.features.map((f) => (
- <div
- key={f}
- style={{
- display: "flex",
- alignItems: "center",
- gap: 10,
- fontSize: 14,
- color: "rgba(255,255,255,0.85)",
- }}
- >
- <div
- style={{
- width: 16,
- height: 16,
- borderRadius: 999,
- background: `${accentColor}22`,
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- color: accentColor,
- fontSize: 11,
- fontWeight: 700,
- flexShrink: 0,
- }}
- >
- ✓
- </div>
- {f}
- </div>
- ))}
- </div>
- <div
- style={{
- marginTop: 24,
- position: "relative",
- height: 44,
- borderRadius: 12,
- background: isFocused ? accentColor : "rgba(255,255,255,0.08)",
- color: isFocused ? "#0a0a0a" : "white",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- fontSize: 14,
- fontWeight: 600,
- overflow: "hidden",
- border: isFocused ? "none" : "1px solid rgba(255,255,255,0.1)",
- }}
- >
- {tier.cta}
- {isFocused && (
- <div
- style={{
- position: "absolute",
- top: 0,
- left: 0,
- bottom: 0,
- width: 80,
- transform: `translateX(${shimmerPos}px) skewX(-20deg)`,
- background:
- "linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%)",
- pointerEvents: "none",
- }}
- />
- )}
- </div>
- </div>
- );
- })}
- </div>
- );
-}
diff --git a/registry/remocn/registry.json b/registry/remocn/registry.json
index 986a5011..93565229 100644
--- a/registry/remocn/registry.json
+++ b/registry/remocn/registry.json
@@ -8,7 +8,9 @@
"type": "registry:component",
"title": "Soft Blur In",
"description": "Per-character fade-in with a gentle blur and upward motion. Apple's signature hero-title reveal.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "soft-blur-in/index.tsx",
@@ -22,7 +24,9 @@
"type": "registry:component",
"title": "Per Character Rise",
"description": "Letters slide up from below with no blur — crisp, deliberate, kinetic.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "per-character-rise/index.tsx",
@@ -36,7 +40,9 @@
"type": "registry:component",
"title": "Bottom-Up Letters",
"description": "Letters rise from below in a pronounced staircase, one symbol at a time, with zero blur.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "bottom-up-letters/index.tsx",
@@ -50,7 +56,9 @@
"type": "registry:component",
"title": "Top-Down Letters",
"description": "Letters descend from above in a pronounced staircase, one symbol at a time, with zero blur.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "top-down-letters/index.tsx",
@@ -64,7 +72,9 @@
"type": "registry:component",
"title": "Spring Scale In",
"description": "Words pop in with a soft overshoot scale, like a physical spring settling into place.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "spring-scale-in/index.tsx",
@@ -78,7 +88,9 @@
"type": "registry:component",
"title": "Micro Scale Fade",
"description": "A calm, tiny scale pop used as subtle premium polish for labels and headings.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "micro-scale-fade/index.tsx",
@@ -92,7 +104,9 @@
"type": "registry:component",
"title": "Scale Down Fade",
"description": "Subtle premium settle-in with a restrained scale-down fade on exit.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "scale-down-fade/index.tsx",
@@ -106,7 +120,9 @@
"type": "registry:component",
"title": "Blur Out Up",
"description": "Words arrive clean and depart upward with increasing blur for airy exits.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "blur-out-up/index.tsx",
@@ -120,7 +136,9 @@
"type": "registry:component",
"title": "Focus Blur Resolve",
"description": "A premium focus pull from heavy blur to crisp text, then a soft blur-out exit.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "focus-blur-resolve/index.tsx",
@@ -134,7 +152,9 @@
"type": "registry:component",
"title": "Line-by-Line Slide",
"description": "Each line enters from the left with a staggered slide and exits to the right for a flowing paragraph reveal.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "line-by-line-slide/index.tsx",
@@ -148,7 +168,9 @@
"type": "registry:component",
"title": "Per-Word Crossfade",
"description": "Words gently fade into place one after another, with a short vertical drift for a calm keynote rhythm.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "per-word-crossfade/index.tsx",
@@ -162,7 +184,9 @@
"type": "registry:component",
"title": "Fade Through",
"description": "A Material-style content transition: old fades out, new fades in with a soft delay.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "fade-through/index.tsx",
@@ -176,7 +200,9 @@
"type": "registry:component",
"title": "Shared Axis Y",
"description": "Per-word hard-cut transition with staircase timing for sharp editorial swaps.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "shared-axis-y/index.tsx",
@@ -190,7 +216,9 @@
"type": "registry:component",
"title": "Shared Axis Z",
"description": "Scale-based shared-axis transition for focus shifts and context depth.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "shared-axis-z/index.tsx",
@@ -204,7 +232,9 @@
"type": "registry:component",
"title": "Short Slide Right",
"description": "The whole phrase glides in from the left as one compact move while words reveal in sequence through opacity.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "short-slide-right/index.tsx",
@@ -218,7 +248,9 @@
"type": "registry:component",
"title": "Kinetic Center Build",
"description": "A word appears in the center; each new word enters from the right and pushes the line until the full phrase locks centered.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "kinetic-center-build/index.tsx",
@@ -232,7 +264,9 @@
"type": "registry:component",
"title": "Short Slide Down",
"description": "Each new word drops in from above into its own line and pushes the stack downward until a centered three-line composition locks in place.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "short-slide-down/index.tsx",
@@ -246,8 +280,13 @@
"type": "registry:component",
"title": "Typewriter",
"description": "Character-by-character text reveal with a deterministic blinking cursor.",
- "dependencies": ["remotion"],
- "registryDependencies": ["@remocn/remocn-ui", "@remocn/caret"],
+ "dependencies": [
+ "remotion"
+ ],
+ "registryDependencies": [
+ "@remocn/remocn-ui",
+ "@remocn/caret"
+ ],
"files": [
{
"path": "typewriter/index.tsx",
@@ -261,7 +300,9 @@
"type": "registry:component",
"title": "Inline Highlight",
"description": "Animates one word inside a sentence from a base color to a brand color.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "inline-highlight/index.tsx",
@@ -275,7 +316,9 @@
"type": "registry:component",
"title": "Strikethrough Replace",
"description": "Draws a strike line across old text then reveals new text in its place.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "strikethrough-replace/index.tsx",
@@ -289,7 +332,9 @@
"type": "registry:component",
"title": "Staggered Fade Up",
"description": "Words fade in and slide up one after another with a configurable delay.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "staggered-fade-up/index.tsx",
@@ -303,7 +348,9 @@
"type": "registry:component",
"title": "Mask Reveal Up",
"description": "Lines reveal upward with a soft masked feel and compact stagger.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "mask-reveal-up/index.tsx",
@@ -317,7 +364,9 @@
"type": "registry:component",
"title": "Tracking In",
"description": "Letter-spacing collapses and blur clears with a springy motion.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "tracking-in/index.tsx",
@@ -331,7 +380,9 @@
"type": "registry:component",
"title": "Shimmer Sweep",
"description": "Light shine sweeps across muted text via background-clip:text.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "shimmer-sweep/index.tsx",
@@ -345,7 +396,9 @@
"type": "registry:component",
"title": "Marker Highlight",
"description": "Colored marker block draws behind a phrase as the text color shifts.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "marker-highlight/index.tsx",
@@ -359,7 +412,9 @@
"type": "registry:component",
"title": "Slot Machine Roll",
"description": "Vertical reel scrolls characters from one value to another.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "slot-machine-roll/index.tsx",
@@ -373,7 +428,9 @@
"type": "registry:component",
"title": "Matrix Decode",
"description": "Random scramble resolves left-to-right into the target text.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "matrix-decode/index.tsx",
@@ -387,7 +444,9 @@
"type": "registry:component",
"title": "RGB Glitch Text",
"description": "Three RGB-offset text copies jitter for a brief glitch window.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "rgb-glitch-text/index.tsx",
@@ -401,7 +460,9 @@
"type": "registry:component",
"title": "Infinite Marquee",
"description": "Seamlessly looping horizontal text strip with optional stroke style.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "infinite-marquee/index.tsx",
@@ -415,7 +476,9 @@
"type": "registry:component",
"title": "Mesh Gradient Background",
"description": "Living gradient with amorphous color blobs slowly drifting across the frame.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "mesh-gradient-bg/index.tsx",
@@ -429,7 +492,9 @@
"type": "registry:component",
"title": "Dynamic Grid",
"description": "Subtle moving grid background with configurable cell size and direction.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "dynamic-grid/index.tsx",
@@ -443,7 +508,9 @@
"type": "registry:component",
"title": "Simulated Cursor",
"description": "Animated mouse cursor moving between waypoints with click ripple feedback.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "simulated-cursor/index.tsx",
@@ -457,7 +524,9 @@
"type": "registry:component",
"title": "Directional Wipe",
"description": "Slide one scene in while pushing the other out.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "directional-wipe/index.tsx",
@@ -466,26 +535,14 @@
}
]
},
- {
- "name": "device-mockup-zoom",
- "type": "registry:component",
- "title": "Device Mockup Zoom",
- "description": "Pull back from a UI to reveal it inside a device frame.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "device-mockup-zoom/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/device-mockup-zoom.tsx"
- }
- ]
- },
{
"name": "zoom-through-transition",
"type": "registry:component",
"title": "Zoom Through Transition",
"description": "Aggressively scale into the center of an element.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "zoom-through-transition/index.tsx",
@@ -499,7 +556,9 @@
"type": "registry:component",
"title": "Chat to Preview Layout",
"description": "Two-column layout where chat shrinks and preview expands.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "chat-to-preview-layout/index.tsx",
@@ -513,7 +572,9 @@
"type": "registry:component",
"title": "Animated Line Chart",
"description": "Line chart whose SVG path draws on from left to right with a leading dot.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "animated-line-chart/index.tsx",
@@ -527,7 +588,9 @@
"type": "registry:component",
"title": "Animated Bar Chart",
"description": "Bars spring up from the baseline in a staggered cascade.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "animated-bar-chart/index.tsx",
@@ -541,7 +604,9 @@
"type": "registry:component",
"title": "Terminal Simulator",
"description": "Terminal window that types out commands and rolls old lines off the top.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "terminal-simulator/index.tsx",
@@ -555,8 +620,12 @@
"type": "registry:component",
"title": "Terminal Cursor Zoom",
"description": "Camera locked to the typing cursor, dollying across a terminal as a command types at high zoom.",
- "dependencies": ["remotion"],
- "registryDependencies": ["@remocn/terminal-simulator"],
+ "dependencies": [
+ "remotion"
+ ],
+ "registryDependencies": [
+ "@remocn/terminal-simulator"
+ ],
"files": [
{
"path": "terminal-cursor-zoom/index.tsx",
@@ -565,40 +634,14 @@
}
]
},
- {
- "name": "code-diff-wipe",
- "type": "registry:component",
- "title": "Code Diff Wipe",
- "description": "Before/after code reveal via clip-path wipe with a handle marker.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "code-diff-wipe/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/code-diff-wipe.tsx"
- }
- ]
- },
- {
- "name": "drag-and-drop-flow",
- "type": "registry:component",
- "title": "Drag and Drop Flow",
- "description": "Simulated file drag into a dropzone followed by upload progress.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "drag-and-drop-flow/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/drag-and-drop-flow.tsx"
- }
- ]
- },
{
"name": "progress-steps",
"type": "registry:component",
"title": "Progress Steps",
"description": "Multi-step pipeline with sequentially activating nodes and filling lines.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "progress-steps/index.tsx",
@@ -612,7 +655,9 @@
"type": "registry:component",
"title": "Data Flow Pipes",
"description": "Glowing data packets travel along SVG bezier pipes between system nodes, leaving fading trails.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "data-flow-pipes/index.tsx",
@@ -621,26 +666,14 @@
}
]
},
- {
- "name": "code-accordion",
- "type": "registry:component",
- "title": "Code Accordion",
- "description": "A code window that springs a range of lines closed and replaces them with a \"N lines collapsed\" placeholder.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "code-accordion/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/code-accordion.tsx"
- }
- ]
- },
{
"name": "glass-code-block",
"type": "registry:component",
"title": "Glass Code Block",
"description": "A premium frosted-glass code editor window with a regex tokenizer and line-by-line stagger reveal.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "glass-code-block/index.tsx",
@@ -654,8 +687,12 @@
"type": "registry:component",
"title": "Glass Code Walk",
"description": "A camera that scans a glass code block top to bottom as it types, then pulls back to a centered hold.",
- "dependencies": ["remotion"],
- "registryDependencies": ["@remocn/glass-code-block"],
+ "dependencies": [
+ "remotion"
+ ],
+ "registryDependencies": [
+ "@remocn/glass-code-block"
+ ],
"files": [
{
"path": "glass-code-walk/index.tsx",
@@ -669,7 +706,9 @@
"type": "registry:component",
"title": "Spotlight Card",
"description": "A card with a moonlight-cool radial spotlight that follows a synthetic cursor and lights up its microborder.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "spotlight-card/index.tsx",
@@ -683,7 +722,9 @@
"type": "registry:component",
"title": "Perspective Marquee",
"description": "A 3D-tilted infinite marquee with depth-of-field blur on items rolling toward the horizon.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "perspective-marquee/index.tsx",
@@ -697,7 +738,9 @@
"type": "registry:component",
"title": "Frosted Glass Wipe",
"description": "Elegant scene transition through a sliding pane of frosted glass.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "frosted-glass-wipe/index.tsx",
@@ -711,7 +754,9 @@
"type": "registry:component",
"title": "Spatial Push",
"description": "A new scene physically presses the old one back into the frame.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "spatial-push/index.tsx",
@@ -725,7 +770,9 @@
"type": "registry:component",
"title": "Grid Pixelate Wipe",
"description": "Dissolve from one scene to the next through a deterministic grid of mask cells.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "grid-pixelate-wipe/index.tsx",
@@ -739,7 +786,9 @@
"type": "registry:component",
"title": "Chromatic Aberration Wipe",
"description": "An ultra-fast slide transition with an RGB glitch on the peak frames.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "chromatic-aberration-wipe/index.tsx",
@@ -748,26 +797,14 @@
}
]
},
- {
- "name": "hero-device-assemble",
- "type": "registry:component",
- "title": "Hero Device Assemble",
- "description": "Floating device layers spring together into a laptop or phone mockup, then the screen wakes with a shimmer.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "hero-device-assemble/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/hero-device-assemble.tsx"
- }
- ]
- },
{
"name": "ecosystem-constellation",
"type": "registry:component",
"title": "Ecosystem Constellation",
"description": "A central logo orbited by integration satellites with pulsing data lines.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "ecosystem-constellation/index.tsx",
@@ -776,26 +813,14 @@
}
]
},
- {
- "name": "ai-generation-canvas",
- "type": "registry:component",
- "title": "AI Generation Canvas",
- "description": "A prompt input transforms into a header, then a skeleton dashboard flips into populated cards.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "ai-generation-canvas/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/ai-generation-canvas.tsx"
- }
- ]
- },
{
"name": "live-code-compilation",
"type": "registry:component",
"title": "Live Code Compilation",
"description": "Split-screen where typed code on the left snaps a live UI preview on the right, HMR-style.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "live-code-compilation/index.tsx",
@@ -804,82 +829,14 @@
}
]
},
- {
- "name": "landing-code-showcase",
- "type": "registry:component",
- "title": "Landing Code Showcase",
- "description": "Magical split-screen: code types itself on the left while the preview reactively re-renders on the right with sparks and tactile bounce.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "landing-code-showcase/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/landing-code-showcase.tsx"
- }
- ]
- },
- {
- "name": "dashboard-populate",
- "type": "registry:component",
- "title": "Dashboard Populate",
- "description": "An empty dashboard cascades to life with KPI count-ups, bar bounces, line traces, and a donut fill.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "dashboard-populate/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/dashboard-populate.tsx"
- }
- ]
- },
- {
- "name": "terminal-to-browser-deploy",
- "type": "registry:component",
- "title": "Terminal to Browser Deploy",
- "description": "A CLI deploy completes, the terminal blurs back, and a browser window springs from the deploy URL.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "terminal-to-browser-deploy/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/terminal-to-browser-deploy.tsx"
- }
- ]
- },
- {
- "name": "browser-flow",
- "type": "registry:component",
- "title": "Browser Flow",
- "description": "Full Safari/Chrome simulation: typed URL, progress bar, page render, scroll, and a virtual cursor click.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "browser-flow/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/browser-flow.tsx"
- }
- ]
- },
- {
- "name": "pricing-tier-focus",
- "type": "registry:component",
- "title": "Pricing Tier Focus",
- "description": "Three pricing cards where the focused tier rises and brightens while siblings dim and blur.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "pricing-tier-focus/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/pricing-tier-focus.tsx"
- }
- ]
- },
{
"name": "infinite-bento-pan",
"type": "registry:component",
"title": "Infinite Bento Pan",
"description": "A camera diagonally drifts across an oversized bento grid behind a soft vignette.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "infinite-bento-pan/index.tsx",
@@ -888,41 +845,19 @@
}
]
},
- {
- "name": "tool-menu-slide-in",
- "type": "registry:component",
- "title": "Tool Menu Slide In",
- "description": "A glass tool palette whips up from below the editor canvas while its icons pop in with a stagger.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "tool-menu-slide-in/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/tool-menu-slide-in.tsx"
- }
- ]
- },
- {
- "name": "image-expand-to-fullscreen",
- "type": "registry:component",
- "title": "Image Expand To Fullscreen",
- "description": "An image lifts out of a feed post and morphs into a fullscreen editor with toolbars sliding in.",
- "dependencies": ["remotion"],
- "files": [
- {
- "path": "image-expand-to-fullscreen/index.tsx",
- "type": "registry:component",
- "target": "components/remocn/image-expand-to-fullscreen.tsx"
- }
- ]
- },
{
"name": "github-sponsors",
"type": "registry:component",
"title": "GitHub Sponsors",
"description": "Self-drawing Sponsors heart that docks to a header, every sponsor avatar blur-staggering into a grid, then a thank-you headline and a CTA. Single seek-safe timeline, 270 frames at 30fps.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/soft-blur-in", "@remocn/blur-out-up"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/soft-blur-in",
+ "@remocn/blur-out-up"
+ ],
"files": [
{
"path": "github-sponsors/index.tsx",
@@ -936,8 +871,14 @@
"type": "registry:component",
"title": "GitHub Stars",
"description": "Inertial fly-through of a repo's stargazers with a synced count-up odometer that locks on the total. Horizontal 16:9 or vertical 9:16.",
- "dependencies": ["remotion", "date-fns", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/number-wheel"],
+ "dependencies": [
+ "remotion",
+ "date-fns",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/number-wheel"
+ ],
"files": [
{
"path": "github-stars/index.tsx",
@@ -951,7 +892,10 @@
"type": "registry:component",
"title": "Number Wheel",
"description": "Mechanical odometer that rolls an integer up or down to its target, direction inferred from the values.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
"files": [
{
"path": "number-wheel/index.tsx",
@@ -965,7 +909,10 @@
"type": "registry:component",
"title": "Rolling Number",
"description": "Odometer where every place rolls at its own speed, new places rising into view, settling exactly on the target value.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
"files": [
{
"path": "rolling-number/index.tsx",
@@ -979,8 +926,13 @@
"type": "registry:component",
"title": "X Follow Card",
"description": "Animated X profile follow card — spring bounce-in, staggered blur-in, a synthetic cursor that clicks Follow and flips it to Following. Light/dark, horizontal or vertical.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/cursor"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/cursor"
+ ],
"files": [
{
"path": "x-follow-card/index.tsx",
@@ -994,8 +946,13 @@
"type": "registry:component",
"title": "X Followers Overview",
"description": "X follow notifications cycle through as 3D flipping text — '<name> followed you · 7h' — then the total follower count pops in with a confetti burst. Hardcoded sample list (X API ready). Light/dark, horizontal or vertical.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/confetti"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/confetti"
+ ],
"files": [
{
"path": "x-followers-overview/index.tsx",
@@ -1009,8 +966,14 @@
"type": "registry:component",
"title": "Claude Chat",
"description": "Animated Claude chat input — types a prompt character-by-character and the waveform button morphs into a terracotta send button the moment text appears. Warm light/dark themes.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/caret",
+ "@remocn/remocn-ui"
+ ],
"files": [
{
"path": "claude-chat/index.tsx",
@@ -1024,8 +987,14 @@
"type": "registry:component",
"title": "ChatGPT",
"description": "Animated ChatGPT composer — types a prompt into the pill input, the blue voice button morphs into a send button, and the suggestion chips fade out. Light/dark themes.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/caret",
+ "@remocn/remocn-ui"
+ ],
"files": [
{
"path": "chat-gpt/index.tsx",
@@ -1039,8 +1008,14 @@
"type": "registry:component",
"title": "v0",
"description": "Animated Vercel v0 composer — types a prompt into the dark textarea and the mic button morphs into a send button. Dark/light themes.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/caret",
+ "@remocn/remocn-ui"
+ ],
"files": [
{
"path": "v0/index.tsx",
@@ -1054,8 +1029,14 @@
"type": "registry:component",
"title": "Claude Code",
"description": "Animated Claude Code CLI welcome screen — terminal window with a dashed welcome box, recent activity and what's new panels, and a prompt line that types a command with a block cursor. Dark/light themes.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/caret",
+ "@remocn/remocn-ui"
+ ],
"files": [
{
"path": "claude-code/index.tsx",
@@ -1069,8 +1050,14 @@
"type": "registry:component",
"title": "OpenCode",
"description": "Animated OpenCode TUI welcome screen — two-tone wordmark, an input box with a blue accent bar that types a query, a model status line, and command hints. Dark/light themes.",
- "dependencies": ["remotion", "@remotion/google-fonts"],
- "registryDependencies": ["@remocn/caret", "@remocn/remocn-ui"],
+ "dependencies": [
+ "remotion",
+ "@remotion/google-fonts"
+ ],
+ "registryDependencies": [
+ "@remocn/caret",
+ "@remocn/remocn-ui"
+ ],
"files": [
{
"path": "opencode/index.tsx",
@@ -1084,7 +1071,9 @@
"type": "registry:component",
"title": "Confetti",
"description": "Deterministic confetti burst for Remotion — seeded particles with gravity, spin, and flutter so every render is identical. Fire it on any frame as a celebratory overlay.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "confetti/index.tsx",
@@ -1098,7 +1087,9 @@
"type": "registry:component",
"title": "Backdrop",
"description": "Configurable full-frame background (color / gradient / image / live component) with Screen Studio-style padding and a rounded, shadowed content frame.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "backdrop/index.tsx",
@@ -1112,7 +1103,9 @@
"type": "registry:component",
"title": "Logo Enter",
"description": "A stacked group of round brand chips that spring in one-by-one, then hold. Swap the logos to feature any set of marks. Horizontal or vertical stacking.",
- "dependencies": ["remotion"],
+ "dependencies": [
+ "remotion"
+ ],
"files": [
{
"path": "logo-enter/index.tsx",
diff --git a/registry/remocn/terminal-to-browser-deploy/config.ts b/registry/remocn/terminal-to-browser-deploy/config.ts
deleted file mode 100644
index aac92d04..00000000
--- a/registry/remocn/terminal-to-browser-deploy/config.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const terminalToBrowserDeployConfig: ComponentConfig = {
- componentName: "TerminalToBrowserDeploy",
- importPath: "@/components/remocn/terminal-to-browser-deploy",
- controls: {
- siteUrl: {
- type: "text",
- default: "https://app.example.com",
- label: "Site URL",
- },
- accentColor: {
- type: "color",
- default: "#22c55e",
- label: "Accent color",
- },
- },
- durationInFrames: 240,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
-};
diff --git a/registry/remocn/terminal-to-browser-deploy/index.tsx b/registry/remocn/terminal-to-browser-deploy/index.tsx
deleted file mode 100644
index c3d6e69f..00000000
--- a/registry/remocn/terminal-to-browser-deploy/index.tsx
+++ /dev/null
@@ -1,421 +0,0 @@
-"use client";
-
-import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";
-
-export interface TerminalToBrowserDeployProps {
- siteUrl?: string;
- accentColor?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-const MONO_FAMILY =
- "var(--font-geist-mono), ui-monospace, SFMono-Regular, Menlo, monospace";
-
-interface Line {
- text: string;
- start: number;
- type: "command" | "step" | "success";
-}
-
-function MacDots({ size = 12 }: { size?: number }) {
- return (
- <div style={{ display: "flex", gap: 8, alignItems: "center" }}>
- {["#ff5f57", "#febc2e", "#28c840"].map((c) => (
- <div
- key={c}
- style={{
- width: size,
- height: size,
- borderRadius: "50%",
- background: c,
- opacity: 0.85,
- }}
- />
- ))}
- </div>
- );
-}
-
-export function TerminalToBrowserDeploy({
- siteUrl = "https://app.example.com",
- accentColor = "#22c55e",
- speed = 1,
- className,
-}: TerminalToBrowserDeployProps) {
- const frame = useCurrentFrame() * speed;
- const { fps, durationInFrames } = useVideoConfig();
-
- const lines: Line[] = [
- { text: "$ pnpm deploy", start: 10, type: "command" },
- { text: "→ Building project...", start: 35, type: "step" },
- { text: "→ Bundling assets...", start: 55, type: "step" },
- { text: "→ Optimizing images...", start: 75, type: "step" },
- { text: "→ Uploading...", start: 95, type: "step" },
- { text: `✓ Deployed to ${siteUrl}`, start: 120, type: "success" },
- ];
-
- // typewriter for each line
- const renderedLines = lines.map((line) => {
- const elapsed = frame - line.start;
- const charsPerFrame = 1.6;
- const visibleChars = Math.max(
- 0,
- Math.min(line.text.length, Math.floor(elapsed * charsPerFrame)),
- );
- return {
- ...line,
- visible: line.text.slice(0, visibleChars),
- isVisible: elapsed >= 0,
- };
- });
-
- // Terminal collapse start (after deploy line is fully typed)
- const collapseStart = 155;
- const collapseProgress = interpolate(
- frame,
- [collapseStart, collapseStart + 18],
- [0, 1],
- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },
- );
- const terminalScale = interpolate(collapseProgress, [0, 1], [1, 0.8]);
- const terminalBlur = interpolate(collapseProgress, [0, 1], [0, 10]);
- const terminalOpacity = interpolate(collapseProgress, [0, 1], [1, 0.35]);
-
- // Browser spring entry
- const browserSpring = spring({
- frame: frame - collapseStart - 4,
- fps,
- config: { mass: 1, damping: 14, stiffness: 110 },
- durationInFrames: 50,
- });
- const browserScale = browserSpring;
- const browserOpacity = interpolate(browserSpring, [0, 0.3, 1], [0, 1, 1], {
- extrapolateRight: "clamp",
- });
-
- // Cursor for typewriter effect on the active line
- let activeLine: (typeof renderedLines)[number] | undefined;
- for (let i = renderedLines.length - 1; i >= 0; i--) {
- const l = renderedLines[i];
- if (l.isVisible && l.visible.length < l.text.length) {
- activeLine = l;
- break;
- }
- }
-
- // approximate vertical position of URL line within terminal body
- // line height ~ 30, body padding-top 18, lines start at index 0..5
- const urlLineIndex = 5;
- const lineHeight = 30;
- const terminalBodyPaddingTop = 22;
- const urlLineCenterY =
- terminalBodyPaddingTop + urlLineIndex * lineHeight + 12;
-
- // Terminal box dimensions inside the 1280x720 frame
- const terminalWidth = 820;
- const terminalHeight = 360;
- const terminalLeft = (1280 - terminalWidth) / 2;
- const terminalTop = (720 - terminalHeight) / 2;
- const terminalHeaderHeight = 36;
-
- // The transform-origin for the browser window: the URL text inside the terminal body
- const originX = terminalLeft + 200;
- const originY = terminalTop + terminalHeaderHeight + urlLineCenterY;
-
- // Browser window dimensions
- const browserWidth = 980;
- const browserHeight = 560;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- background: "#050505",
- fontFamily: FONT_FAMILY,
- }}
- >
- {/* subtle backdrop */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background:
- "radial-gradient(ellipse at center, #0f172a 0%, #050505 70%)",
- }}
- />
-
- {/* Terminal */}
- <div
- style={{
- position: "absolute",
- left: terminalLeft,
- top: terminalTop,
- width: terminalWidth,
- height: terminalHeight,
- borderRadius: 14,
- background: "rgba(15,15,17,0.96)",
- border: "1px solid rgba(255,255,255,0.08)",
- boxShadow:
- "0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06)",
- overflow: "hidden",
- transform: `scale(${terminalScale})`,
- filter: `blur(${terminalBlur}px)`,
- opacity: terminalOpacity,
- transformOrigin: "center center",
- willChange: "transform, filter",
- }}
- >
- <div
- style={{
- height: terminalHeaderHeight,
- display: "flex",
- alignItems: "center",
- paddingLeft: 14,
- borderBottom: "1px solid rgba(255,255,255,0.06)",
- background: "rgba(255,255,255,0.02)",
- }}
- >
- <MacDots />
- <div
- style={{
- flex: 1,
- textAlign: "center",
- color: "rgba(255,255,255,0.45)",
- fontFamily: MONO_FAMILY,
- fontSize: 12,
- marginRight: 56,
- }}
- >
- ~/project — zsh
- </div>
- </div>
- <div
- style={{
- padding: `${terminalBodyPaddingTop}px 22px`,
- fontFamily: MONO_FAMILY,
- fontSize: 16,
- lineHeight: `${lineHeight}px`,
- color: "rgba(255,255,255,0.85)",
- }}
- >
- {renderedLines.map((line, i) => {
- if (!line.isVisible) return null;
- const isActive = activeLine === line;
- const showCursor = isActive && Math.floor(frame / 12) % 2 === 0;
- const color =
- line.type === "success"
- ? accentColor
- : line.type === "command"
- ? "rgba(255,255,255,0.95)"
- : "rgba(255,255,255,0.7)";
- return (
- <div
- key={i}
- style={{
- color,
- whiteSpace: "pre",
- }}
- >
- {line.visible}
- {showCursor && (
- <span
- style={{
- display: "inline-block",
- width: 8,
- height: 18,
- background: "rgba(255,255,255,0.85)",
- verticalAlign: "text-bottom",
- marginLeft: 2,
- }}
- />
- )}
- </div>
- );
- })}
- </div>
- </div>
-
- {/* Browser window — emerges from URL line */}
- <div
- style={{
- position: "absolute",
- left: (1280 - browserWidth) / 2,
- top: (720 - browserHeight) / 2,
- width: browserWidth,
- height: browserHeight,
- borderRadius: 16,
- overflow: "hidden",
- background: "#0a0a0a",
- border: "1px solid rgba(255,255,255,0.1)",
- boxShadow:
- "0 50px 120px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.06)",
- transform: `scale(${browserScale})`,
- transformOrigin: `${((originX - (1280 - browserWidth) / 2) / browserWidth) * 100}% ${((originY - (720 - browserHeight) / 2) / browserHeight) * 100}%`,
- opacity: browserOpacity,
- willChange: "transform, opacity",
- }}
- >
- {/* Browser chrome */}
- <div
- style={{
- height: 44,
- display: "flex",
- alignItems: "center",
- gap: 14,
- paddingLeft: 16,
- paddingRight: 16,
- background: "rgba(20,20,22,0.95)",
- borderBottom: "1px solid rgba(255,255,255,0.06)",
- }}
- >
- <MacDots />
- <div
- style={{
- flex: 1,
- height: 26,
- borderRadius: 13,
- background: "rgba(255,255,255,0.06)",
- border: "1px solid rgba(255,255,255,0.08)",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- color: "rgba(255,255,255,0.7)",
- fontFamily: MONO_FAMILY,
- fontSize: 12,
- }}
- >
- {siteUrl}
- </div>
- <div style={{ width: 60 }} />
- </div>
- {/* Page */}
- <div
- style={{
- position: "absolute",
- inset: "44px 0 0 0",
- background:
- "linear-gradient(180deg, #0a0a0a 0%, #111118 60%, #0a0a0a 100%)",
- color: "white",
- padding: "60px 80px",
- display: "flex",
- flexDirection: "column",
- alignItems: "flex-start",
- gap: 24,
- }}
- >
- {/* nav */}
- <div
- style={{
- position: "absolute",
- top: 22,
- left: 80,
- right: 80,
- display: "flex",
- alignItems: "center",
- justifyContent: "space-between",
- fontFamily: FONT_FAMILY,
- fontSize: 14,
- color: "rgba(255,255,255,0.7)",
- }}
- >
- <div style={{ fontWeight: 600, color: "white" }}>Acme</div>
- <div style={{ display: "flex", gap: 24 }}>
- <span>Features</span>
- <span>Pricing</span>
- <span>Docs</span>
- </div>
- </div>
-
- {/* abstract shape */}
- <div
- style={{
- position: "absolute",
- right: 60,
- top: 120,
- width: 280,
- height: 280,
- borderRadius: "50%",
- background: `radial-gradient(circle at 30% 30%, ${accentColor}55, transparent 70%)`,
- filter: "blur(20px)",
- }}
- />
- <div
- style={{
- position: "absolute",
- right: 100,
- top: 160,
- width: 200,
- height: 200,
- borderRadius: 24,
- border: `1px solid ${accentColor}55`,
- transform: "rotate(12deg)",
- background:
- "linear-gradient(135deg, rgba(255,255,255,0.04), transparent)",
- }}
- />
-
- <div
- style={{
- fontFamily: FONT_FAMILY,
- fontSize: 14,
- color: accentColor,
- fontWeight: 500,
- marginTop: 50,
- }}
- >
- Now live
- </div>
- <div
- style={{
- fontFamily: FONT_FAMILY,
- fontSize: 72,
- fontWeight: 700,
- letterSpacing: "-0.04em",
- lineHeight: 1,
- maxWidth: 560,
- }}
- >
- Ship faster.
- </div>
- <div
- style={{
- fontFamily: FONT_FAMILY,
- fontSize: 18,
- color: "rgba(255,255,255,0.65)",
- maxWidth: 480,
- lineHeight: 1.5,
- }}
- >
- From commit to global edge in seconds. No config. No drama.
- </div>
- <button
- type="button"
- style={{
- marginTop: 8,
- padding: "14px 28px",
- borderRadius: 10,
- background: accentColor,
- color: "#0a0a0a",
- fontFamily: FONT_FAMILY,
- fontSize: 15,
- fontWeight: 600,
- border: "none",
- boxShadow: `0 10px 30px ${accentColor}40`,
- }}
- >
- Get started →
- </button>
- </div>
- </div>
-
- {/* prevent unused fps warning if duration computed */}
- <div style={{ display: "none" }}>{durationInFrames}</div>
- </div>
- );
-}
diff --git a/registry/remocn/tool-menu-slide-in/config.ts b/registry/remocn/tool-menu-slide-in/config.ts
deleted file mode 100644
index dab42081..00000000
--- a/registry/remocn/tool-menu-slide-in/config.ts
+++ /dev/null
@@ -1,44 +0,0 @@
-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";
-
-export const toolMenuSlideInConfig: ComponentConfig = {
- componentName: "ToolMenuSlideIn",
- importPath: "@/components/remocn/tool-menu-slide-in",
- controls: {
- panelStartFrame: {
- type: "number",
- default: 18,
- min: 0,
- max: 120,
- step: 1,
- label: "Panel start (frame)",
- },
- iconStagger: {
- type: "number",
- default: 4,
- min: 1,
- max: 20,
- step: 1,
- label: "Icon stagger (frames)",
- },
- iconCount: {
- type: "number",
- default: 5,
- min: 3,
- max: 8,
- step: 1,
- label: "Icon count",
- },
- accent: { type: "color", default: "#a78bfa", label: "Accent" },
- panelColor: {
- type: "color",
- default: "#12121299",
- label: "Panel color",
- },
- iconBg: { type: "color", default: "#ffffff10", label: "Icon background" },
- },
- durationInFrames: 180,
- fps: FPS,
- compositionWidth: W,
- compositionHeight: H,
- previewBackdrop: { type: "color", value: "#070708" },
-};
diff --git a/registry/remocn/tool-menu-slide-in/index.tsx b/registry/remocn/tool-menu-slide-in/index.tsx
deleted file mode 100644
index 2458243d..00000000
--- a/registry/remocn/tool-menu-slide-in/index.tsx
+++ /dev/null
@@ -1,270 +0,0 @@
-"use client";
-
-import {
- interpolate,
- Sequence,
- spring,
- useCurrentFrame,
- useVideoConfig,
-} from "remotion";
-
-export interface ToolMenuSlideInProps {
- panelStartFrame?: number;
- iconStagger?: number;
- iconCount?: number;
- accent?: string;
- panelColor?: string;
- iconBg?: string;
- speed?: number;
- className?: string;
-}
-
-const FONT_FAMILY =
- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";
-
-const ICON_GLYPHS = ["B", "S", "C", "P", "E", "T", "M", "L"];
-const PANEL_SLIDE_DURATION = 22;
-
-export function ToolMenuSlideIn({
- panelStartFrame = 18,
- iconStagger = 4,
- iconCount = 5,
- accent = "#a78bfa",
- panelColor = "rgba(18, 18, 22, 0.72)",
- iconBg = "rgba(255,255,255,0.06)",
- speed = 1,
- className,
-}: ToolMenuSlideInProps) {
- const rawFrame = useCurrentFrame();
- const frame = rawFrame * speed;
- const { fps } = useVideoConfig();
-
- const safeIconCount = Math.max(1, Math.min(8, Math.floor(iconCount)));
-
- // Snappy slide-in: high stiffness, moderate damping, low mass.
- const slide = spring({
- frame: frame - panelStartFrame,
- fps,
- config: { damping: 20, stiffness: 320, mass: 0.6 },
- });
-
- const panelTy = interpolate(slide, [0, 1], [120, 0]);
- const panelOpacity = interpolate(slide, [0, 0.4], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- // Icon sizing
- const ICON_SIZE = 64;
- const ICON_GAP = 14;
- const PANEL_PADDING = 14;
- const panelInnerWidth =
- safeIconCount * ICON_SIZE + (safeIconCount - 1) * ICON_GAP;
- const panelWidth = panelInnerWidth + PANEL_PADDING * 2;
- const panelHeight = ICON_SIZE + PANEL_PADDING * 2;
-
- return (
- <div
- className={className}
- style={{
- position: "absolute",
- inset: 0,
- overflow: "hidden",
- fontFamily: FONT_FAMILY,
- // subtle dot grid for editor-canvas feel
- backgroundImage:
- "radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px)",
- backgroundSize: "22px 22px",
- }}
- >
- {/* Top toolbar */}
- <div
- style={{
- position: "absolute",
- top: 24,
- left: 24,
- right: 24,
- height: 44,
- borderRadius: 12,
- background: "rgba(255,255,255,0.04)",
- border: "1px solid rgba(255,255,255,0.06)",
- display: "flex",
- alignItems: "center",
- padding: "0 14px",
- gap: 10,
- backdropFilter: "blur(8px)",
- }}
- >
- <div
- style={{
- width: 10,
- height: 10,
- borderRadius: 999,
- background: "rgba(255,255,255,0.18)",
- }}
- />
- <div
- style={{
- width: 10,
- height: 10,
- borderRadius: 999,
- background: "rgba(255,255,255,0.12)",
- }}
- />
- <div
- style={{
- width: 10,
- height: 10,
- borderRadius: 999,
- background: "rgba(255,255,255,0.12)",
- }}
- />
- <div
- style={{
- marginLeft: 16,
- fontSize: 12,
- color: "rgba(255,255,255,0.42)",
- letterSpacing: "0.02em",
- }}
- >
- editor — untitled.png
- </div>
- </div>
-
- {/* Centered placeholder canvas (the "image being edited") */}
- <div
- style={{
- position: "absolute",
- left: "50%",
- top: "50%",
- width: 720,
- height: 420,
- transform: "translate(-50%, -54%)",
- borderRadius: 18,
- background:
- "linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015))",
- border: "1px solid rgba(255,255,255,0.06)",
- boxShadow:
- "inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -40px 80px rgba(0,0,0,0.45), 0 30px 80px rgba(0,0,0,0.5)",
- overflow: "hidden",
- }}
- >
- {/* Faux content block */}
- <div
- style={{
- position: "absolute",
- inset: 0,
- background:
- "radial-gradient(60% 80% at 50% 40%, rgba(255,255,255,0.06), transparent 70%)",
- }}
- />
- </div>
-
- {/* The slide-in tool menu */}
- <div
- style={{
- position: "absolute",
- bottom: 60,
- left: "50%",
- width: panelWidth,
- height: panelHeight,
- transform: `translateX(-50%) translateY(${panelTy}%)`,
- opacity: panelOpacity,
- background: panelColor,
- backdropFilter: "blur(20px)",
- WebkitBackdropFilter: "blur(20px)",
- border: "1px solid rgba(255,255,255,0.08)",
- borderRadius: panelHeight / 2,
- boxShadow:
- "0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02), inset 0 1px 0 rgba(255,255,255,0.08)",
- padding: PANEL_PADDING,
- display: "flex",
- alignItems: "center",
- gap: ICON_GAP,
- }}
- >
- {Array.from({ length: safeIconCount }).map((_, i) => {
- const startAt =
- panelStartFrame + PANEL_SLIDE_DURATION + iconStagger * i;
- const isActive = i === 0;
- return (
- <Sequence
- key={i}
- from={startAt}
- layout="none"
- name={`tool-icon-${i}`}
- >
- <ToolIcon
- glyph={ICON_GLYPHS[i % ICON_GLYPHS.length]}
- size={ICON_SIZE}
- bg={iconBg}
- accent={accent}
- active={isActive}
- fps={fps}
- />
- </Sequence>
- );
- })}
- </div>
- </div>
- );
-}
-
-function ToolIcon({
- glyph,
- size,
- bg,
- accent,
- active,
- fps,
-}: {
- glyph: string;
- size: number;
- bg: string;
- accent: string;
- active: boolean;
- fps: number;
-}) {
- const frame = useCurrentFrame();
- const pop = spring({
- frame,
- fps,
- config: { damping: 14, stiffness: 260, mass: 0.7 },
- });
- const scale = interpolate(pop, [0, 1], [0, 1]);
- const opacity = interpolate(pop, [0, 0.6], [0, 1], {
- extrapolateLeft: "clamp",
- extrapolateRight: "clamp",
- });
-
- return (
- <div
- style={{
- width: size,
- height: size,
- borderRadius: 14,
- background: active
- ? `linear-gradient(180deg, ${accent}33, ${accent}14)`
- : bg,
- border: active
- ? `1px solid ${accent}55`
- : "1px solid rgba(255,255,255,0.06)",
- boxShadow: active
- ? `inset 0 1px 0 rgba(255,255,255,0.12), 0 0 24px ${accent}33`
- : "inset 0 1px 0 rgba(255,255,255,0.05)",
- display: "flex",
- alignItems: "center",
- justifyContent: "center",
- color: active ? "#ffffff" : "rgba(255,255,255,0.7)",
- fontSize: 22,
- fontWeight: 600,
- letterSpacing: "-0.01em",
- transform: `scale(${scale})`,
- opacity,
- transformOrigin: "center",
- }}
- >
- {glyph}
- </div>
- );
-}
diff --git a/skills/remocn/references/archetypes/logo-bumper.md b/skills/remocn/references/archetypes/logo-bumper.md
index f7ba4688..06c91790 100644
--- a/skills/remocn/references/archetypes/logo-bumper.md
+++ b/skills/remocn/references/archetypes/logo-bumper.md
@@ -16,7 +16,7 @@ Frame math: `60 (wordmark) + 45 (mark, −15 overlap with wordmark) + 45 (hold)
| 45–105f | **Mark reveal** | the brand mark draws, scales, or assembles in, overlapping the wordmark tail; settles at full opacity |
| 90–135f | **Hold** | complete lockup holds static — 30–45f of no motion for clean editor trim |
-Transitions: none internal — the bumper is atomic. Connect to surrounding content externally (`zoom-through-transition` or `image-expand-to-fullscreen` from the host composition).
+Transitions: none internal — the bumper is atomic. Connect to surrounding content externally (`zoom-through-transition` from the host composition).
## Beat → slots
diff --git a/skills/remocn/references/archetypes/product-demo.md b/skills/remocn/references/archetypes/product-demo.md
index e4a279e8..8c1d7b09 100644
--- a/skills/remocn/references/archetypes/product-demo.md
+++ b/skills/remocn/references/archetypes/product-demo.md
@@ -40,8 +40,8 @@ Pick one slot per beat from these candidates (full props in each `../components/
|---|---|---|
| **Hook** | `kinetic-center-build`, `blur-out-up`, `per-word-crossfade`, `tracking-in`, `staggered-fade-up` over `dynamic-grid` or solid | emphasize ONE word with the accent, sentence case |
| **Positioning** | `per-character-rise` / `focus-blur-resolve` / `kinetic-center-build` for the line and wordmark; `logo-enter` for a brand/partner logo cluster (not a single lockup) | resolve text into the brand mark; a single styled lockup may be a small new component |
-| **Product reveal** | `terminal-simulator`, `glass-code-block`, `code-accordion`, `device-mockup-zoom`; AI surfaces `chat-gpt`/`claude-chat`/`claude-code`/`v0`/`opencode`; add `cursor` / `simulated-cursor` | if the catalog lacks the exact surface, build a new lightweight `ui-frame` (see `../anatomy.md` §1) |
-| **Features** | `progress-steps` (checklist), `animated-bar-chart` / `animated-line-chart`, `per-word-crossfade` for a "designed to ___" swap, `marker-highlight` / `inline-highlight` for emphasis, `tool-menu-slide-in`, `data-flow-pipes` | one concrete moment per feature, 2–4 total |
+| **Product reveal** | `terminal-simulator`, `glass-code-block`; AI surfaces `chat-gpt`/`claude-chat`/`claude-code`/`v0`/`opencode`; add `cursor` / `simulated-cursor` | if the catalog lacks the exact surface, build a new lightweight `ui-frame` (see `../anatomy.md` §1) |
+| **Features** | `progress-steps` (checklist), `animated-bar-chart` / `animated-line-chart`, `per-word-crossfade` for a "designed to ___" swap, `marker-highlight` / `inline-highlight` for emphasis, `data-flow-pipes` | one concrete moment per feature, 2–4 total |
| **Proof** | `rolling-number` / `number-wheel` / `slot-machine-roll` for a score; `animated-bar-chart`; `github-stars` / `x-followers-overview` for social counts; a testimonial card (compose or build new) | land one number with the accent |
| **CTA** | `per-word-crossfade` / `kinetic-center-build` closer, `terminal-simulator` for a run-this command, `spring-scale-in` for a pill, `logo-enter`, `confetti` (one accent pop) | one ask + where to go |
| **Transitions** | `spatial-push` (going deeper), `fade-through` (neutral cut), `frosted-glass-wipe`, `directional-wipe`, `shared-axis-y`/`shared-axis-z` | wrap two scenes via `from`/`to` |
diff --git a/skills/remocn/references/motion-principles.md b/skills/remocn/references/motion-principles.md
index 6f6292b5..f73ea718 100644
--- a/skills/remocn/references/motion-principles.md
+++ b/skills/remocn/references/motion-principles.md
@@ -32,8 +32,7 @@ A short wind-up before the action makes it feel intentional: a drawer dips befor
- **Mechanic:** `spring()` with light overshoot, or a brief reverse `interpolate` (e.g. `−4px`)
for 1–3 frames before the main move.
-- **remocn:** `spring-scale-in`, `tool-menu-slide-in` (palette crouches before it flies up),
- `code-accordion`.
+- **remocn:** `spring-scale-in`.
- **Do/Avoid:** keep the wind-up to 1–3 frames, ≤110% scale. ❌ No bouncy cartoon recoil.
## 3. Staging — `core`
@@ -42,7 +41,7 @@ Direct the eye: one clear idea per scene. Clear the stage before introducing the
- **Mechanic:** `<Sequence>` / `<Series>` to isolate beats; stagger entrances so only one focal
element moves at a time; dim/scale-down what's leaving.
-- **remocn:** `pricing-tier-focus` (focused tier rises, siblings dim), most Compositions.
+- **remocn:** most Compositions.
- **Do/Avoid:** one focal action per beat. ❌ Don't enter five elements on the same frame.
## 4. Straight-Ahead vs Pose-to-Pose — `rarely-needed`
@@ -59,8 +58,7 @@ Pose-to-pose = define key frames, interpolate between. That's exactly how remocn
Nothing stops at once; elements arrive staggered. Lighter things lead, heavier lag.
- **Mechanic:** per-element delay offsets (`frame - index * stagger`) on the same animation.
-- **remocn:** `staggered-fade-up`, `tool-menu-slide-in` (icons pop after the panel),
- `short-slide-right`.
+- **remocn:** `staggered-fade-up`, `short-slide-right`.
- **Do/Avoid:** stagger 3–6 frames between siblings. ❌ Don't land a whole group on one frame
(reads robotic) and don't over-stagger (feels sluggish).
@@ -117,7 +115,7 @@ Form, weight, and consistent perspective. For block composition this is mostly f
components; it matters only if you build 3D-ish scenes.
- **Mechanic:** consistent `perspective` / `transform-origin` across layered elements.
-- **remocn:** `spatial-push`, `perspective-marquee`, `device-mockup-zoom`.
+- **remocn:** `spatial-push`, `perspective-marquee`.
- **Do/Avoid:** keep one perspective per scene when stacking 3D layers. ❌ Don't mix inconsistent
vanishing points.