Material Symbols¶
Material Symbols is a library of icons designed by Google for use with its Material design system.
Plugin required
This icon library requires the SVGR plugin.
Usage¶
- Find the icon you want
- Pass its name to
icons.material
Props¶
| Name | Type | Description | |
|---|---|---|---|
weight |
int |
The weight of the icon. May be a multiple of 100 from 100 to 700. Defaults to 400. |
|
variant |
str |
The variant of the icon. May be one of "outlined", "rounded", or "sharp". |
|
filled |
bool |
Whether to use the icon's filled appearance. | |
color |
str | tuple |
The color of the icon. May be an rx.color object or Pydantic-recognized color definition. |
|
size |
int | str |
The size of the icon. May be an integer (in pixels) or a CSS size string (e.g., "1rem"). |