Skip to main content

Icon button



Development

Examples

Basic

PreviewAngularReactVueJavaScript

API (ix-icon-button)

Properties

Name
Description and specifications
a11yLabel
Since 2.1.0
Accessibility label for the icon button Will be set as aria-label on the nested HTML button element
Attribute:
a11y-label
Type:
string | undefined
color
Deprecated
since 2.1.0 use `icon-color`
Color of icon in button
Attribute:
color
Type:
string | undefined
disabled
Disabled
Attribute:
disabled
Type:
boolean
Default:
false
ghost
Button invisible
Attribute:
ghost
Type:
boolean
Default:
false
icon
Icon name
Attribute:
icon
Type:
string | undefined
iconColor
Color of icon in button
Attribute:
icon-color
Type:
string | undefined
loading
Since 2.0.0
Loading button
Attribute:
loading
Type:
boolean
Default:
false
outline
Button outline
Attribute:
outline
Type:
boolean
Default:
false
oval
Button in oval shape
Attribute:
oval
Type:
boolean
Default:
false
size
Deprecated
Only size 32 will be removed in 3.0.0
Size of icon in button
Attribute:
size
Type:
"12" | "16" | "24" | "32"
Default:
'24'
type
Type of the button
Attribute:
type
Type:
"button" | "submit"
Default:
'button'
variant
Since 2.3.0 - variant danger
Variant of button
Attribute:
variant
Type:
"danger" | "primary" | "secondary"
Default:
'secondary'

Events

No events available for this component.