{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "iphone-05",
  "type": "registry:component",
  "title": "Apple iPhone",
  "files": [
    {
      "path": "registry/designali/components/apple/iphone/iphone-05.tsx",
      "content": "\"use client\"\n\nimport { useState } from \"react\"\nimport { IPhone } from \"@/registry/designali/ui/apple/iphone\"\n\ntype IPhoneColor =\n  | \"black\"\n  | \"glacier\"\n  | \"silver\"\n  | \"burgundy\"\n\nconst colors: {\n  value: IPhoneColor\n  label: string\n}[] = [\n  { value: \"black\", label: \"Black\" },\n  { value: \"glacier\", label: \"Glacier\" },\n  { value: \"silver\", label: \"Silver\" },\n  { value: \"burgundy\", label: \"Burgundy\" },\n]\n\nexport function IPhoneColorDemo() {\n  const [color, setColor] =\n    useState<IPhoneColor>(\"silver\")\n\n  return (\n    <div className=\"flex flex-col items-center justify-center gap-10 p-8\">\n\n      <div className=\"flex flex-wrap items-center justify-center gap-2\">\n        {colors.map((option) => (\n          <button\n            key={option.value}\n            onClick={() => setColor(option.value)}\n            className={`rounded-full border px-4 py-2 text-xs font-medium transition-all ${\n              color === option.value\n                ? \"border-foreground bg-foreground text-background\"\n                : \"border-border bg-background text-muted-foreground hover:text-foreground\"\n            }`}\n          >\n            {option.label}\n          </button>\n        ))}\n      </div>\n\n      <IPhone\n        variant=\"18-pro\"\n        color={color}\n        orientation=\"landscape\" \n      >\n        <video\n          src=\"/vid/colorful-spheres.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"
    }
  ]
}