OTP Autofill

Verification codeSent to [email protected]
Enter the 6-digit code
About this piece

OTP Autofill

Six code boxes fill one by one behind a moving caret, shake in rose when the first code is wrong, then refill with the right one and settle into an emerald verified state.

Usage

The import and the props worth knowing about, in one place.

import { Input31 } from "@/components/beste/piece/input31";

<Input31
  label="Verification code"
  hint="Sent to [email protected]"
  code="482913"
  wrongCode="482910"
/>

More Input pieces

View all Input
4
2
7
Choose a password
0 characters entered
  • At least 8 characters
  • Contains a number
  • Contains a symbol
/^[a-z]+@beste\.co$/gi42
Remind me to buy coffee beans on my way home

Add a new hire

Name

Norah Jones

Personal email

Start date

Monday, November 9
Send welcomeWelcome sent

Norah gets her logins on Monday at 9:00 AM

Mira violet#6D5EFA