{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "back-light", "title": "Back Light", "author": "designbycode", "dependencies": [ "react", "clsx", "tailwind-merge" ], "registryDependencies": [ "https://ui.designbycode.co.za/r/glow-stack.json" ], "files": [ { "path": "resources/js/registry/new-york/components/ui/glow/back-light.tsx", "content": "import type { ReactNode } from 'react';\nimport { useId } from 'react';\nimport { cn } from '@/lib/utils';\n\ntype BackLightProps = {\n children?: ReactNode;\n className?: string;\n blur?: number;\n intensity?: number;\n saturation?: number;\n opacity?: number;\n};\n\nexport function BackLight({\n blur = 20,\n intensity = 1,\n saturation = 4,\n opacity = 0.6,\n children,\n className,\n}: BackLightProps) {\n const id = useId();\n\n return (\n
\n \n \n \n \n \n \n\n {/* Glow layer */}\n \n {children}\n
\n\n {/* Actual content */}\n
{children}
\n \n );\n}\n", "type": "registry:ui" } ], "meta": { "category": "components", "version": "1.0.0" }, "type": "registry:ui" }