svelte-leafygreen-icons
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
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