+
+ )
+}
+
+
+
===== COMPONENT: bento-grid =====
Title: Bento Grid
Description: Bento grid is a layout used to showcase the features of a product in a simple and elegant way.
diff --git a/apps/www/public/llms.txt b/apps/www/public/llms.txt
index 6257d84cb..bbed3d35b 100644
--- a/apps/www/public/llms.txt
+++ b/apps/www/public/llms.txt
@@ -16,6 +16,7 @@ This file provides LLM-friendly entry points to documentation and examples.
- [Theme Toggler](https://magicui.design/docs/components/animated-theme-toggler): A component for theme changing animation.
- [Aurora Text](https://magicui.design/docs/components/aurora-text): A beautiful aurora text effect
- [Avatar Circles](https://magicui.design/docs/components/avatar-circles): Overlapping circles of avatars.
+- [Backlight](https://magicui.design/docs/components/backlight): A backlight glow effect for videos, images, and SVGs.
- [Bento Grid](https://magicui.design/docs/components/bento-grid): Bento grid is a layout used to showcase the features of a product in a simple and elegant way.
- [Blur Fade](https://magicui.design/docs/components/blur-fade): Blur fade in and out animation. Used to smoothly fade in and out content.
- [Border Beam](https://magicui.design/docs/components/border-beam): An animated beam of light which travels along the border of its container.
@@ -216,6 +217,9 @@ This file provides LLM-friendly entry points to documentation and examples.
- [Dotted Map Demo](https://github.com/magicuidesign/magicui/blob/main/example/dotted-map-demo.tsx): Example usage
- [Dotted Map Demo 2](https://github.com/magicuidesign/magicui/blob/main/example/dotted-map-demo-2.tsx): Example usage
- [Dotted Map Demo 3](https://github.com/magicuidesign/magicui/blob/main/example/dotted-map-demo-3.tsx): Example usage
+- [backlight-video-demo](https://github.com/magicuidesign/magicui/blob/main/example/backlight-video-demo.tsx): Example usage
+- [backlight-image-demo](https://github.com/magicuidesign/magicui/blob/main/example/backlight-image-demo.tsx): Example usage
+- [backlight-svg-demo](https://github.com/magicuidesign/magicui/blob/main/example/backlight-svg-demo.tsx): Example usage
## Optional
diff --git a/apps/www/public/r/backlight-image-demo.json b/apps/www/public/r/backlight-image-demo.json
new file mode 100644
index 000000000..8be944b7e
--- /dev/null
+++ b/apps/www/public/r/backlight-image-demo.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "backlight-image-demo",
+ "type": "registry:example",
+ "description": "An example of the backlight component with a image.",
+ "registryDependencies": [
+ "@magicui/backlight"
+ ],
+ "files": [
+ {
+ "path": "registry/example/backlight-image-demo.tsx",
+ "content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightImageDemo() {\n return (\n \n \n \n )\n}\n",
+ "type": "registry:example"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/backlight-svg-demo.json b/apps/www/public/r/backlight-svg-demo.json
new file mode 100644
index 000000000..7e083fa34
--- /dev/null
+++ b/apps/www/public/r/backlight-svg-demo.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "backlight-svg-demo",
+ "type": "registry:example",
+ "description": "An example of the backlight component with SVGs.",
+ "registryDependencies": [
+ "@magicui/backlight"
+ ],
+ "files": [
+ {
+ "path": "registry/example/backlight-svg-demo.tsx",
+ "content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightSVGDemo() {\n return (\n \n
\n \n \n \n
\n \n )\n}\n",
+ "type": "registry:example"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/backlight-video-demo.json b/apps/www/public/r/backlight-video-demo.json
new file mode 100644
index 000000000..d4bb77cf9
--- /dev/null
+++ b/apps/www/public/r/backlight-video-demo.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "backlight-video-demo",
+ "type": "registry:example",
+ "description": "An example of the backlight component with a video.",
+ "registryDependencies": [
+ "@magicui/backlight"
+ ],
+ "files": [
+ {
+ "path": "registry/example/backlight-video-demo.tsx",
+ "content": "import { Backlight } from \"@/registry/magicui/backlight\"\n\nexport default function BacklightVideoDemo() {\n return (\n \n \n \n )\n}\n",
+ "type": "registry:example"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apps/www/public/r/backlight.json b/apps/www/public/r/backlight.json
new file mode 100644
index 000000000..282f5fc6f
--- /dev/null
+++ b/apps/www/public/r/backlight.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "backlight",
+ "type": "registry:ui",
+ "title": "Backlight",
+ "description": "A backlight glow effect for videos, images, and SVGs.",
+ "dependencies": [],
+ "files": [
+ {
+ "path": "registry/magicui/backlight.tsx",
+ "content": "import { useId, type ReactElement } from \"react\"\n\ntype BacklightProps = {\n children?: ReactElement\n className?: string\n blur?: number\n}\n\nexport function Backlight({ blur = 20, children, className }: BacklightProps) {\n const id = useId()\n\n return (\n