https://github.com/jondotsoy/html-input-rut
WebComponent to create input chilean RUT
https://github.com/jondotsoy/html-input-rut
Last synced: about 2 months ago
JSON representation
WebComponent to create input chilean RUT
- Host: GitHub
- URL: https://github.com/jondotsoy/html-input-rut
- Owner: JonDotsoy
- License: mit
- Created: 2021-12-30T23:01:56.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2022-03-24T17:57:18.000Z (about 3 years ago)
- Last Synced: 2025-03-16T19:36:14.660Z (2 months ago)
- Language: HTML
- Size: 590 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# HTML Input RUT
This module is a simple web component to create a input chilean RUT validation. Compatible with pure HTML and any framework (React, Vie, Angular, Other).
[](https://codesandbox.io/s/cool-worker-lvlxg?file=/index.html)
## Installing
Using **NPM**:
```sh
$ npm i html-input-rut
````Using **UNPKG**:
```html
```
## Usage on HTML
Add the HTML attribute `is` with value `input-rut` to the input element:
```html
```
## Usage on a React Component
Import the module `html-input-rut` and use it in the component:
```jsx
import React from 'react'
import InputRut from 'html-input-rut'export default () => {
return (
)
}
```## License
[MIT](./LICENSE)