Socket
Book a DemoInstallSign in
Socket

@graph-paper/chip

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graph-paper/chip

__DESCRIPTION_FORTHCOMING__

0.0.0-alpha.15
latest
npmnpm
Version published
Maintainers
3
Created
Source

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.

usage

npm install @graph-paper/core @graph-paper/chip
<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>

FAQs

Package last updated on 16 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.