/svelte-feather-icons

Primary LanguageTypeScriptMIT LicenseMIT

svelte-feather-icons-typescript

Typed svelte feather icons

Install

yarn add --dev @marco-selenati/svelte-feather-icons-typescript

or use NPM

npm install --save-dev @marco-selenati/svelte-feather-icons-typescript

Usage

<script lang="typescript">
  // Only import what you need!
  import { AirplayIcon, AtSignIcon, ... } from 'svelte-feather-icons-typescript'
</script>

<AirplayIcon size="24" />
<AtSignIcon size="1.5x" />

See all icons and usage here: https://vue-feather-icons.netlify.com

Development

To generate the Svelte components from the feather-icons run:

npm run-script build

Remove the generated files:

npm run-script clean

Author

This package is completely based on vue-feather-icons

and svelte-feather-icons