# wired-link

> Hand-drawn sketchy tabs - web component

Latest version **2.1.0** (published 2020-06-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install wired-link
pnpm add wired-link
yarn add wired-link
bun add wired-link
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score; popular repo.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2020-06-19 |
| First published | 2019-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10853 |
| Author | Preet Shihn |
| Maintainers | shihn |
| Keywords | link, anchor, webcomponent, web component, rough, sketchy, hand-drawn, hand drawn |

## Links

- npm: https://www.npmjs.com/package/wired-link
- Repository: https://github.com/wiredjs/wired-elements
- Homepage: https://github.com/wiredjs/wired-elements#readme
- Issues: https://github.com/wiredjs/wired-elements/issues
- npm.io page: https://npm.io/package/wired-link

## Dependencies (2)

- [wired-lib](https://npm.io/package/wired-lib.md) ^2.1.0
- [lit-element](https://npm.io/package/lit-element.md) ^2.3.1

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 2.1.0 (latest) — 2020-06-19
- 2.0.2 — 2020-03-15
- 2.0.0 — 2019-10-19
- 2.0.0-alpha.1 — 2019-10-18

## README

# wired-link
Hand-drawn sketchy Anchor/Link web component.

For demo and view the complete set of wired-elememts: [wiredjs.com](http://wiredjs.com/)

## Usage

Add wired-link to your project:
```
npm wired-link
```
Import wired-link definition into your HTML page:
```html
<script type="module" src="wired-link/lib/wired-link.js"></script>
```
Or into your module script:
```javascript
import { WiredLink } from "wired-link"
```

Use it in your web page:
```html
<wired-link href="/more.html">Learn more</wired-link>
<wired-link elevation="3" href="/more.html" target="_blank">Elevation</wired-link>
```

## Properties

**elevation** - Number between  1 and 5 (inclusive) that gives the sketchy link underline a height. Default value is 1.

**href** - URL of the page to link to

**target** - Similar to the target property of `<a>`, the target window of this link.

## Custom CSS Properties

**--wired-link-decoration-color** - Color of the sketchy underline of the link. Default value is blue. Foreground color is set by setting the **color** css property.


## License
[MIT License](https://github.com/wiredjs/wired-elements/blob/master/LICENSE) (c) [Preet Shihn](https://twitter.com/preetster)

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