OrionIcon
<o-icon>
displays an icon from the awesome library Coolicons with the prop icon
, or from your own icon font with the prop font-icon
.
You can easily customize it with some props to add ripple effect on click, a visual marker to alert about notifications or a button style.
TIP
The cursor style will automatically switch to pointer
if a click
listener is applied on <o-icon>
.
Usage
IconMarker IconStyle IconList IconPlayground
Props
Name
button
Orion.Color = undefined
fontIcon
string = undefined
icon
Orion.Icon = undefined
loading
boolean = false
marker
boolean | number = undefined
markerColor
Orion.Color = 'danger'
markerPosition
string = 'top right'
onMarkerClick
(e: MouseEvent) => void = undefined
ripple
Orion.Color = undefined
Events
Name
Payload type
marker-click
No payload