Button Block
A call-to-action button: a label, a required link and a horizontal alignment.

Extends

id
The block's permanent identity inside its document.
inherited
revision
Output only: CID of the last Change that modified this block.
optional · inherited
type
Block type tag, always `Button`.
Buttonoptional
text
Label shown on the button.
optional
link
Where the button goes — an `hm://` or web URL.
attributes
Button settings and parent-layout attributes.
optional
childrenType
How this block lays out its children — a children type such as `Unordered` or `Grid`.
optional
columnCount
Number of columns the children occupy when `childrenType` is `Grid`.
optional
name
Alternative label for the button.
optional
alignment
Horizontal position of the button in its column.
optional

other fields:

A button block is a call-to-action button. text is the label, and link (required) is where it goes: an hm:// or web URL, see URLs. Attributes: name (an alternative label), alignment (a button alignment: flex-start, center or flex-end), and the parent-layout pair childrenType and columnCount.

See also

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime