{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "iphone-04",
  "type": "registry:component",
  "title": "Apple iPhone",
  "files": [
    {
      "path": "registry/designali/components/apple/iphone/iphone-04.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport { IPhone } from \"@/registry/designali/ui/apple/iphone\"\n\ntype Orientation = \"portrait\" | \"landscape\"\n\nexport function IPhoneOrientationDemo() {\n  const [orientation, setOrientation] =\n    useState<Orientation>(\"portrait\")\n\n  return (\n    <div className=\"flex flex-col items-center justify-center gap-12 p-8\">\n\n      {/* Orientation Tabs */}\n      <div className=\"flex items-center gap-1 rounded-lg bg-gray-100 p-1 dark:bg-zinc-800\">\n        <button\n          onClick={() => setOrientation(\"portrait\")}\n          className={`rounded-md px-5 py-2 text-sm font-medium transition-all ${\n            orientation === \"portrait\"\n              ? \"bg-white text-black shadow-sm dark:bg-zinc-950 dark:text-white\"\n              : \"text-gray-500\"\n          }`}\n        >\n          Portrait\n        </button>\n\n        <button\n          onClick={() => setOrientation(\"landscape\")}\n          className={`rounded-md px-5 py-2 text-sm font-medium transition-all ${\n            orientation === \"landscape\"\n              ? \"bg-white text-black shadow-sm dark:bg-zinc-950 dark:text-white\"\n              : \"text-gray-500\"\n          }`}\n        >\n          Landscape\n        </button>\n      </div>\n\n      {/* iPhone */}\n      <IPhone\n        variant=\"18-pro\"\n        color=\"burgundy\"\n        size=\"lg\"\n        orientation={orientation}\n      >\n        <video\n          src=\"/vid/abstract-fluid.mp4\"\n          autoPlay\n          loop\n          muted\n          playsInline\n          className=\"h-full w-full object-cover\"\n        />\n      </IPhone>\n\n    </div>\n  )\n}",
      "type": "registry:component"
    }
  ]
}