Skip to content

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.

  1. Open Content Models

    In the sidebar, click Content Models.

  2. Create a new model

    Click New Content Model. Fill in:

    FieldValue
    NameHuman-readable label, e.g. Testimonial Card
    API IDPascalCase identifier, e.g. TestimonialCard
    TypeComponent
  3. Add fields

    Click Add Field for each piece of data the component needs:

    Field nameTypeNotes
    quoterichtextThe testimonial body
    authortextAuthor name
    roletextAuthor role/company
    avatarimageAuthor photo
  4. 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.

  1. Create a new model with Type set to Page.

  2. Add zones using the components field type. Each zone becomes a slot editors can fill:

    Field name: heroZone → Type: components
    Field name: contentZone → Type: components
    Field name: footerZone → Type: components
  3. Save. The new page type appears in the New Page dialog.

Field types reference

TypeDescriptionExample use
textSingle-line stringTitle, label
textareaMulti-line plain textShort description
richtextFormatted text (Tiptap)Body copy
numberInteger or decimalLimit, count, price
booleanTrue/falseisHighlighted, showBorder
selectDropdown with fixed optionsLayout variant (left, right, center)
colorHex color pickerBackground color
imageImage asset from MediaHero image, avatar
buttonLabel + URL + variantCTA button
componentsNested component slotContainer, 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.