Open Container
The Open Container component allows for the creation of a container on a page. A container is a device for adding components to a page.
Containers are often useful when grouping components together for the purpose of sizing them or providing a background behind the components in the container.
How it Works
The container is a layout device that allows for the grouping of components within a page. The use of containers allows for control in laying out the page.
All components must be put into a Layout Container component. Every page has at least one container component built-in to its template where components can be added. This container is called the Layout Container.
There are four kinds of container components available in AEM, the Layout Container, Open Container, Form Container, and Theme-able Container.
How to Use
Container Component
Within the layout containers, it is possible to add any an Open Container component. The most common uses for a container component within a page are:
- Add background color or image
- Group components to resize them together
This text is within an Open Container with a green background.