(this page was created automatically. In case of formatting issues, please visit the official Wiki Page)

Button

Overview

Button component Overview

Specs

Tokens

Token Description
displayName Display name shown in the structure panel.
contextJsonSchema Defines schema for context data used with the button.
textTranslations Sets the button text with multi-language support.
size Determines button size: medium, large, or extra_large.
type Specifies visual style: primary, secondary, or ghost.
showTooltip Controls whether tooltip is displayed on hover.
tooltipTextTranslations Tooltip text with multi-language support.
iconRight Icon displayed on the right side of button text.
iconLeft Icon displayed on the left side of button text.
tooltipPlacement Position of tooltip: top, bottom, left, right.
tooltipDelay Delay in ms before tooltip appears.
widthAuto Adjusts width automatically to content if true.
heightAuto Adjusts height automatically to content if true.
paddingClass Configures spacing around button via CSS classes.
events Configures component events.
ON_BUTTON_CLICK Event triggered when button is clicked.
ON_GLOBAL_PARAMETERS_CHANGE Event triggered when global parameters affecting the button change.
ON_INIT Event triggered when the button is initialized.
ON_DESTROY Event triggered when the button is removed from DOM.
authorizationDisable Defines policy set for enabling or disabling button.
visibilityPolicySetId Defines policy set for button visibility.
displayConditions Rules for showing or hiding button.
id Unique identifier for programmatic access.
dataTestId Testing hook ID for automated tests.
enableAsHotspot Enables button as hotspot for guided tours.
guidedTourHotSpotTitle Title for guided tour hotspot, with translations.
guidedTourHotSpotDescription Description for guided tour hotspot, with translations.

Structure

Button styling overview

(Configured in General Properties)

(Configured in Visibility Properties)

Tooltip

(Configured in Visual Properties)

Button tooltip example

Styling

(Configured in Visual Properties)

Button Visual Properties tab

Actions & Variants

(Configured in Events)

(Configured in Visual Properties)

Tests

(Configured in Testing Hooks)

Authorization

(Configured in Authorization)

Guidelines

Hierarchy

Guidelines for button hierachy visualized

Placement

Guidelines on button placement

Language

Do's and Don'ts for button

Accessibility

[NO DATA AVAILABLE]