---
title: "Combine content from multiple components"
slug: "combine-content-from-multiple-components-1064962"
abstract: "How to add a Container component to your SXA pages to combine content from multiple components, and how to change the data source for these components in one go."
---
# Combine content from multiple components

> [!note]
> Use the Experience Editor for the steps described in this topic.

The Container component is a container for other components. Adding multiple renderings to a Container rendering helps you:

- Structure your page content.
- Combine content from different fields that originate in the same page or data source.
- Change the data source for multiple components at the same time.

To add a Container component and to change the data source:

1. Open the toolbox.
2. From the **Page Structure** section, drag and drop the **Container** component on the placeholder you want to add it to.
3. Add components to the Container component. For example, **Title** and **Page Content**. By default, the components take the data source from the current page.
4. To change the data source for the components in the Container component, in the floating toolbar of the Container component, click **More**, and then **Edit component properties**.

    ![Edit the component properties from the floating toolbar](https://doc.sitecore.com/api/markdown-image/xp/en/users/sxa/105/sitecore-experience-accelerator/images/SXA-container.png)

5. In the **Control properties** dialog box, in the **General** section, in the **Data Source** field, click **Browse**.
6. You can now select a different data source for the components in the Container component.

    ![Select the Associated Content dialog box.](https://doc.sitecore.com/api/markdown-image/xp/en/users/sxa/105/sitecore-experience-accelerator/images/SXA-change-datasource-dialog.PNG)

    ![Example of how different data source content is loaded](https://doc.sitecore.com/api/markdown-image/xp/en/users/sxa/105/sitecore-experience-accelerator/images/SXA-change-datasource.PNG)