InputOTPWithSeparator() — ui Function Reference
Architecture documentation for the InputOTPWithSeparator() function in input-otp-separator.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 80a108d6_2d64_4866_3c14_c3b33639c7db["InputOTPWithSeparator()"] 603943ac_54e3_36f9_3e94_e12307e81c6d["input-otp-separator.tsx"] 80a108d6_2d64_4866_3c14_c3b33639c7db -->|defined in| 603943ac_54e3_36f9_3e94_e12307e81c6d style 80a108d6_2d64_4866_3c14_c3b33639c7db fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/input-otp-separator.tsx lines 8–27
export default function InputOTPWithSeparator() {
return (
<InputOTP maxLength={6}>
<InputOTPGroup>
<InputOTPSlot index={0} />
<InputOTPSlot index={1} />
</InputOTPGroup>
<InputOTPSeparator />
<InputOTPGroup>
<InputOTPSlot index={2} />
<InputOTPSlot index={3} />
</InputOTPGroup>
<InputOTPSeparator />
<InputOTPGroup>
<InputOTPSlot index={4} />
<InputOTPSlot index={5} />
</InputOTPGroup>
</InputOTP>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does InputOTPWithSeparator() do?
InputOTPWithSeparator() is a function in the ui codebase, defined in apps/v4/examples/base/input-otp-separator.tsx.
Where is InputOTPWithSeparator() defined?
InputOTPWithSeparator() is defined in apps/v4/examples/base/input-otp-separator.tsx at line 8.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free