# lgk

> * thefink-asiw * orange-asiw * colorganize-with-react * Neue St * sm (Startmon) * spongebob (Meme generator) * html_bones * tumblify * skill-guide * lgk-icons * simon

Latest version **1.4.18** (published 2022-10-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install lgk
pnpm add lgk
yarn add lgk
bun add lgk
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.18 |
| Published | 2022-10-15 |
| First published | 2018-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 26.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | lgk |

## Links

- npm: https://www.npmjs.com/package/lgk
- npm.io page: https://npm.io/package/lgk

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^16.2.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0

## Recent versions

- 1.4.18 (latest) — 2022-10-15
- 1.4.4 — 2020-04-04
- 1.4.3 — 2020-04-04
- 1.4.2 — 2020-04-04
- 1.4.1 — 2020-04-02
- 1.4.0 — 2020-03-21
- 1.3.0 — 2019-07-03
- 1.2.3 — 2018-06-09
- 1.2.2 — 2018-05-24
- 1.2.1 — 2018-04-13
- 1.2.0 — 2018-04-13
- 1.1.3 — 2018-04-08
- 1.1.2 — 2018-04-08
- 1.1.1 — 2018-04-08
- 1.1.0 — 2018-04-06
- … 11 more at https://npm.io/package/lgk/versions

## README

# Projects that are using lgk
* thefink-asiw
* orange-asiw
* colorganize-with-react
* Neue St
* sm (Startmon)
* spongebob (Meme generator)
* html_bones
* tumblify
* skill-guide
* lgk-icons
* simon

## Missing in list
* 

# Pill menu

The pill menu can get embedded in products and applications to have a nice bar, so the user can quickly see the other LGK projects.

There are two ways to use it: With old-school vanilla HTML / CSS / JavaScript and with React.

## Directly

```
<!DOCTYPE html>
<html>

<head>
    <!-- ... -->

    <link rel="stylesheet" href="https://lib.lgkonline.com/pill-menu/style.min.css">
</head>

<body>
    <!-- This is for the cookie message. If you don't set the legal link attr, it will get a default URL. -->
    <div class="lgk-cookie-message cc_banner-wrapper" data-legal-link="./legal"></div>

    <div class="lgk-pill">
        <iframe class="lgk-pill-content" src=""></iframe>
    </div>
    <div class="lgk-pill-btn">
        <span class="lgk-pill-icon"></span>
    </div>
    <div class="lgk-pill-wrapper"></div>

    <!-- ... -->

    <script src="https://lib.lgkonline.com/pill-menu/script.min.js"></script>
</body>

</html>
```

## React

Install this package:
```
npm install -S lgk
```

Use it:
```
import React from "react";

import { LgkPillComponent } from "lgk";

class App extends React.Component {
    render() {
        return (
            <div>
                <LgkPillComponent legalLink="./link" black />

                <div className="container">
                    <h1>Hello World</h1>
                </div>
            </div>
        );
    }
}

export default App;
```

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