Skip to main content
A block is a React component that Devias can place on a screen. A module uses blocks to add its own card to Home or its own section to a record page without changing the studio.

Surfaces of a block

A block lists the surfaces it can appear on.

Declare the block in the manifest

Every block has an id. The module’s manifest declares it with defineBlock and lists its surfaces. The manifest side lets layouts refer to the block and lets agents see what exists before any React loads. A block can set requires to certain objects, so that it shows only in workspaces that have them, such as once the module that owns them is installed.