for more information visit the package's GitHub page
Package contains the following modules:
A port of Zondicons for Elm.
The Zondicons icons set by Steve Schoger is licensed under CC BY 4.0.
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.
elm install pehota/elm-zondicons
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"]
]