svelte-leafygreen-icons

0.1.0 • Public • Published

svelte-leafygreen-icons

NPM Build

Leafygreen UI SVG icons as Svelte components.

This library builds icons from MongoDB Leafygreen UI as Svelte components with zero dependencies.

Install

yarn add -D svelte-leafygreen-icons

Usage

<script>
  import { ActivityFeed } from "svelte-leafygreen-icons";
</script> 
 
<ActivityFeed />

Refer to docs/README.md for a full list of icons.

API

$$restProps are forwarded to the svg element.

Forwarded events

  • on:click
  • on:mouseover
  • on:mouseenter
  • on:mouseout
  • on:keydown

Changelog

License

MIT

Package Sidebar

Install

npm i svelte-leafygreen-icons

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

53.1 kB

Total Files

148

Last publish

Collaborators

  • metonym