Material-design-icons: Document usage of underscores in ligatures more clearly

Created on 28 Jul 2015  路  5Comments  路  Source: google/material-design-icons

It's confusing because it differs from the icon name

enhancement

Most helpful comment

Can we please get dashes instead of underscores? :cry:

All 5 comments

Can we please get dashes instead of underscores? :cry:

This is still an issue. I struggled with the lack of documentation regarding the need for underscores on multi-word icons.

Google eventually led me to issue #177. Which led me here.

Also faced with the problem. For example, I've tried to use menu_book , but instead, it shows two icons: 'menu' and 'book'. Same time restore_page works, and restore_from_trash not.

First, i thought that using codepoints could help https://github.com/google/material-design-icons/blob/master/iconfont/codepoints
but seems that the problem is an outdated repository and, the same time, new icons on the page: https://material.io/resources/icons/?style=baseline

Stumbled over menu_book as well.

I had the exact same problem.

Here's what worked for me:
You'll have to use the latest version of the font.

So either fetch the resource directly from Google / add this to your code:
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

o蜋r蜋 go to: fonts.googleapis.com/icon?family=Material+Icons and copy this URL:

image
(I pasted the screenshot instead of the URL because the file contents / the source URL might change over time)

Hope it helps!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

akxer picture akxer  路  3Comments

Kyrosee picture Kyrosee  路  3Comments

max picture max  路  3Comments

dy picture dy  路  3Comments

andrey-helldar picture andrey-helldar  路  4Comments