1. Layouts
  2. Blocks

Layouts

Blocks

Blocks are individual containers of functionality on a stub. You can configure which blocks are accessible on a stub through the template's layout.

Structure of a block

Every block in the template's layout follows the following structure:

loading...

Highlighted blocks

A block can be highlighted by setting params.highlighted to true, which will give the block a glowing blue outline.

Example config of a highlighted header block:

loading...

Examples

The resulting header block will look like this: example highlighted header block

Conditions

Blocks can be hidden or displayed using conditions. If all conditions pass, the block will be displayed.

Example config of an AI Debug block that will only be visible on draft stubs.

loading...

Available block types

The available block types are: