Creating Content Types
A Content Type (also called a Content Model) defines the fields available when editing a page or component. You create one whenever you need a new kind of page layout or a new component type that isn’t covered by the built-in models.
Creating a component content type
Use this when you want a new reusable block — e.g. a TestimonialCard, PricingTable, or VideoEmbed.
-
Open Content Models
In the sidebar, click Content Models.
-
Create a new model
Click New Content Model. Fill in:
Field Value Name Human-readable label, e.g. Testimonial CardAPI ID PascalCase identifier, e.g. TestimonialCardType Component -
Add fields
Click Add Field for each piece of data the component needs:
Field name Type Notes quoterichtext The testimonial body authortext Author name roletext Author role/company avatarimage Author photo -
Save
Click Save. The content type is now available when adding components to any page in this space.
Creating a page content type
Use this when you need a new page layout with different zones — e.g. a LandingPage with a hero zone and a content zone.
-
Create a new model with Type set to
Page. -
Add zones using the
componentsfield type. Each zone becomes a slot editors can fill:Field name: heroZone → Type: componentsField name: contentZone → Type: componentsField name: footerZone → Type: components -
Save. The new page type appears in the New Page dialog.
Field types reference
| Type | Description | Example use |
|---|---|---|
text | Single-line string | Title, label |
textarea | Multi-line plain text | Short description |
richtext | Formatted text (Tiptap) | Body copy |
number | Integer or decimal | Limit, count, price |
boolean | True/false | isHighlighted, showBorder |
select | Dropdown with fixed options | Layout variant (left, right, center) |
color | Hex color picker | Background color |
image | Image asset from Media | Hero image, avatar |
button | Label + URL + variant | CTA button |
components | Nested component slot | Container, grid children |
Editing and duplicating models
- Edit fields — click the model name to open its field editor. You can add, reorder, or remove fields at any time.
- Duplicate — use the ⋯ menu → Duplicate to copy a model. Useful for creating layout variants.
- Delete — only possible if no content entries use this model.
Using the CLI
Content models can also be created and imported programmatically. See the CLI reference for details.