@aoeu/icons

SVG Icon Components

Usage no npm install needed!

<script type="module">
  import aoeuIcons from 'https://cdn.skypack.dev/@aoeu/icons';
</script>

README

@aoeu/icons

yarn add @aoeu/icons

This package provides access to an Icons component, which renders an svg element with a collection of various symbol elements in it for rendering common SVG icons in web applications. This should be rendered into consuming applications in the following manner:

<Icons />

This will make those icons available for reference from the available Icon component, which takes a symbolId prop, and makes use of the SVG use element, which will reference the given symbol element rendered with the Icons component above. It can be used in this manner:

<Icon symbolId="arrow-down" />