Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
feat: remove primitives
dev_wandry9d6961a127e5
diff --git a/content/docs/components.mdx b/content/docs/components.mdxindex a05649a4..9fc93b50 100644--- a/content/docs/components.mdx+++ b/content/docs/components.mdx@@ -122,48 +122,6 @@ Text effects, reveals, and kinetic type.]}/>-## Core Primitives--Foundational micro-interactions and reusable building blocks.--### Animations--<ComponentCardGrid- items={[- {- name: "SpringPopIn",- description: "Elastic scale pop with configurable overshoot",- status: "stable",- href: "/docs/primitives/spring-pop-in",- },- {- name: "SuccessConfetti",- description: "Deterministic particle burst from a chosen origin point",- status: "stable",- href: "/docs/primitives/success-confetti",- },- ]}-/>--### Interactions--<ComponentCardGrid- items={[- {- name: "BoundingBoxSelector",- description: "Figma-style selection rectangle that snaps around a target",- status: "stable",- href: "/docs/primitives/bounding-box-selector",- },- {- name: "ToastNotification",- description: "System toast that springs in, holds, and slides away",- status: "stable",- href: "/docs/primitives/toast-notification",- },- ]}-/>-## Environment & LightingBackgrounds, lighting, and atmosphere for your scenes.diff --git a/content/docs/meta.json b/content/docs/meta.jsonindex 483df2ec..506486bc 100644--- a/content/docs/meta.json+++ b/content/docs/meta.json@@ -3,7 +3,6 @@"pages": ["getting-started","typography",- "primitives","ui","environment","ui-blocks",diff --git a/content/docs/primitives/bounding-box-selector.mdx b/content/docs/primitives/bounding-box-selector.mdxdeleted file mode 100644index 9dda809d..00000000--- a/content/docs/primitives/bounding-box-selector.mdx+++ /dev/null@@ -1,80 +0,0 @@-----title: Bounding Box Selector-description: Figma-style selection rectangle appears around any element------<ComponentPreview name="bounding-box-selector" />--## Installation--<InstallBlock name="bounding-box-selector" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { BoundingBoxSelector } from "@/components/remocn/bounding-box-selector";--const BoundingBoxSelectorScene = () => (- <YourElement />-);--export const RemotionRoot = () => (- <Composition- id="BoundingBoxSelector"- component={BoundingBoxSelectorScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "children",- type: "ReactNode",- description: "The element to wrap. Falls back to a placeholder rectangle.",- },- {- name: "borderColor",- type: "string",- default: '"#0ea5e9"',- description: "Color of the selection border",- },- {- name: "handleColor",- type: "string",- default: '"#0ea5e9"',- description: "Stroke color of the corner/edge handles",- },- {- name: "borderWidth",- type: "number",- default: "2",- description: "Border width in pixels",- },- {- name: "appearAt",- type: "number",- default: "15",- description: "Frame at which the selection box appears",- },- {- name: "background",- type: "string",- default: '"#fafafa"',- description: "Outer background color",- },- {- name: "className",- type: "string",- description: "Optional className for the outer container",- },- ]}-/>diff --git a/content/docs/primitives/index.mdx b/content/docs/primitives/index.mdxdeleted file mode 100644index c40e897b..00000000--- a/content/docs/primitives/index.mdx+++ /dev/null@@ -1,44 +0,0 @@-----title: Core Primitives-description: Foundational micro-interactions and reusable building blocks------The smallest reusable units in remocn: pop-ins, pulses, cursors, and notifications. Drop them into any scene whenever you need a focused moment of motion.--## Animations--<ComponentCardGrid- items={[- {- name: "SpringPopIn",- description: "Elastic scale pop with configurable overshoot",- status: "stable",- href: "/docs/primitives/spring-pop-in",- },- {- name: "SuccessConfetti",- description: "Deterministic particle burst from a chosen origin point",- status: "stable",- href: "/docs/primitives/success-confetti",- },- ]}-/>--## Interactions--<ComponentCardGrid- items={[- {- name: "BoundingBoxSelector",- description: "Figma-style selection rectangle that snaps around a target",- status: "stable",- href: "/docs/primitives/bounding-box-selector",- },- {- name: "ToastNotification",- description: "System toast that springs in, holds, and slides away",- status: "stable",- href: "/docs/primitives/toast-notification",- },- ]}-/>diff --git a/content/docs/primitives/meta.json b/content/docs/primitives/meta.jsondeleted file mode 100644index 55083ead..00000000--- a/content/docs/primitives/meta.json+++ /dev/null@@ -1,11 +0,0 @@-{- "title": "Core Primitives",- "collapsible": false,- "pages": [- "index",- "spring-pop-in",- "success-confetti",- "bounding-box-selector",- "toast-notification"- ]-}diff --git a/content/docs/primitives/spring-pop-in.mdx b/content/docs/primitives/spring-pop-in.mdxdeleted file mode 100644index 0325226c..00000000--- a/content/docs/primitives/spring-pop-in.mdx+++ /dev/null@@ -1,79 +0,0 @@-----title: Spring Pop In-description: Elastic scale-in wrapper for any element------<ComponentPreview name="spring-pop-in" />--## Installation--<InstallBlock name="spring-pop-in" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { SpringPopIn } from "@/components/remocn/spring-pop-in";--const SpringPopInScene = () => (- <SpringPopIn damping={12}>- <div style={{ padding: 24, background: "#111", color: "white" }}>- Hello- </div>- </SpringPopIn>-);--export const RemotionRoot = () => (- <Composition- id="SpringPopIn"- component={SpringPopInScene}- durationInFrames={60}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "children",- type: "ReactNode",- required: true,- description: "Element(s) to animate",- },- {- name: "damping",- type: "number",- default: "12",- description: "Spring damping. Lower = more bounce.",- },- {- name: "mass",- type: "number",- default: "1",- description: "Spring mass",- },- {- name: "stiffness",- type: "number",- default: "100",- description: "Spring stiffness",- },- {- name: "delayInFrames",- type: "number",- default: "0",- description: "Delay before the spring starts, in frames",- },- {- name: "className",- type: "string",- description: "Optional className passed to the outer container",- },- ]}-/>diff --git a/content/docs/primitives/success-confetti.mdx b/content/docs/primitives/success-confetti.mdxdeleted file mode 100644index 99fe6fbb..00000000--- a/content/docs/primitives/success-confetti.mdx+++ /dev/null@@ -1,109 +0,0 @@-----title: Success Confetti-description: Deterministic confetti burst from a focal point with optional headline------<ComponentPreview name="success-confetti" />--## Installation--<InstallBlock name="success-confetti" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { SuccessConfetti } from "@/components/remocn/success-confetti";--const SuccessConfettiScene = () => (- <SuccessConfetti- text="Merged!"- count={60}- colors={["#ff5e3a", "#22c55e", "#0ea5e9", "#facc15", "#a855f7"]}- />-);--export const RemotionRoot = () => (- <Composition- id="SuccessConfetti"- component={SuccessConfettiScene}- durationInFrames={120}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "count",- type: "number",- default: "60",- description: "Number of confetti particles",- },- {- name: "colors",- type: "string[]",- default: "[\"#ff5e3a\",\"#22c55e\",\"#0ea5e9\",\"#facc15\",\"#a855f7\"]",- description: "Pool of colors that particles are randomly drawn from",- },- {- name: "originX",- type: "number",- default: "0.5",- description: "Horizontal burst origin as a fraction of the frame width (0..1)",- },- {- name: "originY",- type: "number",- default: "0.5",- description: "Vertical burst origin as a fraction of the frame height (0..1)",- },- {- name: "gravity",- type: "number",- default: "0.4",- description: "Downward acceleration applied per frame squared",- },- {- name: "velocity",- type: "number",- default: "12",- description: "Base outward speed for each particle in pixels per frame",- },- {- name: "text",- type: "string",- default: "\"Merged!\"",- description: "Optional headline rendered in the middle of the burst. Pass an empty string to hide.",- },- {- name: "textColor",- type: "string",- default: "\"#171717\"",- description: "Color of the headline",- },- {- name: "background",- type: "string",- default: "\"#fafafa\"",- description: "Frame background color",- },- {- name: "seed",- type: "string",- default: "\"remocn\"",- description: "Seed used to generate particle randomness. Change to get a different burst.",- },- {- name: "className",- type: "string",- description: "Optional className passed to the outer container",- },- ]}-/>diff --git a/content/docs/primitives/toast-notification.mdx b/content/docs/primitives/toast-notification.mdxdeleted file mode 100644index ddef053c..00000000--- a/content/docs/primitives/toast-notification.mdx+++ /dev/null@@ -1,91 +0,0 @@-----title: Toast Notification-description: System-style toast that pops in, holds, then slides out------<ComponentPreview name="toast-notification" />--## Installation--<InstallBlock name="toast-notification" />--## Usage--```tsx-// src/Root.tsx-import { Composition } from "remotion";-import { ToastNotification } from "@/components/remocn/toast-notification";--const ToastNotificationScene = () => (- <ToastNotification- title="Deployment successful"- message="Your changes are live at remocn.dev"- variant="success"- />-);--export const RemotionRoot = () => (- <Composition- id="ToastNotification"- component={ToastNotificationScene}- durationInFrames={90}- fps={30}- width={1280}- height={720}- />-);-```--## Props--<PropsTable- rows={[- {- name: "title",- type: "string",- default: "\"Deployment successful\"",- description: "Bold headline shown at the top of the toast",- },- {- name: "message",- type: "string",- default: "\"Your changes are live at remocn.dev\"",- description: "Secondary message shown below the title",- },- {- name: "variant",- type: "\"success\" | \"error\" | \"info\" | \"warning\"",- default: "\"success\"",- description: "Controls the inline icon and accent color",- },- {- name: "background",- type: "string",- default: "\"#fafafa\"",- description: "Frame background color",- },- {- name: "cardColor",- type: "string",- default: "\"white\"",- description: "Toast card background color",- },- {- name: "textColor",- type: "string",- default: "\"#171717\"",- description: "Color of the toast title",- },- {- name: "mutedColor",- type: "string",- default: "\"#71717a\"",- description: "Color of the toast message",- },- {- name: "className",- type: "string",- description: "Optional className passed to the toast card",- },- ]}-/>diff --git a/public/r/bounding-box-selector.json b/public/r/bounding-box-selector.jsondeleted file mode 100644index 3520d859..00000000--- a/public/r/bounding-box-selector.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "name": "bounding-box-selector",- "title": "Bounding Box Selector",- "description": "Figma-style selection rectangle appears around any element.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/bounding-box-selector/index.tsx",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface BoundingBoxSelectorProps {\n children?: ReactNode;\n borderColor?: string;\n handleColor?: string;\n borderWidth?: number;\n appearAt?: number;\n background?: string;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPlaceholder() {\n return (\n <div\n style={{\n width: 480,\n height: 280,\n background: \"white\",\n borderRadius: 16,\n boxShadow: \"0 12px 40px rgba(0,0,0,0.08)\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n color: \"#71717a\",\n fontFamily: FONT_FAMILY,\n fontSize: 24,\n fontWeight: 600,\n letterSpacing: \"-0.02em\",\n }}\n >\n Selected element\n </div>\n );\n}\n\nfunction Handle({\n color,\n style,\n}: {\n color: string;\n style: React.CSSProperties;\n}) {\n return (\n <div\n style={{\n position: \"absolute\",\n width: 10,\n height: 10,\n background: \"white\",\n border: `2px solid ${color}`,\n borderRadius: 2,\n ...style,\n }}\n />\n );\n}\n\nexport function BoundingBoxSelector({\n children,\n borderColor = \"#0ea5e9\",\n handleColor = \"#0ea5e9\",\n borderWidth = 2,\n appearAt = 15,\n background = \"#fafafa\",\n speed = 1,\n className,\n}: BoundingBoxSelectorProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const progress = spring({\n frame: frame - appearAt,\n fps,\n config: { damping: 16, stiffness: 140, mass: 0.7 },\n });\n\n const opacity = progress;\n const scale = 0.96 + progress * 0.04;\n\n const content = children ?? <DefaultPlaceholder />;\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n background,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n }}\n >\n <div style={{ position: \"relative\", display: \"inline-block\" }}>\n {content}\n <div\n style={{\n position: \"absolute\",\n inset: -8,\n border: `${borderWidth}px solid ${borderColor}`,\n borderRadius: 4,\n opacity,\n transform: `scale(${scale})`,\n transformOrigin: \"center center\",\n pointerEvents: \"none\",\n willChange: \"transform, opacity\",\n }}\n >\n <Handle color={handleColor} style={{ top: -6, left: -6 }} />\n <Handle color={handleColor} style={{ top: -6, right: -6 }} />\n <Handle color={handleColor} style={{ bottom: -6, left: -6 }} />\n <Handle color={handleColor} style={{ bottom: -6, right: -6 }} />\n <Handle\n color={handleColor}\n style={{ top: -6, left: \"50%\", marginLeft: -5 }}\n />\n <Handle\n color={handleColor}\n style={{ bottom: -6, left: \"50%\", marginLeft: -5 }}\n />\n <Handle\n color={handleColor}\n style={{ left: -6, top: \"50%\", marginTop: -5 }}\n />\n <Handle\n color={handleColor}\n style={{ right: -6, top: \"50%\", marginTop: -5 }}\n />\n </div>\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/bounding-box-selector.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/registry.json b/public/r/registry.jsonindex 824f285f..4309377c 100644--- a/public/r/registry.json+++ b/public/r/registry.json@@ -243,22 +243,6 @@],"type": "registry:component"},- {- "name": "spring-pop-in",- "title": "Spring Pop In",- "description": "Elastic spring-driven scale-in wrapper for any child element.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/spring-pop-in/index.tsx",- "type": "registry:component",- "target": "components/remocn/spring-pop-in.tsx"- }- ],- "type": "registry:component"- },{"name": "simulated-cursor","title": "Simulated Cursor",@@ -339,22 +323,6 @@],"type": "registry:component"},- {- "name": "bounding-box-selector",- "title": "Bounding Box Selector",- "description": "Figma-style selection rectangle appears around any element.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/bounding-box-selector/index.tsx",- "type": "registry:component",- "target": "components/remocn/bounding-box-selector.tsx"- }- ],- "type": "registry:component"- },{"name": "animated-line-chart","title": "Animated Line Chart",@@ -419,22 +387,6 @@],"type": "registry:component"},- {- "name": "toast-notification",- "title": "Toast Notification",- "description": "System-style toast pops in, holds, then slides out.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/toast-notification/index.tsx",- "type": "registry:component",- "target": "components/remocn/toast-notification.tsx"- }- ],- "type": "registry:component"- },{"name": "drag-and-drop-flow","title": "Drag and Drop Flow",@@ -547,22 +499,6 @@],"type": "registry:component"},- {- "name": "success-confetti",- "title": "Success Confetti",- "description": "Deterministic seeded confetti burst with optional headline.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/success-confetti/index.tsx",- "type": "registry:component",- "target": "components/remocn/success-confetti.tsx"- }- ],- "type": "registry:component"- },{"name": "frosted-glass-wipe","title": "Frosted Glass Wipe",diff --git a/public/r/spring-pop-in.json b/public/r/spring-pop-in.jsondeleted file mode 100644index 0da9e0dd..00000000--- a/public/r/spring-pop-in.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "name": "spring-pop-in",- "title": "Spring Pop In",- "description": "Elastic spring-driven scale-in wrapper for any child element.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/spring-pop-in/index.tsx",- "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface SpringPopInProps {\n children?: ReactNode;\n damping?: number;\n mass?: number;\n stiffness?: number;\n delayInFrames?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultChild() {\n return (\n <div\n style={{\n width: 280,\n height: 280,\n borderRadius: 32,\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: 56,\n fontWeight: 700,\n letterSpacing: \"-0.04em\",\n boxShadow: \"0 30px 80px rgba(14,165,233,0.35)\",\n }}\n >\n Pop!\n </div>\n );\n}\n\nexport function SpringPopIn({\n children,\n damping = 12,\n mass = 1,\n stiffness = 100,\n delayInFrames = 0,\n speed = 1,\n className,\n}: SpringPopInProps) {\n const frame = useCurrentFrame() * speed;\n const { fps } = useVideoConfig();\n\n const scale = spring({\n fps,\n frame: frame - delayInFrames,\n config: {\n damping,\n mass,\n stiffness,\n },\n });\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n background: \"white\",\n }}\n >\n <div\n style={{\n transform: `scale(${scale})`,\n transformOrigin: \"center\",\n willChange: \"transform\",\n }}\n >\n {children ?? <DefaultChild />}\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/spring-pop-in.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/success-confetti.json b/public/r/success-confetti.jsondeleted file mode 100644index 5b2d2c93..00000000--- a/public/r/success-confetti.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "name": "success-confetti",- "title": "Success Confetti",- "description": "Deterministic seeded confetti burst with optional headline.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/success-confetti/index.tsx",- "content": "\"use client\";\n\nimport {\n interpolate,\n random,\n spring,\n useCurrentFrame,\n useVideoConfig,\n} from \"remotion\";\n\nexport interface SuccessConfettiProps {\n count?: number;\n colors?: string[];\n originX?: number;\n originY?: number;\n gravity?: number;\n velocity?: number;\n text?: string;\n textColor?: string;\n background?: string;\n seed?: string;\n speed?: number;\n className?: string;\n}\n\nexport function SuccessConfetti({\n count = 60,\n colors = [\"#ff5e3a\", \"#22c55e\", \"#0ea5e9\", \"#facc15\", \"#a855f7\"],\n originX = 0.5,\n originY = 0.5,\n gravity = 0.4,\n velocity = 12,\n text = \"Merged!\",\n textColor = \"#171717\",\n background = \"#fafafa\",\n seed = \"remocn\",\n speed = 1,\n className,\n}: SuccessConfettiProps) {\n const frame = useCurrentFrame() * speed;\n const { fps, durationInFrames } = useVideoConfig();\n\n const width = 1280;\n const height = 720;\n const cx = width * originX;\n const cy = height * originY;\n\n const textPop = spring({\n frame: frame - 4,\n fps,\n config: { damping: 9, stiffness: 160, mass: 0.7 },\n });\n const textScale = interpolate(textPop, [0, 1], [0.6, 1]);\n const textOpacity = interpolate(frame, [4, 14], [0, 1], {\n extrapolateLeft: \"clamp\",\n extrapolateRight: \"clamp\",\n });\n const textExit = interpolate(\n frame,\n [durationInFrames - 12, durationInFrames],\n [1, 0],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const particles = Array.from({ length: count }, (_, i) => {\n const seedKey = `${seed}:${i}`;\n const angle = random(`${seedKey}:angle`) * Math.PI * 2; // 0..2pi for full burst\n const speed = velocity * (0.6 + random(`${seedKey}:speed`) * 0.8);\n const colorIndex = Math.floor(random(`${seedKey}:color`) * colors.length);\n const color = colors[colorIndex] ?? colors[0];\n const size = 6 + random(`${seedKey}:size`) * 8;\n const rotationSpeed = (random(`${seedKey}:rot`) - 0.5) * 16;\n const initialRotation = random(`${seedKey}:irot`) * 360;\n const isCircle = random(`${seedKey}:shape`) > 0.6;\n const lifeOffset = Math.floor(random(`${seedKey}:delay`) * 4);\n\n const f = Math.max(0, frame - lifeOffset);\n const x = cx + Math.cos(angle) * speed * f;\n const y = cy + Math.sin(angle) * speed * f + 0.5 * gravity * f * f;\n const rotation = initialRotation + rotationSpeed * f;\n\n const opacity = interpolate(\n frame,\n [0, 4, durationInFrames - 20, durationInFrames],\n [0, 1, 1, 0],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n return {\n x,\n y,\n rotation,\n color,\n size,\n isCircle,\n opacity,\n key: i,\n };\n });\n\n return (\n <div\n className={className}\n style={{\n position: \"absolute\",\n inset: 0,\n background,\n overflow: \"hidden\",\n fontFamily:\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\",\n }}\n >\n <svg\n width={width}\n height={height}\n viewBox={`0 0 ${width} ${height}`}\n style={{ position: \"absolute\", inset: 0 }}\n >\n {particles.map((p) =>\n p.isCircle ? (\n <circle\n key={p.key}\n cx={p.x}\n cy={p.y}\n r={p.size / 2}\n fill={p.color}\n opacity={p.opacity}\n />\n ) : (\n <rect\n key={p.key}\n x={-p.size / 2}\n y={-p.size / 2}\n width={p.size}\n height={p.size * 0.5}\n rx={1}\n fill={p.color}\n opacity={p.opacity}\n transform={`translate(${p.x} ${p.y}) rotate(${p.rotation})`}\n />\n ),\n )}\n </svg>\n\n {text ? (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n pointerEvents: \"none\",\n }}\n >\n <span\n style={{\n fontSize: 96,\n fontWeight: 700,\n letterSpacing: \"-0.04em\",\n color: textColor,\n transform: `scale(${textScale})`,\n opacity: Math.min(textOpacity, textExit),\n }}\n >\n {text}\n </span>\n </div>\n ) : null}\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/success-confetti.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/public/r/toast-notification.json b/public/r/toast-notification.jsondeleted file mode 100644index f7b7ee12..00000000--- a/public/r/toast-notification.json+++ /dev/null@@ -1,18 +0,0 @@-{- "$schema": "https://ui.shadcn.com/schema/registry-item.json",- "name": "toast-notification",- "title": "Toast Notification",- "description": "System-style toast pops in, holds, then slides out.",- "dependencies": [- "remotion"- ],- "files": [- {- "path": "registry/remocn/toast-notification/index.tsx",- "content": "\"use client\";\n\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport type ToastVariant = \"success\" | \"error\" | \"info\" | \"warning\";\n\nexport interface ToastNotificationProps {\n title?: string;\n message?: string;\n variant?: ToastVariant;\n background?: string;\n cardColor?: string;\n textColor?: string;\n mutedColor?: string;\n speed?: number;\n className?: string;\n}\n\nconst VARIANT_COLORS: Record<ToastVariant, string> = {\n success: \"#22c55e\",\n error: \"#ef4444\",\n info: \"#0ea5e9\",\n warning: \"#f59e0b\",\n};\n\nfunction VariantIcon({\n variant,\n color,\n}: {\n variant: ToastVariant;\n color: string;\n}) {\n const common = {\n width: 22,\n height: 22,\n viewBox: \"0 0 24 24\",\n fill: \"none\",\n stroke: color,\n strokeWidth: 2.4,\n strokeLinecap: \"round\" as const,\n strokeLinejoin: \"round\" as const,\n };\n\n if (variant === \"success\") {\n return (\n <svg {...common}>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M8 12.5l2.8 2.8L16 9.8\" />\n </svg>\n );\n }\n if (variant === \"error\") {\n return (\n <svg {...common}>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M15 9l-6 6M9 9l6 6\" />\n </svg>\n );\n }\n if (variant === \"warning\") {\n return (\n <svg {...common}>\n <path d=\"M12 3l10 18H2L12 3z\" />\n <path d=\"M12 10v5M12 18v.01\" />\n </svg>\n );\n }\n return (\n <svg {...common}>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 8v.01M12 12v5\" />\n </svg>\n );\n}\n\nexport function ToastNotification({\n title = \"Deployment successful\",\n message = \"Your changes are live at remocn.dev\",\n variant = \"success\",\n background = \"#fafafa\",\n cardColor = \"white\",\n textColor = \"#171717\",\n mutedColor = \"#71717a\",\n speed = 1,\n className,\n}: ToastNotificationProps) {\n const frame = useCurrentFrame() * speed;\n const { fps, durationInFrames } = useVideoConfig();\n\n const enterFrames = 15;\n const exitFrames = 15;\n const exitStart = Math.max(enterFrames, durationInFrames - exitFrames);\n\n const enterProgress = spring({\n frame,\n fps,\n config: { damping: 14, stiffness: 140, mass: 0.7 },\n durationInFrames: enterFrames,\n });\n\n const enterTranslate = interpolate(enterProgress, [0, 1], [40, 0]);\n const enterOpacity = interpolate(enterProgress, [0, 1], [0, 1], {\n extrapolateRight: \"clamp\",\n });\n\n const exitTranslate = interpolate(\n frame,\n [exitStart, exitStart + exitFrames],\n [0, 40],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n const exitOpacity = interpolate(\n frame,\n [exitStart, exitStart + exitFrames],\n [1, 0],\n { extrapolateLeft: \"clamp\", extrapolateRight: \"clamp\" },\n );\n\n const translateY = enterTranslate + exitTranslate;\n const opacity = Math.min(enterOpacity, exitOpacity);\n\n const accent = VARIANT_COLORS[variant];\n\n return (\n <div\n style={{\n position: \"absolute\",\n inset: 0,\n background,\n fontFamily:\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\",\n }}\n >\n <div\n className={className}\n style={{\n position: \"absolute\",\n right: 32,\n bottom: 32,\n transform: `translateY(${translateY}px)`,\n opacity,\n display: \"flex\",\n alignItems: \"flex-start\",\n gap: 14,\n padding: \"16px 20px\",\n minWidth: 320,\n maxWidth: 420,\n background: cardColor,\n borderRadius: 14,\n boxShadow: \"0 10px 30px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06)\",\n border: \"1px solid rgba(0,0,0,0.06)\",\n }}\n >\n <div\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n width: 36,\n height: 36,\n borderRadius: 999,\n background: `${accent}1f`,\n flexShrink: 0,\n }}\n >\n <VariantIcon variant={variant} color={accent} />\n </div>\n <div style={{ display: \"flex\", flexDirection: \"column\", gap: 2 }}>\n <span\n style={{\n fontSize: 16,\n fontWeight: 600,\n color: textColor,\n letterSpacing: \"-0.01em\",\n }}\n >\n {title}\n </span>\n <span style={{ fontSize: 14, color: mutedColor, lineHeight: 1.4 }}>\n {message}\n </span>\n </div>\n </div>\n </div>\n );\n}\n",- "type": "registry:component",- "target": "components/remocn/toast-notification.tsx"- }- ],- "type": "registry:component"-}\ No newline at end of filediff --git a/registry/__index__.tsx b/registry/__index__.tsxindex d1311ae4..394fecc3 100644--- a/registry/__index__.tsx+++ b/registry/__index__.tsx@@ -9,8 +9,6 @@ import { AnimatedLineChart } from "@/registry/remocn/animated-line-chart";import { animatedLineChartConfig } from "@/registry/remocn/animated-line-chart/config";import { BlurReveal } from "@/registry/remocn/blur-reveal";import { blurRevealConfig } from "@/registry/remocn/blur-reveal/config";-import { BoundingBoxSelector } from "@/registry/remocn/bounding-box-selector";-import { boundingBoxSelectorConfig } from "@/registry/remocn/bounding-box-selector/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";@@ -85,20 +83,14 @@ import { SpatialPush } from "@/registry/remocn/spatial-push";import { spatialPushConfig } from "@/registry/remocn/spatial-push/config";import { SpotlightCard } from "@/registry/remocn/spotlight-card";import { spotlightCardConfig } from "@/registry/remocn/spotlight-card/config";-import { SpringPopIn } from "@/registry/remocn/spring-pop-in";-import { springPopInConfig } from "@/registry/remocn/spring-pop-in/config";import { StaggeredFadeUp } from "@/registry/remocn/staggered-fade-up";import { staggeredFadeUpConfig } from "@/registry/remocn/staggered-fade-up/config";import { StrikethroughReplace } from "@/registry/remocn/strikethrough-replace";import { strikethroughReplaceConfig } from "@/registry/remocn/strikethrough-replace/config";-import { SuccessConfetti } from "@/registry/remocn/success-confetti";-import { successConfettiConfig } from "@/registry/remocn/success-confetti/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 { ToastNotification } from "@/registry/remocn/toast-notification";-import { toastNotificationConfig } from "@/registry/remocn/toast-notification/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";@@ -228,7 +220,6 @@ const registry: Record<string, RegistryEntry> = {config: meshGradientBgConfig,},"dynamic-grid": { Component: DynamicGrid, config: dynamicGridConfig },- "spring-pop-in": { Component: SpringPopIn, config: springPopInConfig },"simulated-cursor": {Component: SimulatedCursor,config: simulatedCursorConfig,@@ -249,10 +240,6 @@ const registry: Record<string, RegistryEntry> = {Component: ChatToPreviewLayout,config: chatToPreviewLayoutConfig,},- "bounding-box-selector": {- Component: BoundingBoxSelector,- config: boundingBoxSelectorConfig,- },"animated-line-chart": {Component: AnimatedLineChart,config: animatedLineChartConfig,@@ -266,19 +253,11 @@ const registry: Record<string, RegistryEntry> = {config: terminalSimulatorConfig,},"code-diff-wipe": { Component: CodeDiffWipe, config: codeDiffWipeConfig },- "toast-notification": {- Component: ToastNotification,- config: toastNotificationConfig,- },"drag-and-drop-flow": {Component: DragAndDropFlow,config: dragAndDropFlowConfig,},"progress-steps": { Component: ProgressSteps, config: progressStepsConfig },- "success-confetti": {- Component: SuccessConfetti,- config: successConfettiConfig,- },"frosted-glass-wipe": {Component: FrostedGlassWipe,config: frostedGlassWipeConfig,diff --git a/registry/remocn/bounding-box-selector/config.ts b/registry/remocn/bounding-box-selector/config.tsdeleted file mode 100644index 6a725c04..00000000--- a/registry/remocn/bounding-box-selector/config.ts+++ /dev/null@@ -1,31 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const boundingBoxSelectorConfig: ComponentConfig = {- componentName: "BoundingBoxSelector",- importPath: "@/components/remocn/bounding-box-selector",- controls: {- borderColor: { type: "color", default: "#0ea5e9", label: "Border color" },- handleColor: { type: "color", default: "#0ea5e9", label: "Handle color" },- borderWidth: {- type: "number",- default: 2,- min: 1,- max: 8,- step: 1,- label: "Border width",- },- appearAt: {- type: "number",- default: 15,- min: 0,- max: 60,- step: 1,- label: "Appear at (frame)",- },- background: { type: "color", default: "#fafafa", label: "Background" },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/bounding-box-selector/index.tsx b/registry/remocn/bounding-box-selector/index.tsxdeleted file mode 100644index 527cd38a..00000000--- a/registry/remocn/bounding-box-selector/index.tsx+++ /dev/null@@ -1,141 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { spring, useCurrentFrame, useVideoConfig } from "remotion";--export interface BoundingBoxSelectorProps {- children?: ReactNode;- borderColor?: string;- handleColor?: string;- borderWidth?: number;- appearAt?: number;- background?: string;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultPlaceholder() {- return (- <div- style={{- width: 480,- height: 280,- background: "white",- borderRadius: 16,- boxShadow: "0 12px 40px rgba(0,0,0,0.08)",- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "#71717a",- fontFamily: FONT_FAMILY,- fontSize: 24,- fontWeight: 600,- letterSpacing: "-0.02em",- }}- >- Selected element- </div>- );-}--function Handle({- color,- style,-}: {- color: string;- style: React.CSSProperties;-}) {- return (- <div- style={{- position: "absolute",- width: 10,- height: 10,- background: "white",- border: `2px solid ${color}`,- borderRadius: 2,- ...style,- }}- />- );-}--export function BoundingBoxSelector({- children,- borderColor = "#0ea5e9",- handleColor = "#0ea5e9",- borderWidth = 2,- appearAt = 15,- background = "#fafafa",- speed = 1,- className,-}: BoundingBoxSelectorProps) {- const frame = useCurrentFrame() * speed;- const { fps } = useVideoConfig();-- const progress = spring({- frame: frame - appearAt,- fps,- config: { damping: 16, stiffness: 140, mass: 0.7 },- });-- const opacity = progress;- const scale = 0.96 + progress * 0.04;-- const content = children ?? <DefaultPlaceholder />;-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- background,- display: "flex",- alignItems: "center",- justifyContent: "center",- }}- >- <div style={{ position: "relative", display: "inline-block" }}>- {content}- <div- style={{- position: "absolute",- inset: -8,- border: `${borderWidth}px solid ${borderColor}`,- borderRadius: 4,- opacity,- transform: `scale(${scale})`,- transformOrigin: "center center",- pointerEvents: "none",- willChange: "transform, opacity",- }}- >- <Handle color={handleColor} style={{ top: -6, left: -6 }} />- <Handle color={handleColor} style={{ top: -6, right: -6 }} />- <Handle color={handleColor} style={{ bottom: -6, left: -6 }} />- <Handle color={handleColor} style={{ bottom: -6, right: -6 }} />- <Handle- color={handleColor}- style={{ top: -6, left: "50%", marginLeft: -5 }}- />- <Handle- color={handleColor}- style={{ bottom: -6, left: "50%", marginLeft: -5 }}- />- <Handle- color={handleColor}- style={{ left: -6, top: "50%", marginTop: -5 }}- />- <Handle- color={handleColor}- style={{ right: -6, top: "50%", marginTop: -5 }}- />- </div>- </div>- </div>- );-}diff --git a/registry/remocn/registry.json b/registry/remocn/registry.jsonindex 6933d752..1881dd41 100644--- a/registry/remocn/registry.json+++ b/registry/remocn/registry.json@@ -213,20 +213,6 @@}]},- {- "name": "spring-pop-in",- "type": "registry:component",- "title": "Spring Pop In",- "description": "Elastic spring-driven scale-in wrapper for any child element.",- "dependencies": ["remotion"],- "files": [- {- "path": "spring-pop-in/index.tsx",- "type": "registry:component",- "target": "components/remocn/spring-pop-in.tsx"- }- ]- },{"name": "simulated-cursor","type": "registry:component",@@ -297,20 +283,6 @@}]},- {- "name": "bounding-box-selector",- "type": "registry:component",- "title": "Bounding Box Selector",- "description": "Figma-style selection rectangle appears around any element.",- "dependencies": ["remotion"],- "files": [- {- "path": "bounding-box-selector/index.tsx",- "type": "registry:component",- "target": "components/remocn/bounding-box-selector.tsx"- }- ]- },{"name": "animated-line-chart","type": "registry:component",@@ -367,20 +339,6 @@}]},- {- "name": "toast-notification",- "type": "registry:component",- "title": "Toast Notification",- "description": "System-style toast pops in, holds, then slides out.",- "dependencies": ["remotion"],- "files": [- {- "path": "toast-notification/index.tsx",- "type": "registry:component",- "target": "components/remocn/toast-notification.tsx"- }- ]- },{"name": "drag-and-drop-flow","type": "registry:component",@@ -479,20 +437,6 @@}]},- {- "name": "success-confetti",- "type": "registry:component",- "title": "Success Confetti",- "description": "Deterministic seeded confetti burst with optional headline.",- "dependencies": ["remotion"],- "files": [- {- "path": "success-confetti/index.tsx",- "type": "registry:component",- "target": "components/remocn/success-confetti.tsx"- }- ]- },{"name": "frosted-glass-wipe","type": "registry:component",diff --git a/registry/remocn/spring-pop-in/config.ts b/registry/remocn/spring-pop-in/config.tsdeleted file mode 100644index 603f0d39..00000000--- a/registry/remocn/spring-pop-in/config.ts+++ /dev/null@@ -1,44 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const springPopInConfig: ComponentConfig = {- componentName: "SpringPopIn",- importPath: "@/components/remocn/spring-pop-in",- controls: {- damping: {- type: "number",- default: 12,- min: 1,- max: 40,- step: 1,- label: "Damping",- },- mass: {- type: "number",- default: 1,- min: 0.1,- max: 5,- step: 0.1,- label: "Mass",- },- stiffness: {- type: "number",- default: 100,- min: 10,- max: 400,- step: 5,- label: "Stiffness",- },- delayInFrames: {- type: "number",- default: 0,- min: 0,- max: 60,- step: 1,- label: "Delay (frames)",- },- },- durationInFrames: 60,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/spring-pop-in/index.tsx b/registry/remocn/spring-pop-in/index.tsxdeleted file mode 100644index 88753610..00000000--- a/registry/remocn/spring-pop-in/index.tsx+++ /dev/null@@ -1,88 +0,0 @@-"use client";--import type { ReactNode } from "react";-import { spring, useCurrentFrame, useVideoConfig } from "remotion";--export interface SpringPopInProps {- children?: ReactNode;- damping?: number;- mass?: number;- stiffness?: number;- delayInFrames?: number;- speed?: number;- className?: string;-}--const FONT_FAMILY =- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif";--function DefaultChild() {- return (- <div- style={{- width: 280,- height: 280,- borderRadius: 32,- background: "linear-gradient(135deg, #0ea5e9 0%, #9333ea 100%)",- display: "flex",- alignItems: "center",- justifyContent: "center",- color: "white",- fontFamily: FONT_FAMILY,- fontSize: 56,- fontWeight: 700,- letterSpacing: "-0.04em",- boxShadow: "0 30px 80px rgba(14,165,233,0.35)",- }}- >- Pop!- </div>- );-}--export function SpringPopIn({- children,- damping = 12,- mass = 1,- stiffness = 100,- delayInFrames = 0,- speed = 1,- className,-}: SpringPopInProps) {- const frame = useCurrentFrame() * speed;- const { fps } = useVideoConfig();-- const scale = spring({- fps,- frame: frame - delayInFrames,- config: {- damping,- mass,- stiffness,- },- });-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- display: "flex",- alignItems: "center",- justifyContent: "center",- background: "white",- }}- >- <div- style={{- transform: `scale(${scale})`,- transformOrigin: "center",- willChange: "transform",- }}- >- {children ?? <DefaultChild />}- </div>- </div>- );-}diff --git a/registry/remocn/success-confetti/config.ts b/registry/remocn/success-confetti/config.tsdeleted file mode 100644index c1d51a08..00000000--- a/registry/remocn/success-confetti/config.ts+++ /dev/null@@ -1,56 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const successConfettiConfig: ComponentConfig = {- componentName: "SuccessConfetti",- importPath: "@/components/remocn/success-confetti",- controls: {- count: {- type: "number",- default: 60,- min: 10,- max: 200,- step: 5,- label: "Particle count",- },- originX: {- type: "number",- default: 0.5,- min: 0,- max: 1,- step: 0.05,- label: "Origin X",- },- originY: {- type: "number",- default: 0.5,- min: 0,- max: 1,- step: 0.05,- label: "Origin Y",- },- gravity: {- type: "number",- default: 0.4,- min: 0,- max: 2,- step: 0.05,- label: "Gravity",- },- velocity: {- type: "number",- default: 12,- min: 1,- max: 40,- step: 0.5,- label: "Velocity",- },- text: { type: "text", default: "Merged!", label: "Text" },- textColor: { type: "color", default: "#171717", label: "Text color" },- background: { type: "color", default: "#fafafa", label: "Background" },- seed: { type: "text", default: "remocn", label: "Seed" },- },- durationInFrames: 120,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/success-confetti/index.tsx b/registry/remocn/success-confetti/index.tsxdeleted file mode 100644index e1ec6332..00000000--- a/registry/remocn/success-confetti/index.tsx+++ /dev/null@@ -1,172 +0,0 @@-"use client";--import {- interpolate,- random,- spring,- useCurrentFrame,- useVideoConfig,-} from "remotion";--export interface SuccessConfettiProps {- count?: number;- colors?: string[];- originX?: number;- originY?: number;- gravity?: number;- velocity?: number;- text?: string;- textColor?: string;- background?: string;- seed?: string;- speed?: number;- className?: string;-}--export function SuccessConfetti({- count = 60,- colors = ["#ff5e3a", "#22c55e", "#0ea5e9", "#facc15", "#a855f7"],- originX = 0.5,- originY = 0.5,- gravity = 0.4,- velocity = 12,- text = "Merged!",- textColor = "#171717",- background = "#fafafa",- seed = "remocn",- speed = 1,- className,-}: SuccessConfettiProps) {- const frame = useCurrentFrame() * speed;- const { fps, durationInFrames } = useVideoConfig();-- const width = 1280;- const height = 720;- const cx = width * originX;- const cy = height * originY;-- const textPop = spring({- frame: frame - 4,- fps,- config: { damping: 9, stiffness: 160, mass: 0.7 },- });- const textScale = interpolate(textPop, [0, 1], [0.6, 1]);- const textOpacity = interpolate(frame, [4, 14], [0, 1], {- extrapolateLeft: "clamp",- extrapolateRight: "clamp",- });- const textExit = interpolate(- frame,- [durationInFrames - 12, durationInFrames],- [1, 0],- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },- );-- const particles = Array.from({ length: count }, (_, i) => {- const seedKey = `${seed}:${i}`;- const angle = random(`${seedKey}:angle`) * Math.PI * 2; // 0..2pi for full burst- const speed = velocity * (0.6 + random(`${seedKey}:speed`) * 0.8);- const colorIndex = Math.floor(random(`${seedKey}:color`) * colors.length);- const color = colors[colorIndex] ?? colors[0];- const size = 6 + random(`${seedKey}:size`) * 8;- const rotationSpeed = (random(`${seedKey}:rot`) - 0.5) * 16;- const initialRotation = random(`${seedKey}:irot`) * 360;- const isCircle = random(`${seedKey}:shape`) > 0.6;- const lifeOffset = Math.floor(random(`${seedKey}:delay`) * 4);-- const f = Math.max(0, frame - lifeOffset);- const x = cx + Math.cos(angle) * speed * f;- const y = cy + Math.sin(angle) * speed * f + 0.5 * gravity * f * f;- const rotation = initialRotation + rotationSpeed * f;-- const opacity = interpolate(- frame,- [0, 4, durationInFrames - 20, durationInFrames],- [0, 1, 1, 0],- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },- );-- return {- x,- y,- rotation,- color,- size,- isCircle,- opacity,- key: i,- };- });-- return (- <div- className={className}- style={{- position: "absolute",- inset: 0,- background,- overflow: "hidden",- fontFamily:- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",- }}- >- <svg- width={width}- height={height}- viewBox={`0 0 ${width} ${height}`}- style={{ position: "absolute", inset: 0 }}- >- {particles.map((p) =>- p.isCircle ? (- <circle- key={p.key}- cx={p.x}- cy={p.y}- r={p.size / 2}- fill={p.color}- opacity={p.opacity}- />- ) : (- <rect- key={p.key}- x={-p.size / 2}- y={-p.size / 2}- width={p.size}- height={p.size * 0.5}- rx={1}- fill={p.color}- opacity={p.opacity}- transform={`translate(${p.x} ${p.y}) rotate(${p.rotation})`}- />- ),- )}- </svg>-- {text ? (- <div- style={{- position: "absolute",- inset: 0,- display: "flex",- alignItems: "center",- justifyContent: "center",- pointerEvents: "none",- }}- >- <span- style={{- fontSize: 96,- fontWeight: 700,- letterSpacing: "-0.04em",- color: textColor,- transform: `scale(${textScale})`,- opacity: Math.min(textOpacity, textExit),- }}- >- {text}- </span>- </div>- ) : null}- </div>- );-}diff --git a/registry/remocn/toast-notification/config.ts b/registry/remocn/toast-notification/config.tsdeleted file mode 100644index db0bf48f..00000000--- a/registry/remocn/toast-notification/config.ts+++ /dev/null@@ -1,28 +0,0 @@-import { type ComponentConfig, FPS, H, W } from "@/lib/customizer-config";--export const toastNotificationConfig: ComponentConfig = {- componentName: "ToastNotification",- importPath: "@/components/remocn/toast-notification",- controls: {- title: { type: "text", default: "Deployment successful", label: "Title" },- message: {- type: "text",- default: "Your changes are live at remocn.dev",- label: "Message",- },- variant: {- type: "select",- default: "success",- options: ["success", "error", "info", "warning"],- label: "Variant",- },- background: { type: "color", default: "#fafafa", label: "Background" },- cardColor: { type: "color", default: "#ffffff", label: "Card color" },- textColor: { type: "color", default: "#171717", label: "Text color" },- mutedColor: { type: "color", default: "#71717a", label: "Muted color" },- },- durationInFrames: 90,- fps: FPS,- compositionWidth: W,- compositionHeight: H,-};diff --git a/registry/remocn/toast-notification/index.tsx b/registry/remocn/toast-notification/index.tsxdeleted file mode 100644index 5ab8870b..00000000--- a/registry/remocn/toast-notification/index.tsx+++ /dev/null@@ -1,186 +0,0 @@-"use client";--import { interpolate, spring, useCurrentFrame, useVideoConfig } from "remotion";--export type ToastVariant = "success" | "error" | "info" | "warning";--export interface ToastNotificationProps {- title?: string;- message?: string;- variant?: ToastVariant;- background?: string;- cardColor?: string;- textColor?: string;- mutedColor?: string;- speed?: number;- className?: string;-}--const VARIANT_COLORS: Record<ToastVariant, string> = {- success: "#22c55e",- error: "#ef4444",- info: "#0ea5e9",- warning: "#f59e0b",-};--function VariantIcon({- variant,- color,-}: {- variant: ToastVariant;- color: string;-}) {- const common = {- width: 22,- height: 22,- viewBox: "0 0 24 24",- fill: "none",- stroke: color,- strokeWidth: 2.4,- strokeLinecap: "round" as const,- strokeLinejoin: "round" as const,- };-- if (variant === "success") {- return (- <svg {...common}>- <circle cx="12" cy="12" r="10" />- <path d="M8 12.5l2.8 2.8L16 9.8" />- </svg>- );- }- if (variant === "error") {- return (- <svg {...common}>- <circle cx="12" cy="12" r="10" />- <path d="M15 9l-6 6M9 9l6 6" />- </svg>- );- }- if (variant === "warning") {- return (- <svg {...common}>- <path d="M12 3l10 18H2L12 3z" />- <path d="M12 10v5M12 18v.01" />- </svg>- );- }- return (- <svg {...common}>- <circle cx="12" cy="12" r="10" />- <path d="M12 8v.01M12 12v5" />- </svg>- );-}--export function ToastNotification({- title = "Deployment successful",- message = "Your changes are live at remocn.dev",- variant = "success",- background = "#fafafa",- cardColor = "white",- textColor = "#171717",- mutedColor = "#71717a",- speed = 1,- className,-}: ToastNotificationProps) {- const frame = useCurrentFrame() * speed;- const { fps, durationInFrames } = useVideoConfig();-- const enterFrames = 15;- const exitFrames = 15;- const exitStart = Math.max(enterFrames, durationInFrames - exitFrames);-- const enterProgress = spring({- frame,- fps,- config: { damping: 14, stiffness: 140, mass: 0.7 },- durationInFrames: enterFrames,- });-- const enterTranslate = interpolate(enterProgress, [0, 1], [40, 0]);- const enterOpacity = interpolate(enterProgress, [0, 1], [0, 1], {- extrapolateRight: "clamp",- });-- const exitTranslate = interpolate(- frame,- [exitStart, exitStart + exitFrames],- [0, 40],- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },- );- const exitOpacity = interpolate(- frame,- [exitStart, exitStart + exitFrames],- [1, 0],- { extrapolateLeft: "clamp", extrapolateRight: "clamp" },- );-- const translateY = enterTranslate + exitTranslate;- const opacity = Math.min(enterOpacity, exitOpacity);-- const accent = VARIANT_COLORS[variant];-- return (- <div- style={{- position: "absolute",- inset: 0,- background,- fontFamily:- "var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif",- }}- >- <div- className={className}- style={{- position: "absolute",- right: 32,- bottom: 32,- transform: `translateY(${translateY}px)`,- opacity,- display: "flex",- alignItems: "flex-start",- gap: 14,- padding: "16px 20px",- minWidth: 320,- maxWidth: 420,- background: cardColor,- borderRadius: 14,- boxShadow: "0 10px 30px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06)",- border: "1px solid rgba(0,0,0,0.06)",- }}- >- <div- style={{- display: "flex",- alignItems: "center",- justifyContent: "center",- width: 36,- height: 36,- borderRadius: 999,- background: `${accent}1f`,- flexShrink: 0,- }}- >- <VariantIcon variant={variant} color={accent} />- </div>- <div style={{ display: "flex", flexDirection: "column", gap: 2 }}>- <span- style={{- fontSize: 16,- fontWeight: 600,- color: textColor,- letterSpacing: "-0.01em",- }}- >- {title}- </span>- <span style={{ fontSize: 14, color: mutedColor, lineHeight: 1.4 }}>- {message}- </span>- </div>- </div>- </div>- );-}