Home / Function/ InputOTPWithSeparator() — ui Function Reference

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
  ff8a38a2_1bbe_f1c1_8eff_3b7edf5bbc97["InputOTPWithSeparator()"]
  6c5f907d_acc3_0af9_7a2e_91306043e4a8["input-otp-separator.tsx"]
  ff8a38a2_1bbe_f1c1_8eff_3b7edf5bbc97 -->|defined in| 6c5f907d_acc3_0af9_7a2e_91306043e4a8
  style ff8a38a2_1bbe_f1c1_8eff_3b7edf5bbc97 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/default/examples/input-otp-separator.tsx lines 10–29

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>
  )
}

Subdomains

Frequently Asked Questions

What does InputOTPWithSeparator() do?
InputOTPWithSeparator() is a function in the ui codebase, defined in deprecated/www/registry/default/examples/input-otp-separator.tsx.
Where is InputOTPWithSeparator() defined?
InputOTPWithSeparator() is defined in deprecated/www/registry/default/examples/input-otp-separator.tsx at line 10.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free