feather-helper
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

feather-helper

Helper for feather-icons to simplify the use.

npm npm bundle size Maintainability Release

Highlights

  • lightweight
  • adds types for autocompletion
  • simplifies usage

Install

npm install feather-icons
npm install feather-helper

Note: feather-icons module is required.

Usage

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.

Package Sidebar

Install

npm i feather-helper

Weekly Downloads

1

Version

2.1.1

License

Apache-2.0

Unpacked Size

39.1 kB

Total Files

10

Last publish

Collaborators

  • shiftgeist