pehota/elm-zondicons - version: 1.0.1

for more information visit the package's GitHub page

Package contains the following modules:

Elm Zondicons

A port of Zondicons for Elm.

The Zondicons icons set by Steve Schoger is licensed under CC BY 4.0.

Note

Some Html.Attribute implementations actually work on javascript properties and since svg node doesn't have any javascript properties a run time error might occur. In order to avoid this the icons implementations require Svg.Attribute. More information can be found in this issue.

Installation

elm install pehota/elm-zondicons

Usage

module MyModule exposing (customHtml)

import Html exposing (Html)
import Svg.Attributes exposing (class)
import Zondicons


type Msg = ...
type Model = ...

...

customHtml: Model -> Html Msg
customHtml model =
  div [] [
    Zondicons.airplane [class "my-custom-icon"]
  ]