KodeKarsa UI

Forms

OTP Input

A one-time code split into boxes. It is one real input, so paste and autofill still work.

src/components/ui/otp-input.tsxBehavior from @ui-sdk/react/otp-input

A six-digit code

Kode dikirim ke email yang berakhiran •••@kodekarsa.com.

Import

tsx
import { OTPInput } from "@/components/ui/otp-input";

Guidelines

  • Say where the code was sent in the field description.