Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.0.0 <= v < 1.0.0

Ui.Icon

A component to render SVG icons.

Properties

disabled
:
Bool
=
false

Whether or not the icon is disabled.

href
:
String
=
""

If provided the icon will behave as an anchor to the specified URL.

icon
:
Html
=
<></>

The actual SVG icon.

interactive
:
Bool
=
false

Whether or not the icon can be interacted with.

onClick
:
Function(Html.Event, Promise(Never, Void))
=
Promise.never1

The click event handler.

opacity
:
Number
=
1

The opacity of the icon.

size
:
Ui.Size
=
Ui.Size::Inherit

The size of the icon.

Functions

render
:
Html