{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "motion-effect-image-grid-demo", "type": "registry:ui", "title": "Motion Effect Image Grid Demo", "description": "Demo showing the motion effect image grid.", "registryDependencies": [ "https://animate-ui.com/r/motion-effect", "use-mobile" ], "files": [ { "path": "registry/demo/effects/motion-effect-image-grid/index.tsx", "content": "'use client';\n\nimport { useIsMobile } from '@/hooks/use-mobile';\nimport { MotionEffect } from '@/components/animate-ui/effects/motion-effect';\n\nexport const MotionEffectImageGridDemo = () => {\n const isMobile = useIsMobile();\n\n return (\n
\n {Array.from({ length: isMobile ? 2 : 4 }).map((_, index) => (\n \n \n \n ))}\n
\n );\n};\n", "type": "registry:ui", "target": "components/animate-ui/demo/effects/motion-effect-image-grid.tsx" } ] }