hazg / svelte-dynamic-iconify

Render Iconify icons without imports in code on Svelte

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

Use @iconify/svelte

Dynamic Iconify for Svelte

Render Iconify icons without imports in code on Svelte

Install

  yarn add hazg/svelte-dynamic-iconify

Use

  <script>
    import Icon from 'svelte-dynamic-iconify'
  </script>

  <Icon name="carbon:face-cool" />

License

This project is licensed under the MIT License

About

Render Iconify icons without imports in code on Svelte


Languages

Language:JavaScript 65.9%Language:Svelte 34.1%