{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "scroll-over-hero", "type": "registry:ui", "title": "Scroll Over Hero", "description": "A hero with a pinned, centered title that a product panel rises up and overlaps on scroll. Theme-aware with a reduced-motion stacked fallback.", "dependencies": [ "motion" ], "files": [ { "path": "registry/ruixenui/scroll-over-hero.tsx", "content": "\"use client\";\n\nimport * as React from \"react\";\nimport {\n motion,\n useMotionValue,\n useReducedMotion,\n useTransform,\n} from \"motion/react\";\nimport { cn } from \"@/lib/utils\";\n\n/* ── types ───────────────────────────────────────────────────── */\n\nexport interface ScrollOverHeroProps {\n /** Small pill / label rendered above the title. */\n eyebrow?: React.ReactNode;\n /** Main headline. */\n title: React.ReactNode;\n /** Supporting paragraph under the title. */\n description?: React.ReactNode;\n /** Row of CTA buttons / actions. */\n actions?: React.ReactNode;\n /**\n * The panel that rises and overlaps the pinned title as the page scrolls.\n * Drop in a screenshot, `