
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
react-input-verification-code
Advanced tools
A verification code input, autocompletion friendly
npm install --save react-input-verification-code
yarn add react-input-verification-code
import * as React from 'react';
import ReactInputVerificationCode from 'react-input-verification-code';
export default function App() {
return <ReactInputVerificationCode />;
}
Key | Type | Default | Required | Description |
---|---|---|---|---|
autoFocus | boolean | false | false | Focus on render |
length | number | 4 | false | How many items will be rendered |
onChange | function | () => {} | false | Function called when the value changes |
onCompleted | function | () => {} | false | Function called when the code is completed |
placeholder | string | · | false | String rendered in each item when no value has been typed |
value | string | () => {} | false | Control internal input value |
type | text or password | text | false | Display the item value or a password mask |
passwordMask | string | • | false | Password mask |
The following CSS properties are set globally so you can easily override them to fit your needs
Key | Default | Description |
---|---|---|
--ReactInputVerificationCode-itemWidth | 4.5rem | Width of an item |
--ReactInputVerificationCode-itemHeight | 5rem | Height of an item |
--ReactInputVerificationCode-itemSpacing | 1rem | Space between two items |
MIT © ugogo
FAQs
A verification code input, autocompletion friendly
The npm package react-input-verification-code receives a total of 3,451 weekly downloads. As such, react-input-verification-code popularity was classified as popular.
We found that react-input-verification-code demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.