{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "m-sticky-scroll-reveal-2",
  "description": "Onboarding steps — numbered setup steps with a sticky form preview",
  "registryDependencies": [
    "@cnippet/sticky-scroll-reveal"
  ],
  "files": [
    {
      "path": "registry/default/motion-variants/m-sticky-scroll-reveal-2.tsx",
      "content": "\"use client\";\n\nimport { useRef } from \"react\";\nimport { StickyScrollReveal } from \"@/registry/default/motion/sticky-scroll-reveal\";\n\nfunction Step({ n, lines }: { n: number; lines: string[] }) {\n  return (\n    <div className=\"flex size-full flex-col justify-center gap-3 bg-muted/40 p-8\">\n      <span className=\"flex size-10 items-center justify-center rounded-full bg-foreground font-semibold text-background\">\n        {n}\n      </span>\n      {lines.map((line) => (\n        <div\n          className=\"rounded-lg border bg-background px-3 py-2 text-foreground text-sm\"\n          key={line}\n        >\n          {line}\n        </div>\n      ))}\n    </div>\n  );\n}\n\nconst steps = [\n  {\n    content: <Step lines={[\"Acme Inc.\", \"acme.com\"]} n={1} />,\n    description: \"Add your company name and domain so teammates can find you.\",\n    title: \"Create your workspace\",\n  },\n  {\n    content: (\n      <Step lines={[\"maya@acme.com\", \"leo@acme.com\", \"+ Add more\"]} n={2} />\n    ),\n    description: \"Send invites by email. They join with one click.\",\n    title: \"Invite your team\",\n  },\n  {\n    content: <Step lines={[\"GitHub · connected\", \"Slack · connected\"]} n={3} />,\n    description: \"Bring in your repos and chat so updates flow automatically.\",\n    title: \"Connect your tools\",\n  },\n];\n\nexport default function StickyScrollRevealOnboarding() {\n  const containerRef = useRef<HTMLDivElement>(null);\n\n  return (\n    <div\n      className=\"relative h-96 w-full overflow-y-auto px-6\"\n      ref={containerRef}\n    >\n      <StickyScrollReveal\n        className=\"mx-auto max-w-3xl py-24\"\n        containerRef={containerRef}\n        items={steps}\n      />\n    </div>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "meta": {
    "className": ""
  },
  "categories": [
    "sticky scroll reveal"
  ],
  "type": "registry:block"
}