# @clinq/web-components

> Basic UI elements as web components used in CLINQ apps.

Latest version **0.20.0** (published 2020-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @clinq/web-components
pnpm add @clinq/web-components
yarn add @clinq/web-components
bun add @clinq/web-components
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.20.0 |
| Published | 2020-11-26 |
| First published | 2020-03-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 102.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | CLINQ |
| Maintainers | nightillusions, fgladisch, fuglu, bfncs, alphabetapeter |
| Keywords | web-components |

## Links

- npm: https://www.npmjs.com/package/@clinq/web-components
- Repository: https://github.com/sipgate/clinq-web-components
- Homepage: https://github.com/sipgate/clinq-web-components#readme
- Issues: https://github.com/sipgate/clinq-web-components/issues
- npm.io page: https://npm.io/package/@clinq/web-components

## Recent versions

- 0.20.0 (latest) — 2020-11-26
- 0.19.2 — 2020-11-05
- 0.19.1 — 2020-10-28
- 0.19.0 — 2020-10-28
- 0.18.0 — 2020-10-28
- 0.17.1 — 2020-09-23
- 0.17.0 — 2020-09-23
- 0.16.5 — 2020-09-14
- 0.16.4 — 2020-09-14
- 0.16.3 — 2020-09-14
- 0.16.2 — 2020-09-03
- 0.16.1 — 2020-09-03
- 0.16.0 — 2020-09-03
- 0.15.11 — 2020-09-02
- 0.15.10 — 2020-09-01
- … 35 more at https://npm.io/package/@clinq/web-components/versions

## README

# CLINQ Web Components :art:

Basic UI elements as web components used in CLINQ apps.

**We will not provide support for this software. Use at your own risk.**

## Installation

```sh
npm i @clinq/web-components
```

## Example

```html
<!DOCTYPE html>
<html lang="en">
  <!-- Your custom element -->
  <my-element></my-element>

  <!-- "my-element" component implementation -->
  <script type="module">
    import "https://unpkg.com/@clinq/web-components?module";
    import { LitElement, html } from "https://unpkg.com/lit-element?module";

    class MyElement extends LitElement {
      handleClick() {
        alert("Hello, World!");
      }

      render() {
        return html`
          <clinq-button @click=${this.handleClick} variant="link">
            Click me!
          </clinq-button>
        `;
      }
    }

    customElements.define("my-element", MyElement);
  </script>
</html>
```

## Development

**Do not export anything!** Otherwise `npm link` of other packages using this package will result in multiple registration of components. This is a pure component library.

## License

[MIT](LICENSE)

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