Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-word icon names not well documented #177

Open
max opened this issue Jul 21, 2015 · 6 comments
Open

Multi-word icon names not well documented #177

max opened this issue Jul 21, 2015 · 6 comments
Assignees
Labels

Comments

@max
Copy link

max commented Jul 21, 2015

Perhaps I'm not doing this right but multi-word icons (e.g. arrow drop down) don't seem to render. Here is a JSBin example:

http://jsbin.com/boleno/edit?html,css,output

See how single word icons like face work but arrow drop down doesn't.

@max
Copy link
Author

max commented Jul 21, 2015

Oh, it looks like arrow_drop_down works. Is this explained in the docs somewhere? If not I'm happy to add a disclaimer.

@shyndman
Copy link
Contributor

You're right. It doesn't look like the documentation mentions this, and it probably should.

If you take a look at a specific icon on google.com/design/icons, you'll notice the "icon font" button on the bottom drawer. When clicked, the ligature and codepoint for the selected icon will be displayed.

@shyndman
Copy link
Contributor

Now tracking in #184 under a new name. Closing this issue.

@Aratillo
Copy link

Oh, it looks like arrow_drop_down works. Is this explained in the docs somewhere? If not I'm happy to add a disclaimer.

I know it's been 7 years but that post there really helped me out thank you!

@tphinney
Copy link
Collaborator

It is explained a bit, although it could be even better. The example in https://developers.google.com/fonts/docs/material_symbols#using_material_symbols uses “arrow_forward” in the code example. It does not literally say ”replace every space in the character name with an underscore, to get the actual glyph name to use in code” however. I have just logged this suggestion, with my strong support.

@tphinney tphinney added the docs label Jul 12, 2022
@tphinney tphinney reopened this Jul 12, 2022
@tphinney tphinney changed the title Multi-word icon names not working Multi-word icon names not well documented Jul 12, 2022
@Retroguru
Copy link

Issue still exists. Also commented it in #184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants