# AX - Icon

## Overview

**AX - Icon** is an Experience Cloud component that displays icons from the Salesforce Lightning Design System icon library on Experience Sites pages.

Use it to add visual indicators for actions, status, categories, or navigation elements throughout your portal. Configure the icon, size, color, and styling in Experience Builder to match your portal's design.

Perfect for status indicators, action buttons, section headers, navigation elements, or anywhere your portal needs visual symbols to improve scannability and recognition.

## Settings

{% tabs %}
{% tab title="🎛️ Properties" %}

| Name                     | Description                                                          | Usage                                                                                                               |
| ------------------------ | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| **Icon Name**            | Select the name of the icon to be displayed.                         | Choose an icon that clearly represents and complements the content or action it is associated with.                 |
| **Icon Size**            | Set the size of the icon.                                            | Choose a size that ensures the icon is clearly visible and harmoniously integrated within the page layout.          |
| **Variant**              | Choose a predefined styling variant for the icon.                    | Select a variant that aligns with the contextual meaning or action of the icon, enhancing its visual communication. |
| **Title**                | Define a title for the icon.                                         | Provide a title that gives users additional context or information when they hover over the icon.                   |
| **Alternative Text**     | Provide alternative text for the icon.                               | Enter descriptive text that conveys the meaning or action of the icon, ensuring accessibility and enhancing SEO.    |
| **Horizontal Alignment** | Determine the horizontal alignment of the icon within its container. | Align the icon to ensure it is positioned optimally within the content layout, maintaining visual balance and flow. |
| {% endtab %}             |                                                                      |                                                                                                                     |

{% tab title="🎨 Styling" %}

| **Background Color**         | Set the background color for the icon.                            | Choose a background color that ensures the icon stands out and is visually distinct within the page design.                             |
| ---------------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| **Foreground Color**         | Set the color of the icon itself.                                 | Choose a color that ensures the icon is clearly visible against the background and complements the overall design.                      |
| **Foreground Color Utility** | Apply utility classes to modify the foreground color of the icon. | Utilize CSS utility classes to easily apply predefined color styles to the icon, ensuring consistency and ease of design customization. |
| **Border Radius**            | Define the corner radius of the icon's border.                    | Adjust the border radius to create icons with rounded corners, enhancing the stylistic presentation of the icons.                       |
| {% endtab %}                 |                                                                   |                                                                                                                                         |
| {% endtabs %}                |                                                                   |                                                                                                                                         |
