Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/javadbat/jb-password-input-react
password input react component
https://github.com/javadbat/jb-password-input-react
Last synced: 7 days ago
JSON representation
password input react component
- Host: GitHub
- URL: https://github.com/javadbat/jb-password-input-react
- Owner: javadbat
- License: mit
- Created: 2024-07-17T13:14:25.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T14:01:16.000Z (about 1 month ago)
- Last Synced: 2024-12-08T14:36:38.666Z (14 days ago)
- Language: TypeScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jb-password-input-react
password input react component
this component props and functionality are all come from [jb-input-react](https://github.com/javadbat/jb-input-react) just for password input so for doc just read jb-input-react document
in jb-time-input you can create a input special for time the advantage is:- all jb-input benefits include customizations, validation,...
- show password toggle button to let user see inputted passwordDemo: [codeSandbox preview](https://3f63dj.csb.app/samples/jb-password-input) for just see the demo and [codeSandbox editor](https://codesandbox.io/p/sandbox/jb-design-system-3f63dj?file=%2Fsrc%2Fsamples%2FJBPasswordInput.tsx) if you want to see and play with code
## Demo image:
![](pass.png)
![](passShow.png)### set password level
jb-password has some default validation check series that you can set by just set the `level` prop of the component
```ts
//level list
type PasswordValidationLevel ="NONE" | "BASIC" | "PRO"
//NONE is no default validation
//BASIC just check for password length
//PRO check password length + numeric and special char included
```
```jsx```
you may not set the level and just set your own validation but we put this option for ease of use.## Other Related Docs:
- see [jb-password-input](https://github.com/javadbat/jb-password-input) if you want to use this as a web-component in a pure-js app or any other framework.
- see [All JB Design system Component List](https://github.com/javadbat/design-system/blob/master/docs/component-list.md) for more components.
- use [Contribution Guide](https://github.com/javadbat/design-system/blob/master/docs/contribution-guide.md) if you want to contribute in this component.