Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

...

  • Buttons are clickable items used to perform an action

...

Steps for configuration:

  • Go to Component

  • Search the button component drag and drop the button component in the layout

...

Configurations of a button component

...

  • Label: Button label is used to give the identity for a button which display on UI

  • Variant: Users can set various types of variants for the button which is displayed in different color formats according to their actions

  • Button event invokes workflow associated with it, which actually performs actions such as save, new, cancel, etc

...

Attributes

Label

  • The label is a short description displayed on the button.

...

Variants

  • Allows to show Buttons in different color formats

  • The Button component comes in five variants

    • Neutral: Neutral is the default variant of the button Button which is displayed in white color

    • Brand: Brand is a blue buttonButton, used to draw attention to the primary action on a page

    • Outline-brand: Outline-brand is similar to the brand variant but the color is used for the label and border only, not the button Button color

    • Destructive: Destructive is a red button Button used to warn users that their the action has a negative effect

    • Success: Success is a green button Button used to indicate a successful action

...

Left Icon

...

  • Displays the icon on the left side of the button

...

  • the Button Label

  • You can also remove the icon by clickng on “x“ which appears on the icon

...

Right Icon

...

  • Displays the icon on the right side of the button

...

  • Button Label

  • You can also remove the icon by clickng on “x“ which appears on the icon

...

Click Action

...

  • You can perform a click action on the

...

  • Button

  • e.g. if you set the success action for the

...

  • Button click event, a success message will be displayed

  • Following

...

  • is an example of how to perform a Click Action

Example

  • Go to “Events” Events

...

  • Go to “click actions” Search “Toaster” click>search and select toaster Toaster from the Action drop-down

...

  • Give the “success” Click gear icon

...

  • Select the Success action

...

  • Click on the "save" Save button

  • Save the layout or and run the layout and click on the "preview"

  • Click on Preview

  • After clicking on the button, a “success message” Success Message will be displayed

...

Include Page
Common configurations for components at the layout
Common configurations for components at the layout