Components
Icon
Visual cues to support user understanding of content or context
The <Icon>
component is a simple wrapper around an <i>
element styled using the Material Icons font.
The other components in the library use this component to display icons, so you can override it to customize the icon styles.
Usage ¶
The size and color of the icon is determined by the font size of the parent element
Component arguments ¶
Icon
¶
Argument | Type | Description |
---|---|---|
name |
str |
Required. Name of the Material Symbol icon to show. |
fill |
bool |
Whether to fill the icon with color. Default is false . |
Components ¶
Component |
File |
Source |
---|---|---|
Icon |
icon.jinja |
|
icon.css |