kor
www.kor-ui.com for samples, APIs and other design/development documentation
VisitA design system / UI component library built with LitElement. Based on the web components standards, kor is browser-, framework- and OS-agnostic and can be used to build web, desktop and mobile applications using Angular, Vue, React, plain JS and so on.
Installation
Install the library in your project's folder:
npm install kor-ui --save
Integration of Components
There are three main ways of integrating the components into your app:
- Include the whole JS bundle and CSS styles directly in your
index.html
file:
- Import modules in your
.js
or.ts
files (load kor-styles.css in addition to this):
// either import the whole bundle to enable all components// or import individual modules to load only the desired components
Usage
Use the kor components as if they were native HTML tags. All components allow one and two-way data binding and the attributes fire an attribute-changed
event when modified:
<!-- data binding -->