{
  "$schema": "https://www.cooki-ui.design/schema/registry-item.json",
  "name": "glitch-cyber-text",
  "type": "registry:ui",
  "title": "Glitch Cyberpunk Text",
  "description": "Cinematic cyberpunk RGB chromatic aberration text effect with slice displacement and random glitch pulses.",
  "category": "text",
  "dependencies": [
    "framer-motion"
  ],
  "files": [
    {
      "path": "registry/text/glitch-cyber-text/glitch-cyber-text.tsx",
      "type": "registry:ui",
      "target": "components/ui/glitch-cyber-text.tsx",
      "content": "import React, { useState, useEffect } from 'react';\nimport { motion } from 'framer-motion';\n\nexport const GlitchCyberText: React.FC<{ text?: string }> = ({ text = \"CYBERPUNK_RUNTIME\" }) => {\n  const [glitching, setGlitching] = useState(false);\n\n  useEffect(() => {\n    const interval = setInterval(() => {\n      setGlitching(true);\n      setTimeout(() => setGlitching(false), 240);\n    }, 2800);\n    return () => clearInterval(interval);\n  }, []);\n\n  return (\n    <div className=\"relative inline-block font-mono font-black text-2xl sm:text-4xl tracking-widest uppercase select-none text-zinc-900 dark:text-white\">\n      {/* Base Text */}\n      <span className=\"relative z-10\">{text}</span>\n\n      {/* Cyan Slice */}\n      {glitching && (\n        <motion.span\n          initial={{ x: -2, y: 1 }}\n          animate={{ x: [2, -3, 1], y: [-1, 2, 0] }}\n          transition={{ duration: 0.2 }}\n          className=\"absolute inset-0 text-cyan-400 opacity-80 pointer-events-none mix-blend-screen -z-10\"\n        >\n          {text}\n        </motion.span>\n      )}\n\n      {/* Red Slice */}\n      {glitching && (\n        <motion.span\n          initial={{ x: 2, y: -1 }}\n          animate={{ x: [-2, 3, -1], y: [1, -2, 0] }}\n          transition={{ duration: 0.2 }}\n          className=\"absolute inset-0 text-rose-500 opacity-80 pointer-events-none mix-blend-screen -z-10\"\n        >\n          {text}\n        </motion.span>\n      )}\n    </div>\n  );\n};\n"
    }
  ]
}