{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "glass-code-block", "title": "Glass Code Block", "description": "A premium frosted-glass code editor window with a regex tokenizer and line-by-line stagger reveal.", "dependencies": [ "remotion" ], "files": [ { "path": "registry/remocn/glass-code-block/index.tsx", "content": "\"use client\";\n\nimport { Sequence, interpolate, useCurrentFrame } from \"remotion\";\n\nexport interface GlassCodeBlockProps {\n code?: string;\n title?: string;\n width?: number;\n height?: number;\n fontSize?: number;\n background?: string;\n glassColor?: string;\n staggerFrames?: number;\n showTrafficLights?: boolean;\n speed?: number;\n className?: string;\n}\n\nconst FONT_MONO =\n \"var(--font-geist-mono), ui-monospace, SFMono-Regular, monospace\";\n\nconst DEFAULT_CODE = `import { motion } from \"remotion\";\n\n// Generate a hero scene\nexport function Hero() {\n const frame = useCurrentFrame();\n const opacity = frame / 30;\n return