<icon>
A Material Symbols icon, with its style, weight, size and color set in its name.
<row style="gap-24 items-center">
<icon name="favorite fill size-40 red"/>
<icon name="star rounded size-40 amber"/>
<icon name="home outlined size-40"/>
<icon name="settings sharp 300 size-40 blue"/>
</row>
Attributes
| Name | What it does | Default |
|---|---|---|
color |
Icon color color |
|
icon |
Alias for name string |
help |
name |
Icon name from Material icons string |
help |
size |
Icon size in pixels number |
|
style |
Style classes string |
Any tag also takes gestures: @on.tap, @on.longpress, @on.doubletap and @on.swipeleft (and right, up and down). @click runs on a tap too.