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

Bug with Angular Material Icon #28312

Closed
1 task
ZsirosBen opened this issue Dec 20, 2023 · 3 comments
Closed
1 task

Bug with Angular Material Icon #28312

ZsirosBen opened this issue Dec 20, 2023 · 3 comments
Labels
needs triage This issue needs to be triaged by the team

Comments

@ZsirosBen
Copy link

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

Hi, some google icon is not visible if I put them in a mat-icon tag
for example I can use 'home' icon but I can't use 'destruction','infrared' and 'Motionsensor urgent' - icons

Do you know anything about this?

Reproduction

https://stackblitz.com/edit/components-issue-kujppp?file=src%2Fapp%2Fexample-component.html

Expected Behavior

It should be visible.

Actual Behavior

I do not see the destruction icon

Environment

  • Angular: 13.3
  • CDK/Material: 13.3
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows
@ZsirosBen ZsirosBen added the needs triage This issue needs to be triaged by the team label Dec 20, 2023
@json-derulo
Copy link
Contributor

json-derulo commented Dec 21, 2023

It doesn't work because those icons are not part of the Material Icons font.

https://fonts.google.com/icons?icon.query=destruction&icon.set=Material+Icons
https://fonts.google.com/icons?icon.query=infrared&icon.set=Material+Icons

Maybe you are looking for support of Material Symbols? This is a new icon font by Google which is not officially supported by Angular Material yet. But there are workarouds, see #24845.

@ZsirosBen
Copy link
Author

Hi,

Yes! Sorry I was not aware of this..

Thanks for your answer!

Happy Holidays!!

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

2 participants