react-input-verification-code
A verification code input, autocompletion friendly
Examples
- Basic - CodeSandbox - Source
Install
npm install --save react-input-verification-code
yarn add react-input-verification-code
Usage
import * as React from 'react';
import ReactInputVerificationCode from 'react-input-verification-code';
import 'react-input-verification-code/dist/index.css';
export default function App() {
return <ReactInputVerificationCode />;
}
API
Key | Type | Default | Description |
---|---|---|---|
length | number |
4 |
How many items will be rendered |
placeholder | Element |
· |
Element rendered when no value |
License
MIT © ugogo