shinokada / svelte-heros-v2

Hero Icons v2 for Svelte. You can select outline and solid icons using the variation props. Svlete-Heros support major CSS framework. You can add additional CSS using the `class` props.
https://svelte-heros-v2.codewithshin.com
Apache License 2.0
41 stars 3 forks source link

[FEAT]: explain the difference between this and svelte-hero-icons #17

Closed dsm-72 closed 1 year ago

dsm-72 commented 1 year ago

Description

see title

Additional Information

No response

shinokada commented 1 year ago

image Heroicons have v1 and v2. Svelte-heros is v1 and this lib is v2. I have no idea about svelte-hero-icons.

dsm-72 commented 1 year ago

@shinokada thank you! I was confused about all the libs claiming to be hero icons for svelte >.<

dsm-72 commented 1 year ago

by the way I am getting

rror: <MagnifyingGlassCircle> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <MagnifyingGlassCircle>.
shinokada commented 1 year ago

It works on REPL.

<script>
    import {MagnifyingGlassCircle} from 'svelte-heros-v2'
</script>

<MagnifyingGlassCircle size="100" />

image

shinokada commented 1 year ago

I close the issue for now. Feel free to open a new issue.