@sfx-ui/iconsdeprecated

SVG icons as React components.

Usage no npm install needed!

<script type="module">
  import sfxUiIcons from 'https://cdn.skypack.dev/@sfx-ui/icons';
</script>

README

@sfx-ui/icons

SVG icons as React components.


Installation

npm i @sfx-ui/icons # react react-dom
yarn add @sfx-ui/icons # react react-dom

Make sure to have react and react-dom installed in your package as they are included in our peer dependencies.

Usage

Every icon present in this package is a pure React component, wrapping plain svg element. Each component is exported by default and gives access to the ref and className props, as well as standard svg attributes.

import DownloadIcon from '@sfx-ui/icons/download';