Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/javadbat/jb-national-input

jb national id input
https://github.com/javadbat/jb-national-input

Last synced: 7 days ago
JSON representation

jb national id input

Awesome Lists containing this project

README

        

# jb-national-input
jb national id input(کد ملی) with proper validation
superset component on [jb-input](https://github.com/javadbat/jb-input) , just for national id number with extra filter and ready to use validator
کامپوننت ورود کد ملی

Demo in Codepen: [jb-national-input](https://codepen.io/javadbat/pen/PorNxOw)

## Installation
```bash
npm install --save jb-national-input
```

## Usage

```js

import 'jb-national-input';

```
```html

```
to learn more information about this component and how to customize it like events, styling,... just read [jb-input](https://github.com/javadbat/jb-input)

## styling
all styles come from jb-input except `--jb-national-input-input-direction` this may be set if you want your input to be rtl (not recommended).

## Other Related Docs:

- see [jb-national-input-react](https://github.com/javadbat/jb-national-input-react) if you want to use this component as a react component.

- 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.