tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > StackProps

StackProps interface

Signature:

export interface StackProps extends BlockProps

Extends: BlockProps

Properties

Property Modifiers Type Description
direction   StackDirection The direction in which items are going to stack.
horizontalAlignment?   StackAlignment (Optional) How items should be aligned horizontally.
inline?   boolean (Optional) Render as an inline-level element or as a block-level one?
itemGap   SpacingUnit The spacing between items in the stack.
verticalAlignment?   StackAlignment (Optional) How items should be aligned vertically.