{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "aurora-background",
  "title": "Aurora Background",
  "author": "VenusUI",
  "description": "Soft, blurred color fields that drift slowly behind content.",
  "files": [
    {
      "path": "registry/default/ui/aurora-background.tsx",
      "content": "import * as React from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\ninterface AuroraBackgroundProps extends React.ComponentProps<\"div\"> {\n  /** Three blob colors. Defaults to soft indigo, cyan and emerald. */\n  colors?: [string, string, string]\n  /** Overall strength, 0–1. */\n  intensity?: number\n}\n\nconst DEFAULT_COLORS: [string, string, string] = [\"oklch(0.62 0.19 270)\", \"oklch(0.75 0.13 210)\", \"oklch(0.75 0.15 160)\"]\n\n/**\n * Soft, blurred color fields that drift slowly behind its children, like an\n * aurora. Kept subtle by default so text stays readable. Still with reduced\n * motion.\n */\nfunction AuroraBackground({ colors = DEFAULT_COLORS, intensity = 0.35, className, children, ...props }: AuroraBackgroundProps) {\n  const blobs = [\n    \"top-[-20%] left-[-10%] h-[70%] w-[60%]\",\n    \"top-[10%] right-[-15%] h-[65%] w-[55%] [animation-delay:-6s]\",\n    \"bottom-[-25%] left-[20%] h-[60%] w-[60%] [animation-delay:-12s]\",\n  ]\n  return (\n    <div data-slot=\"aurora-background\" className={cn(\"relative isolate overflow-hidden\", className)} {...props}>\n      <div aria-hidden=\"true\" className=\"pointer-events-none absolute inset-0 -z-10\" style={{ opacity: intensity }}>\n        {blobs.map((position, i) => (\n          <span\n            key={i}\n            className={cn(\"absolute animate-aurora rounded-full blur-3xl motion-reduce:animate-none\", position)}\n            style={{ background: colors[i] }}\n          />\n        ))}\n      </div>\n      {children}\n    </div>\n  )\n}\n\nexport { AuroraBackground, type AuroraBackgroundProps }\n",
      "type": "registry:ui"
    }
  ],
  "cssVars": {
    "theme": {
      "animate-aurora": "aurora 18s ease-in-out infinite alternate"
    }
  },
  "css": {
    "@keyframes aurora": {
      "0%": {
        "transform": "translate(0, 0) scale(1)"
      },
      "50%": {
        "transform": "translate(8%, -6%) scale(1.1)"
      },
      "100%": {
        "transform": "translate(-6%, 6%) scale(0.95)"
      }
    }
  },
  "meta": {
    "version": "0.1.0"
  },
  "categories": [
    "backgrounds",
    "animations"
  ],
  "type": "registry:ui"
}