Symbols for common actions and items.
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
role |
role |
AriaRole |
"presentation" | Roles of the icon. |
Property | Description |
---|---|
--icon-font |
Font family |
--icon-size |
Width and height |
Name | Description |
---|---|
Name of the icon. |
Go here to try the demo.
Currently the wl-icon
has not been designed with no configuration in mind. If you don't provide your own icon font via the --icon-font
CSS variable you need to load the default google font material icons. You can do that by inserting the following link in the head
tag of your index.html
file. Check out the available icons here.
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
Andreas Mehlsen | You? |
Licensed under MIT.