{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "motion-primitives-demo",
  "type": "registry:component",
  "title": "Motion primitives example",
  "description": "Usage example (demo) for Motion primitives: the code behind the preview on https://facadeui.dev/components/motion-primitives. Installs the items it uses.",
  "categories": [
    "example"
  ],
  "registryDependencies": [
    "https://facadeui.dev/r/motion-primitives.json"
  ],
  "files": [
    {
      "path": "motion-primitives.tsx",
      "type": "registry:component",
      "target": "components/examples/motion-primitives-demo.tsx",
      "content": "\"use client\"\n\nimport { FadeIn } from \"@/components/motion/fade-in\"\nimport { Reveal } from \"@/components/motion/reveal\"\nimport { Stagger, StaggerItem } from \"@/components/motion/stagger\"\n\nconst items = [\"Composable\", \"Accessible\", \"Themeable\", \"Framework-neutral\"]\n\nexport function Demo() {\n  return (\n    <div className=\"flex flex-col gap-10\">\n      <FadeIn className=\"bg-accent text-accent-foreground rounded-lg px-4 py-3 text-sm font-medium\">\n        FadeIn — plays on mount\n      </FadeIn>\n\n      <Stagger as=\"ul\" trigger=\"mount\" className=\"grid gap-3 sm:grid-cols-2\">\n        {items.map((item) => (\n          <StaggerItem\n            key={item}\n            as=\"li\"\n            className=\"bg-card rounded-lg border px-4 py-3 text-sm font-medium\"\n          >\n            {item}\n          </StaggerItem>\n        ))}\n      </Stagger>\n\n      <Reveal\n        direction=\"left\"\n        className=\"bg-accent text-accent-foreground rounded-lg px-4 py-3 text-sm font-medium\"\n      >\n        Reveal — plays once, when scrolled into view\n      </Reveal>\n    </div>\n  )\n}\n"
    }
  ],
  "docs": "Example only: components/examples/motion-primitives-demo.tsx renders Motion primitives with sample content from components/examples/content.tsx. Copy what you need into your page. Docs: https://facadeui.dev/components/motion-primitives"
}
