Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elm-community/material-icons
Material Icons in Elm.
https://github.com/elm-community/material-icons
Last synced: 2 months ago
JSON representation
Material Icons in Elm.
- Host: GitHub
- URL: https://github.com/elm-community/material-icons
- Owner: elm-community
- Archived: true
- Created: 2016-12-25T20:48:04.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-08-27T02:52:36.000Z (over 5 years ago)
- Last Synced: 2024-08-02T00:23:40.706Z (5 months ago)
- Language: Elm
- Homepage: http://package.elm-lang.org/packages/elm-community/material-icons/latest
- Size: 258 KB
- Stars: 14
- Watchers: 5
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-material-design - material-icons - Material icons made available in elm (Elm / Components)
README
# Material Icons for Elm
This library offers access to all of [Google's Material icons](https://www.google.com/design/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](https://www.google.com/design/icons/).*
So, if you want to use some icons, first go to the [google design icons page](https://www.google.com/design/icons/), 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
```elm
import Material.Icons.Action exposing (account_balance)
```## Development
To generate the code for the icons, run:
```bash
bundle --gemfile=gen/Gemfile
ruby gen/generate.rb
```