{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "border-beam", "title": "Border Beam", "description": "Animated rotating gradient border that highlights any card or container", "files": [ { "path": "registry/pioneerui/border-beam.tsx", "content": "\"use client\"\n\nimport React, { type CSSProperties } from \"react\"\nimport { motion } from \"motion/react\"\nimport { cn } from \"@/lib/utils\"\n\nexport interface BorderBeamProps {\n className?: string\n size?: number\n duration?: number\n delay?: number\n colorFrom?: string\n colorTo?: string\n borderWidth?: number\n reverse?: boolean\n initialOffset?: number\n}\n\nexport function BorderBeam({\n className,\n size = 50,\n duration = 6,\n delay = 0,\n colorFrom = \"#ffaa40\",\n colorTo = \"#9c40ff\",\n borderWidth = 1.5,\n reverse = false,\n initialOffset = 0,\n}: BorderBeamProps) {\n return (\n