Gathering detailed insights and metrics for react-multi-fields-input
Gathering detailed insights and metrics for react-multi-fields-input
Gathering detailed insights and metrics for react-multi-fields-input
Gathering detailed insights and metrics for react-multi-fields-input
react-country-state-city
A lightweight and easy-to-use React library that provides a comprehensive list of regions or continents, countries, states, cities languages, and country phone codes for creating dynamic and searchable dropdowns. Ideal for building forms and input fields
@teamteanpm2024/perferendis-dolore-temporibus
@teamteanpm2024/perferendis-dolore-temporibus is a Node.js module to mask various kinds of data. With the help of @teamteanpm2024/perferendis-dolore-temporibus, you can mask email, phone number, card number, JSON fields, password, etc... <br/>Also, it pr
@ryniaubenpm2/voluptatem-architecto-praesentium
A library of React components to render input fields that simplify displaying formatted numbers such as currency or telephone numbers.
npm install react-multi-fields-input
Typescript
Module System
Node Version
NPM Version
48.4
Supply Chain
54.2
Quality
64.9
Maintenance
50
Vulnerability
96.7
License
TypeScript (75.77%)
JavaScript (24.23%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
4,787
Last Day
1
Last Week
2
Last Month
20
Last Year
1,844
2 Stars
50 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Jan 05, 2025
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
react-multi-fields-input@1.0.0
Unpacked Size
44.79 kB
Size
11.86 kB
File Count
20
NPM Version
6.14.5
Node Version
14.3.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-33.3%
2
Compared to previous week
Last Month
25%
20
Compared to previous month
Last Year
38.4%
1,844
Compared to previous year
3
39
React Multi Fields Input component comes with zero styles to allow you style it in accordance to your style guidelines.
1<MultiFieldsInput 2 label="Sort Code" 3 name="codeSort" 4 inputs={[ 5 { 6 maxLength: 2, 7 placeholder: '00', 8 }, 9 { 10 maxLength: 2, 11 placeholder: '00', 12 }, 13 { 14 maxLength: 2, 15 placeholder: '00', 16 }, 17 ]} 18 value="202020" 19 error={`Invalid input`} 20 onBlur={() => {}} 21 onChange={() => {}} 22/>
See more live examples on the website.
prop | required | type | default |
---|---|---|---|
inputs | yes | Input[] | |
name | yes | string | |
onBlur | yes | function | |
onChange | no | function | undefined |
error | no | string | '' |
value | no | string | '' |
autoFocus | no | boolean | true |
styles | no | object | {} |
Input[]
is an array of objects with following properties
prop | required | type | default |
---|---|---|---|
maxLength | yes | number | |
placeholder | no | string | '' |
styles
prop is an object with properties to style each part of the component. You could then give it custom styles as you normally would for inline, e.g.
1const styles = { 2 container: { 3 width: 'auto', 4 }, 5 label: { 6 width: '100%', 7 color: '#4A5568', 8 fontWeight: 'bold', 9 marginBottom: '0.3em', 10 fontSize: '15px', 11 display: 'block', 12 }, 13 inputContainer: { 14 display: 'flex', 15 justifyContent: 'space-between', 16 width: '100%', 17 }, 18 input: { 19 borderRadius: '5px', 20 padding: '0.75em 1em', 21 border: '1px solid #A0AEC0', 22 color: '#2D3748', 23 maxWidth: '7em', 24 }, 25 error: { 26 boxSizing: 'border-box', 27 marginTop: '0.7em', 28 padding: '0.75em 1em', 29 backgroundColor: '#FED7D7', 30 display: 'block', 31 borderRadius: '5px', 32 fontWeight: 'bold', 33 color: '#C53030', 34 fontSize: '13px', 35 width: '100%', 36 }, 37}
The object that is being returned onBlur
and onChange
:
1{ name: '', value: ''}
yarn
yarn start
Storybook starts on localhost:3001
.
yarn build
Build script builds component only. Storybook is built with storybook:build
by Netlify.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/12 approved changesets -- score normalized to 0
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
license file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
88 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-17
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