# @graph-paper/chip

> __DESCRIPTION_FORTHCOMING__

Latest version **0.0.0-alpha.15** (published 2020-07-16) · MPL-2.0 license · 0 weekly downloads

## Install

```sh
npm install @graph-paper/chip
pnpm add @graph-paper/chip
yarn add @graph-paper/chip
bun add @graph-paper/chip
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0-alpha.15 |
| Published | 2020-07-16 |
| First published | 2020-04-26 |
| Weekly downloads | 0 |
| License | MPL-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 28.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hamilton Ulmer |
| Maintainers | hamiltonulmer, openjck, wlach |

## Links

- npm: https://www.npmjs.com/package/@graph-paper/chip
- npm.io page: https://npm.io/package/@graph-paper/chip

## Dependencies (1)

- [@graph-paper/icons](https://npm.io/package/@graph-paper/icons.md) ^0.0.0-alpha.15

## Recent versions

- 0.0.0-alpha.15 (latest) — 2020-07-16
- 0.0.0-alpha.14 — 2020-06-30
- 0.0.0-alpha.13 — 2020-06-05
- 0.0.0-alpha.12 — 2020-05-23
- 0.0.0-alpha.11 — 2020-05-20
- 0.0.0-alpha.10 — 2020-05-15
- 0.0.0-alpha.9 — 2020-05-13
- 0.0.0-alpha.8 — 2020-05-01
- 0.0.0-alpha.7 — 2020-04-26

## README

# Chip

A chip is a discrete interaction element conveying information that is
filterable, cancelable, and clickable. More information about chips can be found
in the
[Material Design documentation](https://material.io/components/chips/#input-chips).

## usage

```
npm install @graph-paper/core @graph-paper/chip
```

```svelte
<script>
import { Chip, ChipSet } from '@graph-paper/chip';
</script>

<ChipSet>
  <Chip>a plain chip</Chip>
  <Chip disabled>a plain chip</Chip>
  <Chip toggled={whichChip} on:click={() => { whichChip = true; }}>A</Chip>
  <Chip toggled={whichChip} on:click={() => { whichChip = true; }}>B</Chip>
  <Chip filterable toggled={whichChip} on:click={() => { whichChip = true; }}>
    A filterable
  </Chip>
  <Chip filterable toggled={whichChip} on:click={() => { whichChip = true; }}>
    B filterable
  </Chip>
  <Chip cancelable on:cancel={console.log}>
    Cancelable Chip
  </Chip>
</ChipSet>
```

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