Control Button

It is the regular button widget with the ability to trigger any action on click, but an icon is used to represent it visually on the screen, instead of text.

Basic

Icon

Choose one from the set of icons that will be displayed as the logo. Recommended to pick a logo that closely represents the need of the button.

Interaction

Default

Click - This is triggered when this is used as a default button and the user clicks on it.

Disabled

Disables the user interaction with the element on the page. It visually indicates that the element is inactive and prevents users from interacting with it when applied.

Read-only

Hide

This sets whether the widget has to be displayed on the screen when the program is loaded. This shows/hides the widget both on desktop and mobile devices.

Set the visibility

Loading

It will be useful when there is a process to be carried out, like running a query to fetch data, before the widget is loaded. The loading boolean value can be utilized to show the spinner till the process is complete.

Loading state

Layout

Height

Auto

The height is auto-adjusted for the content

Fixed

The height of the widget is fixed

Icon Size

Enter the size of the icon in terms of 'px' measure. It is recommended to keep the number to fit the button layout.

Style

Property
Description

Background

Users can change the colour of the text background using this property. It has all the RGB colour ranges to pick from. It is recommended to use a corresponding background colour that shows the font clearly.

Box Shadow

The is the colour of the shadow that is generated behind the widget box. The X and Y axis values can be altered such that the shadow can be set to fall anywhere behind the widget area. "x-offset" - a positive number specifies the shadow will be on the right of the box, and a negative number will put the shadow on the left of the box. "y-offset" - a negative one means the shadow will be above the box, and a positive number means the shadow will be below the box. "Blur" - if the number is set to 0 then the shadow will be sharp. It will more blurred as the number goes higher, and the shadow will extend further away. "Color" - sets the colour of the shadow. If the colour is not set, the box shadows are drawn in the foreground colour.

Icon Color

Set the color to the icon that is picked using the 'Icon' field

Loader Color

Pick the colour to the loading spinner when the component shows the loader before getting displayed.

Border Color

Set the colour to the border lines. The border lines will be shown only if that is enabled.

Margin

This value is set in terms of "px" number which creates the space between the border and the content of the widget.

Padding

This value is set in terms of "px" number which creates the space between the border and outer elements.

Border Radius

This sets the radius of the widget's corners, enabling rounded corners on the widget. This value is defined in "px" terms.

Border Width

Set the thickness of the border of the widget using this value. It is defined using "px" terms.

Aspect Ratio

Allows the user to set width-to-height ratio. Specifies that if the parent container or viewport size changes, the browser will adjust the widget's dimensions to maintain the specified width-to-height ratio. MSDN web docs

Last updated