
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
react-input-verification-code
Advanced tools
A verification code input, mobile autocompletion friendly
{
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
}
yarn add react-input-verification-code
import React from 'react';
import ReactInputVerificationCode, {
ReactInputVerificationCodeProps,
} from 'react-input-verification-code';
const customProps: ReactInputVerificationCodeProps = {
autoFocus: true,
};
export default function App() {
return <ReactInputVerificationCode {...customProps} />;
}
| Key | Type | Default | Required | Description |
|---|---|---|---|---|
| autoFocus | boolean | false | false | Should focus on first render |
| length | number | 4 | false | How many inputs will be rendered |
| onChange | function | () => null | false | Function called when the value changes |
| onCompleted | function | () => null | false | Function called when the value is completed |
| placeholder | string | · | false | Inputs placeholder |
| value | string | "" | false | Default value |
| type | 'alphanumeric, number' | number | false | Should accepts alphanumeric values or only numbers |
Simply override the styles using the following classnames
.ReactInputVerificationCode-container {}
.ReactInputVerificationCode-item {}
MIT © ugogo
FAQs
A verification code input, autocompletion friendly
The npm package react-input-verification-code receives a total of 4,934 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.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.