Material Icons
Fontsource provides support for all variations of Material Icons. You can find more details on how to use the font variation of the project here.
Installation
To install Material Icons from Fontsource, follow the steps below:
1. Install Icon Set
Install the desired icon set from Fontsource using your package manager of choice. For example, if you want to use the Material Icons Round icon set, you would install the @fontsource/material-icons-round
package.
2. Import Icon Set
In your application’s entry file or component, import the font variation you installed. For example:
⬤⬤
jsx
3. Apply CSS class
To ensure proper rendering of the icons, include the following CSS class in your HTML file:
⬤⬤
css
You can learn more about styling Material Icons here.