Home / File/ input-otp-alphanumeric.tsx — ui Source File

input-otp-alphanumeric.tsx — ui Source File

Architecture documentation for input-otp-alphanumeric.tsx, a tsx file in the ui codebase. 2 imports, 0 dependents.

File tsx DocumentationAtlas SearchAPI 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  52412999_e9b5_17ec_fedb_a631b2f85d90["input-otp-alphanumeric.tsx"]
  a933c65c_9a12_8beb_8248_5ad742c1d84f["input-otp"]
  52412999_e9b5_17ec_fedb_a631b2f85d90 --> a933c65c_9a12_8beb_8248_5ad742c1d84f
  46c758ca_dd64_66c4_37b9_b30acc3c853c["input-otp"]
  52412999_e9b5_17ec_fedb_a631b2f85d90 --> 46c758ca_dd64_66c4_37b9_b30acc3c853c
  style 52412999_e9b5_17ec_fedb_a631b2f85d90 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import {
  InputOTP,
  InputOTPGroup,
  InputOTPSeparator,
  InputOTPSlot,
} from "@/examples/radix/ui/input-otp"
import { REGEXP_ONLY_DIGITS_AND_CHARS } from "input-otp"

export function InputOTPAlphanumeric() {
  return (
    <InputOTP maxLength={6} pattern={REGEXP_ONLY_DIGITS_AND_CHARS}>
      <InputOTPGroup>
        <InputOTPSlot index={0} />
        <InputOTPSlot index={1} />
        <InputOTPSlot index={2} />
      </InputOTPGroup>
      <InputOTPSeparator />
      <InputOTPGroup>
        <InputOTPSlot index={3} />
        <InputOTPSlot index={4} />
        <InputOTPSlot index={5} />
      </InputOTPGroup>
    </InputOTP>
  )
}

Subdomains

Dependencies

  • input-otp
  • input-otp

Frequently Asked Questions

What does input-otp-alphanumeric.tsx do?
input-otp-alphanumeric.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in input-otp-alphanumeric.tsx?
input-otp-alphanumeric.tsx defines 1 function(s): InputOTPAlphanumeric.
What does input-otp-alphanumeric.tsx depend on?
input-otp-alphanumeric.tsx imports 2 module(s): input-otp, input-otp.
Where is input-otp-alphanumeric.tsx in the architecture?
input-otp-alphanumeric.tsx is located at apps/v4/examples/radix/input-otp-alphanumeric.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/examples/radix).

Analyze Your Own Codebase

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

Try Supermodel Free