surprisetalk/elm-ionicons

Ionicons helpers, icons, and constructors.


Install
elm-package install surprisetalk/elm-ionicons 1.0.0

Documentation

Elm-Ionicons

This package has a really easy-to-use API, with plenty of options!

It comes with a stylesheet and icons helpers:

import Ionicons
  exposing ( stylesheet
           , wrench
           , pieGraph
           , briefcase
           )

view : model -> Html msg
view _
  = div []
    [ stylesheet
    , wrench
    , pieGraph
    , briefcase
    ]

Customization

This package also has tools for making custom icons:

import Ionicons
  exposing ( stylesheet
           , i
           , Icon(Wrench,PieGraph,Briefcase)
           )

view : model -> Html msg
view _
    = div []
    [ stylesheet
    , i [] Wrench
    , i [] PieGraph
    , i [] Briefcase
    ]

Elm-Icon Family

Contributions