This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Feather icons for elm
version 2.3.1
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.3.1
Committed At 2018-08-14 11:46:54 UTC
elm-lang/virtual-dom 2.0.4 <= v < 3.0.0 2.0.4
elm-lang/svg 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

Modules

README

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 package 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

<a href="https://gyazo.com/fa2022e0ff6fae010070e20f2e55f71b">https://gyazo.com/fa2022e0ff6fae010070e20f2e55f71b</a>

Contribution

This package semi-automatically generated using https://github.com/1602/elm-feather-icons as builder and https://github.com/feathericons/feather as source.

Roadmap