{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "arc-scroll-demo",
  "type": "registry:block",
  "title": "Arc Scroll: Default",
  "description": "Curved Scroll Carousel example, Default: Eight cards on an arc, driven by scrolling inside the box. A take on the carousel (slider) and scroll animation (on scroll). Fits testimonials, portfolio, features and team sections.",
  "author": "KeyframeUI <https://keyframeui.com>",
  "categories": [
    "testimonials",
    "portfolio",
    "features",
    "team",
    "carousel",
    "scroll-animation",
    "timeline",
    "scroll",
    "cards",
    "motion"
  ],
  "docs": "Live preview, examples and props: https://keyframeui.com/components/arc-scroll#arc-scroll-demo",
  "registryDependencies": [
    "https://keyframeui.com/r/arc-scroll.json"
  ],
  "files": [
    {
      "path": "components/arc-scroll-demo.tsx",
      "type": "registry:component",
      "content": "\"use client\";\n\nimport * as React from \"react\";\n\nimport { ArcScroll } from \"@/components/ui/arc-scroll\";\n\nconst cards = [\n  { title: \"Ease in\", gradient: \"from-rose-400 to-orange-300\" },\n  { title: \"Overshoot\", gradient: \"from-amber-300 to-lime-300\" },\n  { title: \"Settle\", gradient: \"from-emerald-400 to-teal-300\" },\n  { title: \"Stagger\", gradient: \"from-cyan-400 to-sky-300\" },\n  { title: \"Spring\", gradient: \"from-blue-500 to-indigo-400\" },\n  { title: \"Follow\", gradient: \"from-violet-500 to-fuchsia-400\" },\n  { title: \"Anticipate\", gradient: \"from-fuchsia-500 to-pink-400\" },\n  { title: \"Release\", gradient: \"from-zinc-700 to-zinc-500\" },\n];\n\nexport function ArcScrollDemo() {\n  const scrollRef = React.useRef<HTMLDivElement>(null);\n\n  return (\n    <div className=\"relative w-full overflow-hidden rounded-xl border border-zinc-200 bg-zinc-50 dark:border-zinc-800 dark:bg-zinc-950\">\n      <div ref={scrollRef} className=\"relative h-[var(--demo-height,30rem)] overflow-y-auto overscroll-contain\">\n        <ArcScroll containerRef={scrollRef} stageClassName=\"h-[var(--demo-height,30rem)]\" scrollPerCard={240}>\n          {cards.map((card, index) => (\n            <div\n              key={card.title}\n              className={`flex h-56 w-40 flex-col justify-between rounded-2xl bg-linear-to-br p-4 text-white shadow-xl shadow-zinc-900/15 ring-1 ring-black/5 dark:shadow-black/50 dark:ring-white/10 ${card.gradient}`}\n            >\n              <span className=\"font-mono text-xs opacity-80\">\n                {String(index + 1).padStart(2, \"0\")}\n              </span>\n              <span className=\"text-lg font-semibold tracking-tight\">{card.title}</span>\n            </div>\n          ))}\n        </ArcScroll>\n      </div>\n      <p className=\"pointer-events-none absolute inset-x-0 bottom-4 text-center font-mono text-xs uppercase tracking-widest text-zinc-500\">\n        Scroll inside the box\n      </p>\n    </div>\n  );\n}\n"
    }
  ]
}