Aabestfontgenerator.
THE TYPE NOTEBOOK

How to Use Google Material Symbols in HTML

Use Google Material Symbols in HTML, understand the icon-name ligature and diagnose when the page shows the name instead of the symbol.

Load the chosen Material Symbols family, then use its class and a documented icon name in the HTML. Keep a readable label for an important action.

Sources reviewed .

01

Choose the symbol family used by the example

Google’s Material Symbols guide documents the Outlined, Rounded and Sharp families. Pick one and use its matching stylesheet and class. For the Outlined family, a simple example is <span class="material-symbols-outlined" aria-hidden="true">search</span> beside visible Search wording.

02

Check why the icon name is still visible

The example uses the name as a ligature. If the page shows the word instead of the icon, check that the stylesheet and family load, the class matches the family and the name is supported. Test one documented name by itself before styling a full navigation row.

03

Proof icon sizing and labels in the interface

Compare the symbol at the actual control size beside the visible label. If the icon is decorative next to text, keep it out of the accessible name. An icon-only control still needs a meaningful label. See the font ligature guide for the underlying text behavior and the homepage styling tool for a separate text caption.

GOOD QUESTIONS

Your questions, answered.

Is search an ordinary word in the HTML?

Yes. The supported font ligature displays the word as the selected symbol when the matching setup is present.

Can I use a class from Material Icons with Material Symbols?

Use the stylesheet and class for the specific family in your project. Google documents the current Material Symbols setup separately.

Sources & background

Sources supporting this page’s explanations. Practical examples are our editorial suggestions.