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.
Tips
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 = undefinedfontIcon
string = undefinedicon
Orion.Icon = undefinedloading
boolean = undefinedmarker
boolean | number = false markerColor
Orion.Color = 'danger' markerPosition
string = 'top right'onMarkerClick
(e: MouseEvent) => void = undefinedripple
Orion.Color = undefinedEvents
Name
Payload type
marker-click