{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "iphone-duo-07",
  "type": "registry:component",
  "title": "Apple iPhone Duo",
  "files": [
    {
      "path": "registry/designali/components/apple/iphone-duo/iphone-duo-07.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\n\nimport { IPhoneDuo } from \"@/registry/designali/ui/apple/iphone-duo\"\n\nconst sizes = [\"sm\", \"md\", \"lg\", \"xl\"] as const\n\ntype PhoneSize = (typeof sizes)[number]\n\nexport function IPhoneDuoSizeDemo() {\n  const [activeSize, setActiveSize] = useState<PhoneSize>(\"md\")\n\n  return (\n    <div className=\"flex flex-col items-center justify-center gap-10 p-8\">\n      <div className=\"flex items-center justify-center gap-1 rounded-lg bg-gray-100 p-1 dark:bg-zinc-800\">\n        {sizes.map((size) => (\n          <button\n            key={size}\n            onClick={() => setActiveSize(size)}\n            className={`rounded-md px-4 py-2 text-sm font-medium uppercase transition-all duration-200 ${\n              activeSize === size\n                ? \"bg-white text-black shadow-sm dark:bg-zinc-950 dark:text-white\"\n                : \"text-gray-500 hover:text-gray-900 dark:text-zinc-400 dark:hover:text-zinc-100\"\n            }`}\n          >\n            {size}\n          </button>\n        ))}\n      </div>\n\n      <IPhoneDuo\n        size={activeSize}\n        side=\"frontback\"\n        color=\"night-sky\"\n      >\n       <img\n          src=\"/img/login-1.jpg\"\n          alt=\"App screen\"\n          className=\"h-full w-full object-cover\"\n        />\n      </IPhoneDuo>\n    </div>\n  )\n}",
      "type": "registry:component"
    }
  ]
}