{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "hero-gradient", "title": "Hero Gradient", "description": "Full-bleed gradient hero with animated word-by-word headline reveal", "dependencies": [ "motion" ], "files": [ { "path": "registry/pioneerui/hero-gradient.tsx", "content": "\"use client\"\n\nimport React from \"react\"\nimport { motion } from \"motion/react\"\nimport { cn } from \"@/lib/utils\"\n\nexport interface HeroGradientProps extends React.HTMLAttributes {\n headline: string\n subheadline?: string\n cta?: React.ReactNode\n badge?: string\n gradientFrom?: string\n gradientTo?: string\n}\n\nexport function HeroGradient({\n headline,\n subheadline,\n cta,\n badge,\n className,\n gradientFrom = \"from-indigo-500\",\n gradientTo = \"to-purple-500\",\n ...props\n}: HeroGradientProps) {\n return (\n \n {/* Radial glow */}\n \n\n \n {badge && (\n \n \n {badge}\n \n )}\n\n

\n {headline.split(\" \").map((word, i) => (\n \n {word}\n \n ))}\n

\n\n {subheadline && (\n \n {subheadline}\n \n )}\n\n {cta && (\n \n {cta}\n \n )}\n \n \n )\n}\n", "type": "registry:ui", "target": "components/pioneerui/hero-gradient.tsx" } ], "type": "registry:ui" }