Fork of feather icons for elm (legacy).
Clone or download
Pull request Compare This branch is 1 commit ahead, 4 commits behind feathericons:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
elm.json

README.md

Note, this is fork of new repository located at https://github.com/feathericons/elm-feather This for exists for sole purpose of keeping existing published version in elm package registry alive.

Feather icons for elm

Embeddable svg icons by https://feathericons.com/

Usage

There are two ways of using feather icons in your project. One is friction-free when you don't mind adding a dependency which will include full set of svg icons. Another is more optimat in terms of build size, allowing you to pick selection of svg functions without depending on this package.

If you are building an app, then the best option for you is the first one, just install dependency.

If you are building a library and counting every byte, then you might want to go with lighter version and to use only a limited selection of icons you really need.

As elm package

Install

elm install 1602/elm-feather

Import

import FeatherIcons

Use

FeatherIcons.chevronsLeft
    |> FeatherIcons.toHtml []

As selection of functions

In case if you just want subset of icons or don't want additional dependency

  1. Visit https://1602.github.io/elm-feather-icons/
  2. Select icons you need
  3. Grab generated code

Demo

https://gyazo.com/fa2022e0ff6fae010070e20f2e55f71b

Contribution

Contribute here: https://github.com/feathericons/elm-feather