Skip to content

Input OTP

View on: 

An input element that accepts multiple items from a combo.

Import



BundlerCDNReact Legacy
import '@kemet-ui/input-otp';
<script type="module" src="https://unpkg.com/kemet-ui@latest/dist/elements/input-otp.js"></script>
import { KemetInput-otp } from 'kemet-ui/react';

Use the digits attribute to specify the number of digits in the OTP.

Use the pattern attribute to specify the pattern of the OTP.








The gods are nature. Nature is completely free.
Version 5.0.0