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

Icon

Overview

Icon Overview

Specs

Tokens

Token Description
displayName Sets the display name of the component shown in the structure panel.
name Specifies the icon to display from the icon library.
thresholdConfig Configures conditional display rules that change the icon’s appearance based on data context.
size Sets the size of the icon (e.g., "sm" or "lg").
iconOnHover Defines an alternate icon shown when hovering over the component.
widthAuto Controls whether the icon automatically sizes to its content or fills the container.
showTooltip Determines whether a tooltip appears when hovering over the icon.
tooltipTextTranslations Sets the tooltip text with support for multiple languages.
tooltipPlacement Defines the position of the tooltip (top, bottom, left, right).
tooltipDelay Sets the delay in ms before the tooltip appears on hover.
paddingClass Configures spacing around the icon with CSS classes.
events Configures the events the component can trigger or respond to.
ON_ICON_CLICK (Events) Triggered when the icon is clicked.
ON_INIT (Events) Triggered when the component is initialized.
ON_DESTROY (Events) Triggered when the component is removed from the DOM.
visibilityPolicySetId Defines visibility based on specified policy sets.
displayConditions Defines rules for when the component is shown or hidden.
id Sets a unique identifier for programmatic access.
dataTestId Defines the testing hook ID for automated tests.
enableAsHotspot Enables the component as a guided tour hotspot.
guidedTourHotSpotTitle Sets the translated title for the guided tour hotspot.
guidedTourHotSpotDescription Sets the translated description for the guided tour hotspot.

Structure

(Configured in General Properties)

(Configured in Visual Properties)

(Configured in Visibility)

Tooltip

(Configured in Visual Properties)

Tootlip configurations

Styling

(Configured in Visual Properties)

Visual Properties tab

Actions & Variants

(Configured in Events)

Authorization

(Configured in Authorization)

Links:

Guidelines

Usage

Sizing & Layout

States & Feedback

Tooltips

Data-Driven / Conditional Behavior

Visibility & Authorization

Content & Localization

Dos & Don’ts

Do Don’t Article setting(s)
Do provide a localized tooltip using tooltipTextTranslations when the icon meaning may be ambiguous. Don’t rely on a tooltip as the only place to explain a critical action. showTooltip, tooltipTextTranslations
Do use iconOnHover to give immediate hover feedback on interactive icons. Don’t change the icon on hover if the icon is not clickable. iconOnHover
Do configure a default rule in thresholdConfig to handle unexpected data. Don’t leave gaps in conditions that cause the icon to flicker between states. thresholdConfig
Do choose tooltipPlacement that avoids obscuring nearby UI. Don’t cover the icon itself with the tooltip if an alternate side is available. tooltipPlacement
Do use paddingClass to enlarge the tap target area visually and comfortably. Don’t cram the icon against neighboring elements without padding. paddingClass
Do hide icons the user must not see using visibilityPolicySetId or displayConditions. Don’t show unauthorized or contextually irrelevant icons. visibilityPolicySetId, displayConditions

Accessibility