Gathering detailed insights and metrics for @chakra-ui/pin-input
Gathering detailed insights and metrics for @chakra-ui/pin-input
Gathering detailed insights and metrics for @chakra-ui/pin-input
Gathering detailed insights and metrics for @chakra-ui/pin-input
@zag-js/pin-input
Core logic for the pin-input widget implemented as a state machine
@saas-ui/pin-input
Pin Input component for Chakra UI
@chakra-ui/c-pin-input
Chakra UI Vue | The pin input component is similar to the input component but is optimized for entering sequences of digits quickly component
@hackr/chakra-ui-pin-input
A React component optimized for entering sequences of digits
Chakra UI is a component system for building SaaS products with speed ⚡️
npm install @chakra-ui/pin-input
Typescript
Module System
Node Version
NPM Version
@chakra-ui/cli@3.22.0
Updated on Jul 07, 2025
@chakra-ui/panda-preset@3.22.0
Updated on Jul 07, 2025
@chakra-ui/react@3.22.0
Updated on Jul 07, 2025
@chakra-ui/charts@3.22.0
Updated on Jul 07, 2025
@chakra-ui/panda-preset@3.21.1
Updated on Jun 28, 2025
@chakra-ui/charts@3.21.1
Updated on Jun 28, 2025
TypeScript (82.2%)
MDX (16.96%)
JavaScript (0.71%)
CSS (0.07%)
HTML (0.06%)
Dockerfile (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
39,354 Stars
10,958 Commits
3,443 Forks
201 Watchers
10 Branches
695 Contributors
Updated on Jul 13, 2025
Latest Version
2.1.0
Package Id
@chakra-ui/pin-input@2.1.0
Unpacked Size
115.73 kB
Size
13.91 kB
File Count
22
NPM Version
9.5.1
Node Version
18.16.1
Published on
Jul 18, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
The PinInput component is optimized for entering sequences of digits. The most common application is for entering single-use security codes. It is optimized for entering digits quickly.
1yarn add @chakra-ui/pin-input 2 3or 4 5npm i @chakra-ui/pin-input
1import { 2 PinInput, 3 PinInputField, 4 usePinInput, 5 usePinInputField, 6} from "@chakra-ui/pin-input"
Chakra UI exports two primary components, PinInput
and PinInputField
to
compose a PinInput component. Chakra UI also provides hooks to can create a
custom PinInput component.
1<PinInput defaultValue="234"> 2 <PinInputField /> 3 <PinInputField /> 4 <PinInputField /> 5</PinInput>
1function PinInputHookExample() { 2 const context = usePinInput({ autoFocus: true }) 3 const input1 = usePinInputField({ context }) 4 const input2 = usePinInputField({ context }) 5 const input3 = usePinInputField({ context }) 6 const input4 = usePinInputField({ context }) 7 8 return ( 9 <div> 10 <input style={style} {...input1} /> 11 <input style={style} {...input2} /> 12 <input style={style} {...input3} /> 13 <input style={style} {...input4} /> 14 </div> 15 ) 16}
1<PinInput size="lg" defaultValue="234"> 2 <PinInputField /> 3 <PinInputField /> 4 <PinInputField /> 5</PinInput>
1function ControlledPinInput() { 2 const [value, setValue] = React.useState("") 3 4 const handleChange = (value: string) => { 5 setValue(value) 6 } 7 8 const handleComplete = (value: string) => { 9 console.log(value) 10 } 11 return ( 12 <PinInput value={value} onChange={handleChange} onComplete={handleComplete}> 13 <PinInputField /> 14 <PinInputField /> 15 <PinInputField /> 16 </PinInput> 17 ) 18}
No vulnerabilities found.
Reason
30 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
7 existing vulnerabilities detected
Details
Reason
Found 5/25 approved changesets -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More