input-otp-pattern.json — ui Source File
Architecture documentation for input-otp-pattern.json, a json file in the ui codebase.
Entity Profile
Source Code
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "input-otp-pattern",
"type": "registry:example",
"registryDependencies": [
"input-otp"
],
"files": [
{
"path": "registry/new-york-v4/examples/input-otp-pattern.tsx",
"content": "\"use client\"\n\nimport { REGEXP_ONLY_DIGITS_AND_CHARS } from \"input-otp\"\n\nimport {\n InputOTP,\n InputOTPGroup,\n InputOTPSlot,\n} from \"@/registry/new-york-v4/ui/input-otp\"\n\nexport default function InputOTPPattern() {\n return (\n <InputOTP maxLength={6} pattern={REGEXP_ONLY_DIGITS_AND_CHARS}>\n <InputOTPGroup>\n <InputOTPSlot index={0} />\n <InputOTPSlot index={1} />\n <InputOTPSlot index={2} />\n <InputOTPSlot index={3} />\n <InputOTPSlot index={4} />\n <InputOTPSlot index={5} />\n </InputOTPGroup>\n </InputOTP>\n )\n}\n",
"type": "registry:example"
}
]
}
Source
Frequently Asked Questions
What does input-otp-pattern.json do?
input-otp-pattern.json is a source file in the ui codebase, written in json.
Where is input-otp-pattern.json in the architecture?
input-otp-pattern.json is located at deprecated/www/public/r/styles/new-york-v4/input-otp-pattern.json (directory: deprecated/www/public/r/styles/new-york-v4).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free