Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: remove bg from remocnui
dev_wandryd5cab72bb497
diff --git a/components/docs/block-preview.tsx b/components/docs/block-preview.tsxindex 5f72ea0c..538a9e51 100644--- a/components/docs/block-preview.tsx+++ b/components/docs/block-preview.tsx@@ -44,6 +44,7 @@ export function BlockPreview({ name }: { name: string }) {fps={entry.fps}compositionWidth={entry.width}compositionHeight={entry.height}+ previewBackdrop={entry.previewBackdrop}/><div className="surface-card overflow-hidden rounded-2xl [&_pre]:!rounded-none [&_pre]:!border-0 [&_pre]:!bg-transparent">diff --git a/components/docs/examples/blocks/index.tsx b/components/docs/examples/blocks/index.tsxindex 8b97e2c7..05ac742f 100644--- a/components/docs/examples/blocks/index.tsx+++ b/components/docs/examples/blocks/index.tsx@@ -1,5 +1,6 @@import type { ComponentType } from "react";import { FPS, H, W } from "@/lib/customizer-config";+import type { BackdropFill } from "@/registry/remocn/backdrop";import {SignupFlowExampleScene,signupFlowExampleCode,@@ -55,6 +56,7 @@ export interface BlockExampleEntry {fps: number;width: number;height: number;+ previewBackdrop?: BackdropFill;}export const blockExamples: Record<string, BlockExampleEntry> = {@@ -67,6 +69,7 @@ export const blockExamples: Record<string, BlockExampleEntry> = {fps: FPS,width: W,height: H,+ previewBackdrop: { type: "color", value: "oklch(0.97 0 0)" },},"ai-prompt-flow": {Component: AiPromptFlowExampleScene,@@ -76,6 +79,7 @@ export const blockExamples: Record<string, BlockExampleEntry> = {fps: FPS,width: W,height: H,+ previewBackdrop: { type: "color", value: "oklch(1 0 0)" },},"checkout-flow": {Component: CheckoutFlowExampleScene,@@ -86,6 +90,7 @@ export const blockExamples: Record<string, BlockExampleEntry> = {fps: FPS,width: W,height: H,+ previewBackdrop: { type: "color", value: "oklch(0.97 0 0)" },},"onboarding-stepper-flow": {Component: OnboardingStepperFlowExampleScene,@@ -95,6 +100,7 @@ export const blockExamples: Record<string, BlockExampleEntry> = {fps: FPS,width: W,height: H,+ previewBackdrop: { type: "color", value: "oklch(1 0 0)" },},"settings-toggle-flow": {Component: SettingsToggleFlowExampleScene,@@ -106,6 +112,7 @@ export const blockExamples: Record<string, BlockExampleEntry> = {fps: FPS,width: W,height: H,+ previewBackdrop: { type: "color", value: "oklch(0.97 0 0)" },},"backdrop-color": {Component: BackdropColorScene,diff --git a/content/docs/ui/blocks/checkout-flow.mdx b/content/docs/ui/blocks/checkout-flow.mdxindex 103aab42..74f86b81 100644--- a/content/docs/ui/blocks/checkout-flow.mdx+++ b/content/docs/ui/blocks/checkout-flow.mdx@@ -82,12 +82,6 @@ The card surface fades in place (frames 0–18), then the header and each fielddefault: "\"Payment successful\"",description: "Success message shown in the toast.",},- {- name: "mode",- type: "\"light\" | \"dark\"",- default: "\"light\"",- description: "Color mode applied to all composed primitives.",- },{name: "theme",type: "RemocnTheme",diff --git a/content/docs/ui/blocks/settings-toggle-flow.mdx b/content/docs/ui/blocks/settings-toggle-flow.mdxindex 0fe251e9..bd62ec13 100644--- a/content/docs/ui/blocks/settings-toggle-flow.mdx+++ b/content/docs/ui/blocks/settings-toggle-flow.mdx@@ -69,12 +69,6 @@ The card surface fades in place (frames 0–18), then the header and each controdefault: "\"Settings saved\"",description: "Confirmation message shown in the toast.",},- {- name: "mode",- type: "\"light\" | \"dark\"",- default: "\"light\"",- description: "Color mode applied to all composed primitives.",- },{name: "theme",type: "RemocnTheme",diff --git a/content/docs/ui/blocks/signup-flow.mdx b/content/docs/ui/blocks/signup-flow.mdxindex 4107de25..1571a74a 100644--- a/content/docs/ui/blocks/signup-flow.mdx+++ b/content/docs/ui/blocks/signup-flow.mdx@@ -86,12 +86,6 @@ The scene opens with the cursor parked in the top-left. It clicks the Full Namedefault: "\"Account created\"",description: "Success message shown in the toast.",},- {- name: "mode",- type: "\"light\" | \"dark\"",- default: "\"light\"",- description: "Color mode applied to all composed primitives.",- },{name: "theme",type: "RemocnTheme",diff --git a/registry/remocn-ui/ai-prompt-flow/index.tsx b/registry/remocn-ui/ai-prompt-flow/index.tsxindex 5b2e3696..6220f01b 100644--- a/registry/remocn-ui/ai-prompt-flow/index.tsx+++ b/registry/remocn-ui/ai-prompt-flow/index.tsx@@ -16,7 +16,6 @@ export interface AiPromptFlowProps {buttonLabel?: string;answerLines?: string[];toastTitle?: string;- mode?: "light" | "dark";theme?: Partial<RemocnTheme>;}@@ -46,11 +45,10 @@ export function AiPromptFlow({buttonLabel = "Generate",answerLines = DEFAULT_ANSWER,toastTitle = "Response ready",- mode = "light",theme,}: AiPromptFlowProps) {- const resolved = useRemocnTheme(theme, mode);- const opts = { mode, theme };+ const resolved = useRemocnTheme(theme);+ const opts = { theme };const inputStyle = useInputTransition([@@ -74,7 +72,7 @@ export function AiPromptFlow({{ at: 64, state: "loading", duration: 1 },{ at: 150, state: "loaded", duration: 16 },],- { mode },+ {},);const panelOpacity = buttonStyle.spinnerOpacity;@@ -84,7 +82,7 @@ export function AiPromptFlow({{ at: 160, state: "visible", duration: 14 },{ at: 220, state: "hidden", duration: 14 },],- { mode },+ {},);return (@@ -93,7 +91,7 @@ export function AiPromptFlow({position: "relative",width: "100%",height: "100%",- background: resolved.background,+ background: "transparent",}}>{}diff --git a/registry/remocn-ui/checkout-flow/index.tsx b/registry/remocn-ui/checkout-flow/index.tsxindex 34af13c2..529771ee 100644--- a/registry/remocn-ui/checkout-flow/index.tsx+++ b/registry/remocn-ui/checkout-flow/index.tsx@@ -57,7 +57,6 @@ export interface CheckoutFlowProps {termsLabel?: string;payLabel?: string;toastTitle?: string;- mode?: "light" | "dark";theme?: Partial<RemocnTheme>;}@@ -70,11 +69,10 @@ export function CheckoutFlow({termsLabel = "I accept the terms and conditions",payLabel = "Pay $49",toastTitle = "Payment successful",- mode = "light",theme,}: CheckoutFlowProps) {- const resolved = useRemocnTheme(theme, mode);- const opts = { mode, theme };+ const resolved = useRemocnTheme(theme);+ const opts = { theme };const cardEnter = useBlurInTransition([{ at: 0, state: "revealed", duration: 18 }],@@ -138,7 +136,7 @@ export function CheckoutFlow({{ at: 224, state: "visible", duration: 14 },{ at: 286, state: "hidden", duration: 14 },],- { mode },+ {},);return (@@ -147,7 +145,7 @@ export function CheckoutFlow({position: "relative",width: "100%",height: "100%",- background: resolved.muted,+ background: "transparent",fontFamily:"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}diff --git a/registry/remocn-ui/onboarding-stepper-flow/index.tsx b/registry/remocn-ui/onboarding-stepper-flow/index.tsxindex 52f9b302..9e994b71 100644--- a/registry/remocn-ui/onboarding-stepper-flow/index.tsx+++ b/registry/remocn-ui/onboarding-stepper-flow/index.tsx@@ -25,7 +25,6 @@ export interface OnboardingStepperFlowProps {plans?: string[];nextLabel?: string;finishLabel?: string;- mode?: "light" | "dark";theme?: Partial<RemocnTheme>;}@@ -35,10 +34,9 @@ export function OnboardingStepperFlow({plans = DEFAULT_PLANS,nextLabel = "Next",finishLabel = "Finish",- mode = "light",theme,}: OnboardingStepperFlowProps) {- const opts = { mode, theme };+ const opts = { theme };const stepperStyle = useStepperTransition([{ at: 0, index: 0 },diff --git a/registry/remocn-ui/settings-toggle-flow/index.tsx b/registry/remocn-ui/settings-toggle-flow/index.tsxindex 14e04150..99da39e2 100644--- a/registry/remocn-ui/settings-toggle-flow/index.tsx+++ b/registry/remocn-ui/settings-toggle-flow/index.tsx@@ -77,7 +77,6 @@ export interface SettingsToggleFlowProps {selectItems?: string[];saveLabel?: string;toastTitle?: string;- mode?: "light" | "dark";theme?: Partial<RemocnTheme>;}@@ -88,11 +87,10 @@ export function SettingsToggleFlow({selectItems = DEFAULT_SELECT_ITEMS,saveLabel = "Save settings",toastTitle = "Settings saved",- mode = "light",theme,}: SettingsToggleFlowProps) {- const resolved = useRemocnTheme(theme, mode);- const opts = { mode, theme };+ const resolved = useRemocnTheme(theme);+ const opts = { theme };const lastItem = selectItems.length - 1;const ITEM_CY =@@ -192,7 +190,7 @@ export function SettingsToggleFlow({{ at: 196 + DEMO, state: "visible", duration: 12 },{ at: 256 + DEMO, state: "hidden", duration: 12 },],- { mode },+ {},);const rowLabelStyle = {@@ -208,7 +206,7 @@ export function SettingsToggleFlow({position: "relative",width: "100%",height: "100%",- background: resolved.muted,+ background: "transparent",fontFamily:"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}diff --git a/registry/remocn-ui/signup-flow/index.tsx b/registry/remocn-ui/signup-flow/index.tsxindex 50bd66d0..da092509 100644--- a/registry/remocn-ui/signup-flow/index.tsx+++ b/registry/remocn-ui/signup-flow/index.tsx@@ -29,7 +29,6 @@ export interface SignupFlowProps {googleLabel?: string;signinText?: string;toastTitle?: string;- mode?: "light" | "dark";theme?: Partial<RemocnTheme>;}@@ -53,11 +52,10 @@ export function SignupFlow({password = "••••••••",createLabel = "Create account",toastTitle = "Account created",- mode = "light",theme,}: SignupFlowProps) {- const resolved = useRemocnTheme(theme, mode);- const opts = { mode, theme };+ const resolved = useRemocnTheme(theme);+ const opts = { theme };const cardEnter = useBlurInTransition([{ at: 0, state: "revealed", duration: 18 }],@@ -141,7 +139,7 @@ export function SignupFlow({{ at: 234 + DEMO, state: "visible", duration: 14 },{ at: 300 + DEMO, state: "hidden", duration: 14 },],- { mode },+ {},);return (@@ -150,7 +148,7 @@ export function SignupFlow({position: "relative",width: "100%",height: "100%",- background: resolved.muted,+ background: "transparent",fontFamily:"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",}}