# @kor-ui/kor

> Web components library containing lightweight, ready-to-use and framework-agnostic User Interface elements.

Latest version **1.11.3** (published 2022-05-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @kor-ui/kor
pnpm add @kor-ui/kor
yarn add @kor-ui/kor
bun add @kor-ui/kor
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.11.3 |
| Published | 2022-05-01 |
| First published | 2020-04-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 290 |
| Author | Eduardo Ferreira |
| Maintainers | eduferfer |
| Keywords | design system, ui, ux, litElement, design, webcomponents, baukasten |

## Links

- npm: https://www.npmjs.com/package/@kor-ui/kor
- Repository: https://github.com/kor-ui/kor
- Homepage: https://kor-ui.com
- Issues: https://github.com/kor-ui/kor/issues
- npm.io page: https://npm.io/package/@kor-ui/kor

## Dependencies (1)

- [lit](https://npm.io/package/lit.md) ^2.0.0-rc.2

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 1.11.3 (latest) — 2022-05-01
- 1.11.2 — 2022-04-18
- 1.11.1 — 2022-04-18
- 1.11.0 — 2022-04-17
- 1.10.1 — 2022-04-17
- 1.9.1 — 2021-10-21
- 1.9.0 — 2021-10-21
- 1.8.2 — 2021-06-18
- 1.8.1 — 2021-05-23
- 1.8.0 — 2021-05-13
- 1.7.7 — 2021-05-11
- 1.7.6 — 2021-05-11
- 1.7.5 — 2021-05-09
- 1.7.4 — 2021-05-01
- 1.7.3 — 2021-04-29
- … 51 more at https://npm.io/package/@kor-ui/kor/versions

## README

![](https://kor-ui.com/assets/favicon_light.png)
# kor

### Visit [www.kor-ui.com](https://www.kor-ui.com/) for samples, APIs and other design/development documentation

A 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 through npm:

```
npm install @kor-ui/kor --save
```

---

## Integration of Components

### Load the whole bundle

The most simple and common way of including the components into an application is by loading the core bundle:


```js
// include bundle through module import
import '@kor-ui/kor'
// if using JS, css can also be imported. if using TS, use html stylesheet as shown below
import '@kor-ui/kor/kor-styles.css'
```

*or*

```html
<!-- include bundle and styles in html file -->
<script type="text/javascript" charset="utf-8" src="node_modules/@kor-ui/kor/index.js"></script>
<link rel="stylesheet" type="text/css" href="node_modules/@kor-ui/kor/kor-styles.css">
```

### Load single components

As an alternative, you can also load individual components to reduce loading time. Be aware that components are inter-dependent and should be imported independently:

```js
// include individual components and styles through module import
import '@kor-ui/kor/components/button'
import '@kor-ui/kor/components/text'
// if using JS, css can also be imported. if using TS, use html stylesheet as shown below
import '@kor-ui/kor/kor-styles.css'
```

*or*

```html
<!-- include single components and styles in html file -->
<script type="text/javascript" charset="utf-8" src="node_modules/@kor-ui/kor/components/button/index.js"></script>
<script type="text/javascript" charset="utf-8" src="node_modules/@kor-ui/kor/components/text/index.js"></script>
<link rel="stylesheet" type="text/css" href="node_modules/@kor-ui/kor/kor-styles.css">
```

---

## 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:

```html
<kor-button label="Hello World" color="secondary" disabled></kor-button>
<!-- data binding -->
<kor-accordion [label]="myVar" (expanded-changed)="myFunction()"></kor-accordion>
```

---
_Source: https://npm.io/package/@kor-ui/kor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
