📐Material Symbols
Also known as Google Material Symbols, Material Symbols Font
Google's icon set. One font file lets each icon be thicker, thinner or filled in.
Think of it like
It is like a set of clay shapes. You can make each one fatter, thinner or filled in.
Example
A tab bar shows outline icons. When a tab is picked, the app turns fill on, so that icon becomes solid.
Why it matters
One font takes the place of a pile of image files. Icons can match the weight of the text and change smoothly between states.
Definition
Example code
html
<span class="material-symbols-outlined">home</span>Common mistake
Key takeaways
- 1One variable font. Four settings.
- 2Three styles. Outlined, Rounded, Sharp.
- 3Type the name. The font draws the icon.