28.2.0 • Published 4 years ago

svelte-eui-icons v28.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

svelte-eui-icons

NPM Build

Elastic EUI SVG icons as Svelte components.

Install

This library requires svelte version >=3.20.x because it uses $$restProps.

yarn add -D svelte-eui-icons

Usage

<script>
  import Alert from "svelte-eui-icons/lib/Alert";
</script>

<Alert />

Refer to ICON_INDEX.md for a list of supported icons.

API

$$restProps are forwarded to the svg element.

Forwarded events

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

Changelog

License

MIT