Skip to content

Components

A Component is a reusable content block. Components are placed into page zones to build up a page. Each component has a type (defined by a Content Model) and a set of field values.

Reusable vs inline

Components in Alokai CMS are reusable — they have their own identity, versioning, and publish status, separate from the pages they appear on. This means:

  • The same component can be placed on multiple pages
  • Publishing a component update reflects everywhere it’s used
  • Components have their own version history

Component status

Components follow the same status lifecycle as pages: draft, published, scheduled, archived.

When a page is delivered, it includes the published version of each component. Draft changes to a component are not visible to end users until published.

Adding components to a page

In the page editor, click + Add in any zone. A picker appears showing all available component types. Select a type, fill in the fields, and save.

Reordering

Drag the handle on the left of any component to reorder it within its zone.

Container components

Some components (Grid, Scrollable) can contain other components as children. These are defined with a components field type in their content model.

Publishing in bulk

From the Content list, select multiple components and use Publish Selected to publish them all at once.