{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "input-otp-example",
  "title": "Input Otp",
  "description": "input-otp-example",
  "registryDependencies": [
    "https://intentui.com/r/field",
    "https://intentui.com/r/input-otp"
  ],
  "files": [
    {
      "path": "src/components/examples/forms/input-otp/input-otp-example.tsx",
      "content": "'use client'\n\nimport { Description } from '@/components/ui/field'\nimport {\n  InputOTP,\n  InputOTPControl,\n  InputOTPGroup,\n  InputOTPLabel,\n  InputOTPSlot,\n} from '@/components/ui/input-otp'\n\nexport default function InputOtpDemo() {\n  return (\n    <div>\n      <InputOTP maxLength={6}>\n        <InputOTPLabel>Code</InputOTPLabel>\n        <InputOTPControl>\n          <InputOTPGroup>\n            {[...Array(6)].map((_, index) => (\n              <InputOTPSlot key={index} index={index} />\n            ))}\n          </InputOTPGroup>\n        </InputOTPControl>\n        <Description>Please enter the 6-digit code we sent to your email.</Description>\n      </InputOTP>\n    </div>\n  )\n}\n",
      "type": "registry:page",
      "target": "app/input-otp-example/page.tsx"
    }
  ],
  "type": "registry:page"
}