# Icon

![](/files/-M-RXS3v8D8BWfWQ1rDQ)

### 🎨 Styles

* **Typography**
  * **Font size**: size of the icon that appears on the icon element.
* **Appearance**
  * **Text color**: select icon color in the icon element using the [color picker](/apphive-documentacion/reference/estilos/color-picker.md).
* **Margins**
  * **Margin**: you can specify how much space you want between the edges of the icon element with the screen or another elements.

### ⚙ Properties

* **Generic properties**
  * **Control name:** you can add a name to the icon this could be the way to identify this element about another elements.
  * **Enable** [**skeleton loaders**](/apphive-documentacion/reference/estilos/skeleton-loader.md)**:** this tool provides an indication to the user that something is coming but not yet available on the icon element.
  * **Control is hidden:** hide the icon element from the screen.

{% hint style="info" %}
The [**skeleton loader**](/apphive-documentacion/reference/estilos/skeleton-loader.md) component provides a user with a visual indicator that content is coming/loading. This is better received than traditional full-screen loaders.
{% endhint %}

* **Specific Properties**
  * **Icon picker:** select a custom icon for the icon element.
  * **Enable icon badge**: They allow icons display important data to the user in realtime. They might show how many users are online, a notification count, or the number of unread messages.
  * **Background color:** select the background color using the [color picker](/apphive-documentacion/reference/estilos/color-picker.md).
  * **Text color**: select icon color in the icon element using the [color picker](/apphive-documentacion/reference/estilos/color-picker.md).
  * **Badge text:** add \*\*\*\*any combination of letters, numbers, and symbols to the icon badge.

### \*\*\*\*👆 Events

* **On press:** the on press event provide the capability to capture tapping gestures and display feedback when this gesture is recognized.

### 📝 Writable Properties

* **Badge text**
* **Style color**


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/apphive-documentacion/compilaciones-y-cargas-a-tiendas/elementos-de-interfaz/multimedia/icon.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
