Container

A slot in your component where the Wix user drops child components in the editor. Your code renders whatever the editor composes into the slot.

Component

In your component code, import the Container type from @wix/editor-react-types:

Copy

At runtime it's one of two shapes:

Copy

A container arrives either as a ReactNode you render as children, or a function you call to render, depending on how the slot is configured in the manifest.

Usage

The editor composes a container's content, so your code only consumes it. There is nothing to produce.

Manifest

In your manifest, declare the field with the container dataType:

Copy

A slot is composed by the Wix user in the editor rather than passed as a value, so a container cannot be a context item or a function parameter or return.

Declaration

Last updated: 2 November 2026

Did this help?