Components

Create reusable field groups (components) that can be embedded in multiple Content Types.

Components are reusable groups of fields. Once defined, a component can be embedded into any Content Type using the component or multiComponent field type.

Use components to avoid duplicating field definitions across multiple content types (e.g., a SEO block, an Address block, a Pricing block).

Creating a Component

1

Open Content Types

Navigate to Content Types in the sidebar.

2

Switch to the Components tab

At the top of the Content Types page, click the Components tab.

3

Click New Component

Click + New Component and give it a name and icon.

4

Add fields to the component

Define fields for the component the same way you add fields to a content type. See Fields.

5

Save

Click Save. The component is now available for use in any content type.

Using a Component in a Content Type

1

Open a Content Type

Go to Content Types, open a content type, and switch to the Structure tab.

2

Add a component field

Click + Add Field and select either:

  • component — embeds a single instance of the component
  • multiComponent — allows multiple instances (a list of components)
3

Select the component

In the field editor, choose the component you want to embed from the dropdown.

Viewing a Component in the Editor

When editing a document with a component field, a Component Viewer sheet displays the embedded component data inline.

Component viewer sheet

Editing a Component Definition

Changes to a component definition are immediately reflected everywhere the component is used. Be careful when removing or renaming fields in a component.