Component to display an icon from the Ionicons library.
Name
Type
Default Value
Description
color
danger
dark
light
medium
primary
secondary
success
tertiary
warning
string
undefined
The color to use for the background of the icon.
flipRtl
false
true
undefined
undefined
Specifies whether the icon should horizontally flip when dir is "rtl".
icon
string
undefined
undefined
A combination of both name and src. If a src url is detected it will set the src property. Otherwise it assumes it's a built-in named SVG and set the name property.
ios
string
undefined
undefined
Specifies which icon to use on ios mode.
lazy
false
true
false
If enabled, Icon will be loaded lazily when it's visible in the viewport. Default, false.
md
string
undefined
undefined
Specifies which icon to use on md mode.
mode
ios
md
undefined
undefined
The mode determines which platform styles to use.
name
string
undefined
undefined
Specifies which icon to use from the built-in set of icons.
sanitize
false
true
true
When set to false, SVG content that is HTTP fetched will not be checked if the response SVG content has any