> For the complete documentation index, see [llms.txt](https://docs.heisenware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.heisenware.com/reference/widgets/trigger/icon.md).

# Icon

Font Awesome icon in any fill color, optionally on a background; clicks trigger or switch pages

<figure><img src="https://3495989837-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE5Ketpww1s7TauSAJrJ8%2Fuploads%2Fgit-blob-2f9302d493e830f34a6f2a229cf2f066b8db34f8%2Fwidget-icon.png?alt=media" alt="Six round icons for plant areas: lines, ovens, energy, alarms, maintenance and warehouse, each in its own color" width="688"><figcaption></figcaption></figure>

An icon shows a symbol from the Font Awesome set, in any color, alone or on a round or square background. Use icons to label areas and states at a glance, or make them clickable: a click runs your logic, switches to a page or runs an App action, just like a button does.

**Good for:** navigation tiles, area and machine symbols, compact tool bars on tablets and phones.

## Properties

The widget's General tab lists these properties under Receives and Emits. Drop an executor's output, input or trigger onto a row to link it. An example also fills an unlinked widget as demo data in the App Builder.

{% tabs %}
{% tab title="Emits" %}
**`onClick`** (fires a trigger): Triggers the linked executor when the icon is clicked.

**`onClick`** (switches to a page): Switches to the linked page when the icon is clicked.

**`onClick`** (runs an App action): Runs the linked app action (logout, reload, back) when the icon is clicked.
{% endtab %}
{% endtabs %}

## Settings

Double-click the widget in the Page editor to open its settings, grouped in these tabs.

<details>

<summary>Look &#x26; feel</summary>

* **Icon**: The Font Awesome icon: 'fa-solid fa-square-check' (as a button's icon), 'solid/square-check' or 'square-check'; the icon style picks the weight, a brand icon is 'fa-brands fa-github'.
* **Icon style**: Font Awesome weight of the icon's strokes, from solid to thin, or the two-tone duotone; brand icons ignore it. Choices: Solid, Regular, Light, Thin, Duotone.
* **Icon color**: Color of the icon; auto keeps the theme's accent color, empty paints it black.
* **Enable background**: Draws a colored surface behind the icon and shrinks the icon to the icon size fraction; off, the icon fills its box.
* **Surface style**: Elevation raises the surface with a shadow (see elevation); outlined draws a border instead (see border). Choices: Elevation, Outlined. Only when Enable background is on.
* **Background color**: Color of the surface, lightened by the background lightening; auto or empty takes the icon color. Only when Enable background is on.
* **Background lightening**: The fraction (0.1–1) by which to lighten the background color. Range 0.1 to 1. Only when Enable background is on.
* **Corner radius**: Rounding of the surface's corners, from square to circle; theme keeps the theme's radius. Choices: Theme, Square, Low, Medium, Circle. Only when Enable background is on.
* **Icon size**: Size of the icon as a fraction of its box, 0.1 to 1. Range 0.1 to 1. Only when Enable background is on.

</details>

## Good to know

* Drag a page or an App action from the Pages and actions explorer onto it to run it on click.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.heisenware.com/reference/widgets/trigger/icon.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
