Add fields to a component
A component is made up of a set of fields. Fields allow you to break up large blobs of content into smaller chunks, making content more flexible and reusable.
Fields comprise a type, format and a field editor. The supported types, formats and editors are outlined in the following article.
Add a field
With the component open for editing:
- To add a field to your component, select a field type by pressing on one of the buttons in the Toolbox. The field will be added to the bottom of your component. It will be active and indicated by a green border.
Set a field name
The settings for a field will be displayed in the right hand panel when the field is active.
Give the field a name that clearly identifies its content. The field name is used to generate a sanitised field ID that a developer will use with the Delivery API. The field name will be visible to an author when they are creating an entry.
Read through our field settings article to get a better understanding of each setting.
Reordering fields in a component
You can change the order of fields in a component by using the up and down buttons.
Was this article helpful?