# @chantelle/pl-link

> The Link component of the Chantelle Pattern Library

Latest version **1.1.3** (published 2018-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chantelle/pl-link
pnpm add @chantelle/pl-link
yarn add @chantelle/pl-link
bun add @chantelle/pl-link
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2018-09-13 |
| First published | 2018-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 375.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chantelle Lingerie GmbH |
| Maintainers | blackakula, chkmrv, ctsd, evashchuk, gabrielizaias, jacopkane, krasnovyehor |

## Links

- npm: https://www.npmjs.com/package/@chantelle/pl-link
- Repository: git@bitbucket.org:editionlingerie/pattern-library
- npm.io page: https://npm.io/package/@chantelle/pl-link

## Dependencies (5)

- [react](https://npm.io/package/react.md) ^16.3.2
- [recompose](https://npm.io/package/recompose.md) ^0.27.1
- [classnames](https://npm.io/package/classnames.md) ^2.2.5
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.1
- [@chantelle/pl-styles](https://npm.io/package/@chantelle/pl-styles.md) ^1.1.3

## Recent versions

- 1.1.3 (latest) — 2018-09-13
- 2.0.0-0 — 2018-07-19
- 1.0.0-1 — 2018-06-19
- 0.0.1 — 2018-06-07
- 0.0.0 — 2018-06-05

## README

# Link

## Installation

```bash
yarn add @chantelle/pl-link
```

## Usage

First, include the CSS in your HTML:

```html
<link rel="stylesheet" href="node_modules/@chantelle/pl-link/build/css/main.css">
```

> Note: you can import the CSS directly into your project if your bundler supports it:

```js
 import '@chantelle/pl-link/build/css/main.css';
```

### React Component

```jsx
import Link from '@chantelle/pl-link';

ReactDOM.render(
  <Link url='https://cl.studio'>Example Link</Link>,
  container
);
```

### CSS API

To use the Link component, add the `.pl-link` to the `<a>` element to apply the styles.

#### Appearances

```html
<a class="pl-link pl-link--primary">Primary (default) link</a>
<a class="pl-link pl-link--secondary">Secondary link</a>
```

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