{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "chromatic-aberration-wipe", "title": "Chromatic Aberration Wipe", "description": "An ultra-fast slide transition with an RGB glitch on the peak frames.", "dependencies": [ "remotion" ], "files": [ { "path": "registry/remocn/chromatic-aberration-wipe/index.tsx", "content": "\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { Easing, interpolate, useCurrentFrame, useVideoConfig } from \"remotion\";\n\nexport interface ChromaticAberrationWipeProps {\n from?: ReactNode;\n to?: ReactNode;\n direction?: \"left\" | \"right\";\n transitionStart?: number;\n transitionDuration?: number;\n aberrationOffset?: 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