{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "gradient-background", "type": "registry:ui", "title": "Gradient Background", "description": "A background component featuring a subtle yet engaging animated gradient effect, smoothly transitioning colors to enhance visual depth.", "dependencies": [ "motion" ], "files": [ { "path": "registry/backgrounds/gradient/index.tsx", "content": "'use client';\n\nimport * as React from 'react';\nimport { HTMLMotionProps, motion, type Transition } from 'motion/react';\n\nimport { cn } from '@/lib/utils';\n\ntype GradientBackgroundProps = HTMLMotionProps<'div'> & {\n transition?: Transition;\n};\n\nfunction GradientBackground({\n className,\n transition = { duration: 15, ease: 'easeInOut', repeat: Infinity },\n ...props\n}: GradientBackgroundProps) {\n return (\n \n );\n}\n\nexport { GradientBackground, type GradientBackgroundProps };\n", "type": "registry:ui", "target": "components/animate-ui/backgrounds/gradient.tsx" } ] }