Getting Started
Setting up MD Iconic Font can be as simple as adding one line of code to your website - it's like Font Awesome but with Material Design by Google. Also it plays nicely with Bootstrap 3!
EASY: CSS on CDNjs
Thanks to the cdnjs.cloudflare.com, you can use CDNjs to add MD Iconic Font into your website without downloading or installing anything!
-
Paste the following code into the
<head>
section of your site's HTML.
Immediately after release, it takes a bit of time for CDNjs to catch up and get the newest version live on their CDN.
- Check out the examples to start using Material Design Iconic Font!
BASIC: Default CSS
Use this method to get the default Material Design Iconic Font CSS.
- Download latest version of Material Design Iconic Font from this site or GitHub.
- Unpack the entire
material-design-iconic-font
archive into your project. -
In the
<head>
of your html, reference the location to your material-design-iconic-font.min.css.
- Check out the examples to start using Material Design Iconic Font!
PRO: Custom LESS or SCSS
Use this method to customize Material Design Iconic Font using LESS or SCSS.
- Download source of Material Design Iconic Font from GitHub.
-
Open your project's
path/to/material-design-iconic-font/less/variables.less
orpath/to/material-design-iconic-font/scss/_variables.scss
and edit the@md-font-path
variable to point to your font directory.
The font path is relative from your compiled CSS directory.
- Re-compile your LESS or SCSS if using a static compiler.
- Check out the examples to start using Material Design Iconic Font!
Browser support
- Chrome 21+
- Firefox 22+
- Opera 12.1+
- Safari 6.1+
- IE 10+
- Android Browser 4.3+
- Not supported in Opera Mini
In fact it can work in earlier versions of browsers accordingly to caniuse.com portal (you can check ttf, woff, transform and animation properties), but I can't test it.
Changelog
2.2.0:
- add 33 new icons
- change main section in bower.json
- repair seat and gradient icons
- change class
zmdi-stack-overflow
tozmdi-stackoverflow
- change google, google-plus, google-plus-box and paypal icons
2.1.2:
- add WOFF2 support
- remove 2.0 SVG icons files
- add EOT and SVG font files (not included in css)
2.1.1:
- fix bugs in aliases LASS/SASS files
2.1.0:
- change base font folder to "fonts"
- resort and rename icons for better search
- change variables prefix in LESS/SASS from
md-
tozmdi-
- change helper classes prefix in LESS/SASS from
zmd-
tozmdi-hc-
- change icons variables prefix in LESS/SASS from
md-iconset-
tozmdi-var-
- some changes with icons to make them look pixel perfect at 14px size
- add some community icons
- add some new icons in directional and social sections
All changes in LESS/SASS/CSS has backward compatibility with 2.0.
If you use font as standalone font - you should update it carefully, because 2.1 ttf file cheat sheet hasn't backward compatibility with 2.0. Sorry for that, but in 2.0 was a bug that I couldn't remove without breaking backward compatibility.
2.0.2:
- fix some minor changes in less/scss/css files for better icons display
2.0.1:
- remove IE8-9 hooks
- fix "!default" to used properly way in sass code
2.0.0:
- add new Google icons
- remove duplicated icons to reduce font size
- resort and rename icons for better search
- change icon-prefix to 'zmdi-' for capability with Angular JS
- add 'fixed-width', 'list' and 'stack' classes
- add "!default" to scss variables
- add vars with glyph codes to less/scss
- add nested pseudo classes for less/scss
First version
- 1.1.1 - add bower support and Cheatsheet page
- 1.1.0 - add SCSS support (thanks to @davidkpiano)
- 1.0.1 - fix bug with battery, charging-battery and wi-fi icons (device section)
- 1.0.0 - add all available icons from Google
Upgrade from 1.x
If you want to upgrade from 1.x to 2.x - follow this guide!
License
The full details of how Material Design Iconic Font is licensed and 'Thanks to' section: License page.