Socket
Socket
Sign inDemoInstall

@graph-paper/chip

Package Overview
Dependencies
1
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @graph-paper/chip

__DESCRIPTION_FORTHCOMING__


Version published
Maintainers
3
Install size
97.4 kB
Created

Readme

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

Last updated on 16 Jul 2020

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc