{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "show-more-example",
  "title": "Show More",
  "description": "show-more-example",
  "dependencies": [
    "@heroicons/react",
    "cn"
  ],
  "registryDependencies": [
    "https://intentui.com/r/show-more"
  ],
  "files": [
    {
      "path": "src/components/examples/surfaces/show-more/show-more-example.tsx",
      "content": "'use client'\nimport { ChevronDownIcon } from '@heroicons/react/20/solid'\nimport { cn } from 'cn'\nimport { ShowMore } from '@/components/ui/show-more'\n\nexport default function ShowMoreDemo() {\n  return (\n    <div className=\"py-6\">\n      <ShowMore>\n        {({ isSelected }) => (\n          <>\n            Show {isSelected ? 'less' : 'more'}\n            <ChevronDownIcon\n              className={cn(\n                isSelected ? 'rotate-180' : '',\n                'size-4 transition-transform duration-200'\n              )}\n            />\n          </>\n        )}\n      </ShowMore>\n    </div>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/show-more-example/page.tsx"
    }
  ],
  "type": "registry:page"
}