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

Relationship Graph

Source Code

apps/v4/examples/radix/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>
  )
}

Subdomains

Frequently Asked Questions

What does InputOTPWithSeparator() do?
InputOTPWithSeparator() is a function in the ui codebase, defined in apps/v4/examples/radix/input-otp-separator.tsx.
Where is InputOTPWithSeparator() defined?
InputOTPWithSeparator() is defined in apps/v4/examples/radix/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