<legno-icon-wrapper>
<legno-icon-info-filled />
</legno-icon-wrapper>
<div class="legno-icon-wrapper">
<!-- ICON -->
</div>
size="small" | Default | size="large" | customSize="50px" |
18px | 24px | 32px | 50px |
Color can be applied by specifying a text color on the parent component.
The inner fill of the icons is transparent by default. This can be changed by setting the innerFill
property or by overriding the CSS class legno-icon__inner-fill
.
Default | flip="horizontal" | flip="vertical" | flip="both" |
rotateDeg="0" | rotateDeg="45" | rotateDeg="90" |
In order to enable click-events the property clickable
needs to be set to true
. This will render the icon inside a <button>
element.
...
...