![]()
| 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. |
(Configured in General Properties)
(Configured in Visual Properties)
(Configured in Visibility)
(Configured in Visual Properties)
![]()
(Configured in Visual Properties)
![]()
(Configured in Events)
(Configured in Authorization)
displayConditions).size: "sm" | "lg". (Exact pixel mapping is defined elsewhere in the design system.)paddingClass to avoid “floating” icons.paddingClass or a clickable wrapper element (if applicable in your layout).name.iconOnHover.displayConditions to hide instead of show a disabled icon.thresholdConfig or with nearby text.showTooltip (on/off), tooltipTextTranslations (localized text),tooltipPlacement (top/bottom/left/right),tooltipDelay (ms before showing).ON_ICON_CLICK (navigate, run workflow, etc.).ON_INIT for setup and ON_DESTROY for cleanup where needed.thresholdConfig to map data to icon/appearance (e.g., status: "complete" → check; "overdue" → warning).displayConditions to hide irrelevant or inapplicable icons entirely.visibilityPolicySetId to show actions only to authorized users/roles.tooltipTextTranslations (supports template expressions).displayName for structure-panel clarity (e.g., “Status Indicator Icon”).paddingClass or a wrapper element to accommodate different inputs.| Do | Don’t | Relevant settings / notes |
|---|---|---|
Use the component’s size tokens and spacing: set size: "sm" | "lg" and add padding via paddingClass to align with grid. |
Hard-code pixel sizes or ignore spacing tokens so icons “float” off-grid. | size, paddingClass |
Provide a clear hover affordance by swapping to a related icon with iconOnHover. |
Change the meaning of the action on hover (hover should not mislead or repurpose the action). | iconOnHover |
| Ensure a visible keyboard focus state on the interactive wrapper (e.g., button) that contains the Icon. | Rely on hover-only feedback or omit focus indication entirely. | Wrapper control (outside Icon) |
Use thresholdConfig to swap icons (e.g., warning/check) to convey status. |
Rely on color alone to indicate state/meaning. | thresholdConfig |
| Keep tooltips short and supplemental, configured with placement and delay appropriate to context. | Put critical instructions only in a tooltip or use long tooltip text. | showTooltip, tooltipTextTranslations, tooltipPlacement, tooltipDelay |
Bind the primary action to ON_ICON_CLICK and make the outcome obvious (navigate, open dialog, run workflow). |
Require unusual gestures (e.g., double-click) or bury logic in non-obvious places. | events.ON_ICON_CLICK |
Hide irrelevant/inapplicable icons entirely using displayConditions. |
Show disabled “clutter” that users can’t act on. | displayConditions |
Restrict sensitive actions to the right audiences via visibilityPolicySetId. |
Expose privileged actions to all users. | visibilityPolicySetId |
Expand the tap/click target with paddingClass or a suitable wrapper to meet hit-area expectations. |
Leave tiny hit areas that are easy to miss, especially on touch. | paddingClass (+ wrapper) |
| Keep inline action icons consistently placed; move overflow actions into an overflow pattern and hide extras conditionally. | Cram many icons into tight spaces or place them inconsistently across similar views. | Pattern-level + displayConditions |
| Ensure adequate contrast via your theme/container so icons are legible in varied environments. | Use low-contrast icons that disappear against the background. | Theme/container styles (outside Icon) |
Localize tooltip copy using tooltipTextTranslations and keep it action-aligned. |
Hard-code tooltip text in a single language. | tooltipTextTranslations |
| Name the component meaningfully for structure clarity (e.g., “Status Indicator Icon”). | Leave generic names that obscure the icon’s purpose. | displayName |