{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "spatial-push", "title": "Spatial Push", "description": "A new scene physically presses the old one back into the frame.", "dependencies": [ "remotion" ], "files": [ { "path": "registry/remocn/spatial-push/index.tsx", "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { interpolate, spring, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface SpatialPushProps {\n from?: ReactNode;\n to?: ReactNode;\n direction?: \"up\" | \"down\" | \"left\" | \"right\";\n transitionStart?: number;\n transitionDuration?: number;\n speed?: number;\n className?: string;\n}\n\nconst FONT_FAMILY =\n \"var(--font-geist-sans), -apple-system, BlinkMacSystemFont, sans-serif\";\n\nfunction DefaultPanel({ label, color }: { label: string; color: string }) {\n return (\n