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

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

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

[![dmeo](./assets/demo-1.gif)](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)