> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/experience-cloud/experience-components/ax-accordion-section.md).

# AX - Accordion Section

## Overview

**AX - Accordion Section** is an Experience Cloud component that creates individual collapsible sections within the [AX - Accordion](/experience-cloud/experience-components/ax-accordion.md) component on Experience Sites pages.

Use it inside an Accordion to organize content into separate expandable areas. Each section acts as a container where you can drag and drop any Experience Cloud component—text, images, forms, lists, or custom components—to build the section's content.

Perfect for structuring FAQs, step-by-step instructions, feature comparisons, or any accordion content that needs multiple distinct sections with different layouts.

{% hint style="danger" %}
This component [leverages slots](/experience-cloud/getting-started/learning-the-basics.md#understanding-slots) for advanced customization, making it ideal for LWR sites. Aura sites do not support this level of customization.
{% endhint %}

## Configuration

### Properties

**Title** is where you enter the name for the section. After the title, there's a content area where you can place any other component.

**Variant** sets the section style: `base` or `shaded`.

**Open Icon Name** and **Close Icon Name** set the icons shown when the section is expanded and collapsed, respectively.

**Icon Position** places the expand/collapse icon on the `left` or `right`. **Icon Size** sets its size: `xx-small`, `x-small`, `small`, `medium`, or `large`.

**Hide Icon** hides the expand/collapse icon.

Beyond the content area, the header supports custom title content and header actions through slots.

<figure><img src="https://2929066058-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDL6JQuZArjJeQvX2ot4y%2Fuploads%2Fgit-blob-c6d557930bc420c25789ad6cafaee44b8d87d8a6%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Styling

Customize the section's appearance from the **Style** section of the property editor.

{% tabs %}
{% tab title="Container" %}
Styles the section container.

* **Margin / Padding:** Set the outer and inner spacing.
* **Background Color:** Set the container background.
* **Border Color / Size / Style / Radius:** Control the container border.
  {% endtab %}

{% tab title="Header" %}
Styles the section header.

* **Margin / Padding:** Set the outer and inner spacing.
* **Background Color:** Set the header background.
* **Border Color / Size / Style / Radius:** Control the header border.
  {% endtab %}

{% tab title="Content" %}
Styles the collapsible body.

* **Margin / Padding:** Set the outer and inner spacing.
* **Background Color:** Set the content background.
* **Border Color / Size / Style / Radius:** Control the content border.
  {% endtab %}

{% tab title="Title" %}
Styles the header title text.

* **Color:** Set the title color.
* **Font Size / Font Style / Font Weight:** Control the title typography.
  {% endtab %}

{% tab title="Icon" %}
Styles the expand/collapse icon.

* **Background Color:** Set the color behind the icon.
* **Foreground Color / Foreground Color Hover:** Set the icon color for the default and hover states.
  {% endtab %}

{% tab title="Icon Border" %}
Customizes the icon's border.

* **Color / Size / Style / Radius:** Control the icon border appearance.
  {% endtab %}
  {% endtabs %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.avonnicomponents.com/experience-cloud/experience-components/ax-accordion-section.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
