Container Data Types

Alpha: Editor React Components are currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.

Containers allow Wix users to add and arrange inner elements within your component. This is essential for building flexible, compositional components like sections, boxes, cards, or any component that should contain other elements.

Note: Specify these additional configurations under a container field in your data item.

selectorstringRequired

CSS selector targeting the DOM element that acts as the container. Must match an element in your component template.


containerTypestringRequired

The type of container behavior: simple or template.


simpleSimpleContainer

Configuration for general-purpose containers where users freely add elements. Use when containerType is simple.


template

Configuration for repeating containers connected with the SDK. Use when containerType is template. Requires SDK integration.

Note: All containers require selector and containerType. Then choose 1 container type configuration based on your containerType value.

Example

A card with constrained styling and vertical resize:

In the manifest:

Copy

In the component:

Copy

See also

Last updated: 7 May 2026

Did this help?