Skip to main content

Variable: InputOTPSlot

@arolariu/components


@arolariu/components / InputOTPSlot

Variable: InputOTPSlot

const InputOTPSlot: ForwardRefExoticComponent<InputOTPSlotProps & RefAttributes<HTMLDivElement>>

Defined in: components/ui/input-otp.tsx:138

Renders an individual OTP slot based on shared input context state.

Remarks

  • Third-party wrapper component
  • Renders a <div> element
  • Styling via CSS Modules with --ac-* custom properties

Example

<InputOTPSlot index={0} />

See

// was this page useful?