{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "border-beam", "title": "Border Beam", "description": "An animated beam of light which travels along the border of its container.", "files": [ { "path": "registry/reusables/border-beam.tsx", "content": "import type { CSSProperties } from \"react\"\n\nimport { cn } from \"@/lib/utils\"\n\ninterface BorderBeamProps {\n className?: string\n size?: number\n duration?: number\n borderWidth?: number\n anchor?: number\n colorFrom?: string\n colorTo?: string\n delay?: number\n}\n\nexport const BorderBeam = ({\n className,\n size = 200,\n duration = 15,\n anchor = 90,\n borderWidth = 1.5,\n colorFrom = \"#ffaa40\",\n colorTo = \"#9c40ff\",\n delay = 0,\n}: BorderBeamProps) => {\n return (\n <>\n \n \n \n )\n}\n", "type": "registry:component", "target": "components/border-beam.tsx" } ], "type": "registry:component" }