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

Relationship Graph

Source Code

deprecated/www/registry/new-york/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/new-york/examples/input-otp-separator.tsx.
Where is InputOTPWithSeparator() defined?
InputOTPWithSeparator() is defined in deprecated/www/registry/new-york/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