{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "comp-123",
  "type": "registry:component",
  "registryDependencies": [
    "https://coss.com/origin/r/button.json"
  ],
  "files": [
    {
      "path": "registry/default/components/comp-123.tsx",
      "content": "\"use client\";\n\nimport { ChevronDownIcon, ChevronUpIcon } from \"lucide-react\";\nimport { useState } from \"react\";\n\nimport { Button } from \"@/registry/default/ui/button\";\n\nexport default function Component() {\n  const [isExpanded, setIsExpanded] = useState<boolean>(false);\n\n  const toggleExpand = () => {\n    setIsExpanded((prevState) => !prevState);\n  };\n\n  return (\n    <Button\n      aria-controls=\"expandable-content\"\n      aria-expanded={isExpanded}\n      className=\"gap-1\"\n      onClick={toggleExpand}\n      variant=\"ghost\" // Use this ID on the element that this button controls\n    >\n      {isExpanded ? \"Show less\" : \"Show more\"}\n      {isExpanded ? (\n        <ChevronUpIcon aria-hidden=\"true\" className=\"-me-1\" size={16} />\n      ) : (\n        <ChevronDownIcon aria-hidden=\"true\" className=\"-me-1\" size={16} />\n      )}\n    </Button>\n  );\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "style": 2,
    "tags": [
      "button",
      "collapsible"
    ]
  }
}