This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0
Material Design icons, helpers, and constructors.
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.1
Committed At 2018-08-01 03:47:33 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

Modules

README

Elm-Material-Icons

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

It comes with a stylesheet and icons helpers:

import MaterialIcons
  exposing ( stylesheet
           , wrench
           , accountKey
           , briefcase
           )

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

Customization

This package also has tools for making custom icons:

import MaterialIcons
  exposing ( stylesheet
           , i
           , Icon(Wrench,AccountKey,Briefcase)
           )

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

Styling

Some styling shortcuts are included:

stylishFish : Html Msg
stylishFish
  = i [ light
      , flipV
      , size X48 
      ] 
    Fish

The styling helpers are also included as a record:

stylishFish : Html msg
stylishFish
  = i [ style 
        { shade    = Just Dark
        , inactive = False
        , size     = Just X36
        , flipH    = True
        , flipV    = False
        , rotation = Just Rotate135
        }
      ]
    Fish

Elm-Icon Family

Contributions