{"$schema":"https://ui.shadcn.com/schema/registry-item.json","name":"north-glow","type":"registry:ui","title":"North Glow","description":"Slow drifting color blobs, blurred into a northern-lights glow. Pure CSS.","dependencies":[],"registryDependencies":[],"files":[{"path":"registry/ui/north-glow.tsx","type":"registry:ui","content":"\"use client\";\n\nconst css = `\n@keyframes aurora-drift-a{0%,100%{transform:translate(-10%,-10%) scale(1)}50%{transform:translate(20%,10%) scale(1.2)}}\n@keyframes aurora-drift-b{0%,100%{transform:translate(10%,10%) scale(1.1)}50%{transform:translate(-20%,-5%) scale(.9)}}\n@keyframes aurora-drift-c{0%,100%{transform:translate(0,15%) scale(.9)}50%{transform:translate(10%,-15%) scale(1.15)}}\n`;\n\nexport interface NorthGlowProps {\n  colors?: string[];\n  /** Seconds per drift cycle; higher is calmer. */\n  speed?: number;\n  /** Blur radius in px. */\n  blur?: number;\n  opacity?: number;\n  className?: string;\n}\n\nexport function NorthGlow({\n  colors = [\"#c6ff3d\", \"#22d3ee\", \"#a78bfa\"],\n  speed = 14,\n  blur = 90,\n  opacity = 0.55,\n  className,\n}: NorthGlowProps) {\n  const blobs = [\n    { left: \"5%\", top: \"0%\", anim: \"aurora-drift-a\" },\n    { left: \"40%\", top: \"10%\", anim: \"aurora-drift-b\" },\n    { left: \"20%\", top: \"35%\", anim: \"aurora-drift-c\" },\n  ];\n  return (\n    <div\n      aria-hidden\n      className={className}\n      style={{ position: \"absolute\", inset: 0, overflow: \"hidden\", pointerEvents: \"none\" }}\n    >\n      <style href=\"aurora\" precedence=\"default\">\n        {css}\n      </style>\n      {blobs.map((b, i) => (\n        <div\n          key={i}\n          style={{\n            position: \"absolute\",\n            left: b.left,\n            top: b.top,\n            width: \"55%\",\n            aspectRatio: \"1\",\n            borderRadius: \"50%\",\n            background: colors[i % colors.length],\n            opacity,\n            filter: `blur(${blur}px)`,\n            mixBlendMode: \"screen\",\n            animation: `${b.anim} ${speed}s ease-in-out infinite`,\n            willChange: \"transform\",\n          }}\n        />\n      ))}\n    </div>\n  );\n}\n"}]}