Official Material Design style icons provided by Google. Use this tag for issues importing or using the icons provided at material.io. For the community driven icon set, please use the [material-design-icons] tag.
Questions tagged [google-material-icons]
223 questions
3
votes
0 answers
Using --no-tree-shake-icons means no icons appear after building
Currently, I am getting the error This application cannot tree shake icons fonts. When I use --no-tree-shake-icons, none of the material icons appear on the application. I am not sure how to fix this as I cant add const to my icons as they aren't…

Sawi
- 56
- 1
- 5
3
votes
4 answers
material icons cdn is not working in next.js
I added cdn to next.js head section but it does not work.
import Head from "next/head";
;
I tried to render this simple icon…

Yilmaz
- 35,338
- 10
- 157
- 202
3
votes
2 answers
How to pass android compose material icons to textField
I want to use material icons as argument passing it to the textField.
@Composable
fun NormalTextField(
icon: () -> Unit, // how to pass material icon to textField
label: String
) {
val (text, setText) = mutableStateOf("")
…

ccd
- 5,788
- 10
- 46
- 96
3
votes
2 answers
Importing specific material icon
I am creating a web application which uses Google's Material Icons.
Nearly all of the icons I use are of the default 'filled' style, and 1 one is of the 'outlined' style.
I import the icons with the following CSS code:
@import…

Trever Thompson
- 619
- 6
- 18
3
votes
1 answer
Dynamically obtain list of all material icons
I am trying to display a list of all possible material icons so the user can select one to use on their website. My code needs to display all the material icons there are. I'm unsure how my code should correctly find the 'icon list'.
One way I could…

sazr
- 24,984
- 66
- 194
- 362
3
votes
1 answer
Position of icon in Leaflet Easy Button
I'm using Leaflet easy button on my Leaflet map: