Forms
Input OTP
A secure input field designed for entering one-time passwords (OTP), typically split into multiple boxes for better readability and user experience.
Introduction
The Input OTP component is a versatile and customizable component that allows you to easily create an OTP input field. It offers a range of features, including customizable separators, validation, and more. Shoutout to Guilherme Rodz for creating this amazing component.
Basic
Here’s the basic usage of the Input OTP component.
Installation
Manual installation
Anatomy
Separator
To include a separator between the OTP input groups, use the InputOTPSeparator
component.
Controlled
To control the Input OTP component, utilize the value
and onChange
props.
Design Intent UI
Build modern web apps faster with 350+ blocks and polished templates crafted for professionals.