Component recipe · Forms & selection

OTP Input

Controlled/uncontrolled one-time-code input with numeric normalization and per-value completion callbacks.

Web · liveiOS · native pathAndroid · native path

This is the real BeeUI Web Showcase, lazy-loaded in place. The code tab displays the exact typechecked runtime fixture selected for this preview.

Composition

Public anatomy

  • OTPInput

The recipe uses the public @beemvp/beeui-ui boundary. Source-owned consumers can use pnpm beeui -- add otp-input from a BeeUI checkout.

Contract

What remains canonical

Behavior, accessibility, provider requirements, density/theming and platform limitations stay authoritative in the component docs. This recipe is a fast preview-and-copy surface, not a second API contract.

Read OTP Input docs →