Helper for
feather-iconsto simplify the use.
- lightweight
- adds types for autocompletion
- simplifies usage
npm install feather-icons
npm install feather-helperNote: feather-icons module is required.
Example usage in Svelte:
<script>
import Feather from "feather-helper";
const githubIcon = Feather("github", {
class: "flex",
color: "#F09383",
"stroke-width": 3,
});
</script>
{@html githubIcon}Check out a simple example in the example folder.