{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "p-otp-field-1",
  "description": "Basic OTP field",
  "registryDependencies": [
    "@coss/otp-field"
  ],
  "files": [
    {
      "path": "registry/default/particles/p-otp-field-1.tsx",
      "content": "import { OTPField, OTPFieldInput } from \"@/registry/default/ui/otp-field\";\n\nconst OTP_LENGTH = 6;\n\nconst OTP_SLOT_KEYS = Array.from(\n  { length: OTP_LENGTH },\n  (_, i) => `otp-slot-${i}`,\n);\n\nexport default function Particle() {\n  return (\n    <OTPField aria-label=\"One-time password\" length={OTP_LENGTH}>\n      {OTP_SLOT_KEYS.map((slotKey, index) => (\n        <OTPFieldInput\n          key={slotKey}\n          aria-label={`Character ${index + 1} of ${OTP_LENGTH}`}\n        />\n      ))}\n    </OTPField>\n  );\n}\n",
      "type": "registry:block"
    }
  ],
  "categories": [
    "otp field",
    "input"
  ],
  "type": "registry:block"
}