Skip to content
Elm Ruby
Branch: master
Clone or download
Pull request Compare This branch is even with elm-community:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gen
src/Material/Icons
tests
.gitignore
README.md
elm-package.json

README.md

Material Icons for Elm

This library offers access to all of Google's Material icons in elm-lang/svg.

All icons functions expect a color and a size, which is used as both the width and the height of the icon.

Note: The icons are grouped in submodules mirroring the grouping of the icons by the material design folks in this page.

So, if you want to use some icons, first go to the google design icons page, find the icons you want to use, then search them in this package. Finding them is very simple as naming is respected and spaces are changed to underscores.

For example :

account balance in the Action category can be imported as

import Material.Icons.Action exposing (account_balance)

Development

To generate the code for the icons, run:

bundle --gemfile=gen/Gemfile
ruby gen/generate.rb
You can’t perform that action at this time.