description |
Icon button widget is just an icon, along with all other button properties. |
Image/gif of the widget on the canvas with the icon of the widget in the sidebar
Property |
Description |
iconName |
Sets the icon to be used for the icon button. |
buttonStyle |
Sets the style of the icon button. There are 5 different styles to be chosen: Primary, Warning, Danger, Info and Secondary. |
buttonVariant |
Sets the variant of the icon button. There are 3 different variants to be chosen: Solid, Outline, Ghost. |
borderRadius |
Rounds the corners of the icon button's outer border edge. Available options: Sharp, Rounded, and Circle. |
boxShadow |
Enables you to cast a drop shadow from the frame of the widget. There are 6 different options. |
boxShadowColor |
Sets the shadow color of the widget. |
isDisabled |
Disables input to the widget. |
isVisible |
Controls the visibility of the widget. |
Action |
Description |
onClick |
Sets the action to be run when an icon button is clicked. |