Open source web components for building web applications. Build on top StencilJS.
You can install using NPM:
npm i is-web-component --save
You can install using unpkg cdn:
https://unpkg.com/is-web-component
Script tag
-
Put a script tag similar to this
<script src="https://unpkg.com/[email protected]/dist/is-web-component.js"></script>
in the head of your index.html
-
Then you can use the element anywhere in your template, JSX, html etc.
<h3>is-badge</h3> <is-badge text="is-badge" rounded></is-badge> <h3>is-multiselect</h3> <is-multiselect id="select"></is-multiselect> <script> var select = document.getElementById("select"); var data = [{ id: 1, name: 'Data 1' }, { id: 2, name: 'Data 2' }, { id: 3, name: 'Data 3' }]; select.items = data; </script>
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
- is-alert
- is-badge
- is-modal
- is-multiselect
- is-pagination
- is-table
- is-tabs