Skip to content

Blocks

A template screen is a stack of blocks. There are nine.

BlockWhat it renders
HeadingDisplay type, sized from your app’s typography tokens
TextA paragraph of body copy
IconOne icon, from the same set the navigation uses
ImageAn uploaded image
SpacerVertical space
DividerA hairline rule
ButtonA tappable button with an action
AwardA myCred award display
ReviewsA reviews display

Heading and Text take their sizes from Typography and Layout, so a template stays consistent with the rest of the app rather than becoming its own island.

A button does one of four things:

ActionWhat happens
NoneNothing. Useful while composing
BackReturns to the previous screen
FeatureOpens another placed feature in this app
LinkOpens a URL carried by the block

Feature is the one to understand. The button points at a feature you placed in navigation, so a template can be a front door to the rest of the app. Because the target is a property of the app rather than the template, the same template used in two apps can send members to two different places.

Adding and configuring blocks on a template screen

Each block has the same actions:

  • Name block — a label for your own use while composing. It is not rendered.
  • Copy and Paste — including between screens.
  • Duplicate — copy and paste in one step.
  • Lock and Unlock — stop a block being moved or edited by accident. Useful once a screen is finished.
  • Delete.

Naming blocks is worth the moment it takes on any screen with more than a few. Ten unnamed Text blocks are hard to work with a week later.

Lead with one Heading. A screen with three competing headings has none.

Use Spacer rather than empty Text blocks. An empty paragraph is a block that looks like a mistake to the next person editing.

Lock what is finished. Most accidental edits happen to the part of a screen you were not thinking about.

SymptomCauseFix
A button does nothingIts action is None, or the feature it points at was removedSet the action, or point it somewhere that exists
A block will not moveIt is lockedUnlock it
Heading sizes look wrongThey follow the app’s typography tokensChange the tokens in Appearance
An Award or Reviews block is emptyIts backing plugin is not active on the siteActivate myCred or the reviews plugin

Using templates in an app.