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

Relationship Graph

Source Code

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