The component for redistributing empty space inside a horizontal stack collection.



Always spacer for this object.


An object that defines vertical alignment with another component.


An object that defines an animation to be applied to the component.

The none value is used for conditional design elements. Adding it here has no effect.


An object that defines behavior for a component, like Parallax or Springy.

The none value is used for conditional design elements. Adding it here has no effect.


An instance or array of component properties that can be applied conditionally, and the conditions that cause them to be applied.


A Boolean value that determines whether the component is hidden.


An optional unique identifier for this component. If used, this identifier must be unique across the entire document. You will need an identifier for your component if you want to anchor other components to it.


An inline ComponentLayout object that contains layout information, or a string reference to a ComponentLayout object that is defined at the top level of the document.

The width of the spacer is determined automatically based on any remaining horizontal space, and the height is that of the parent container. Any top or bottom margins specified on a spacer component's layout decreases the height of the layout within the parent container.

All properties of ComponentLayout object are supported except minimumHeight and minimumWidth.


An inline ComponentStyle object that defines the appearance of this component, or a string reference to a ComponentStyle object that is defined at the top level of the document.

The none value is used for conditional design elements. Adding it here has no effect.


Use the FlexibleSpacer object to redistribute the extra space between child components in a HorizontalStackDisplay. Otherwise, if you have two child components in a horizontal stack that don’t use up all of the space, the extra space is always on the right side. The FlexibleSpacer object does not have an intrinsic size, but is sized to fit any remaining width, and to fit the height of the parent container. The object is ignored when used outside of the HorizontalStackDisplay context.


{ "components": [ { "role": "container", "components": [ { "role": "image", "URL": "bundle://summer.jpg", "layout": { "minimumWidth": "60cw", "maximumWidth": "60cw" } }, { "role": "spacer" }, { "role": "image", "URL": "bundle://winter.jpg", "layout": { "minimumWidth": "35cw", "maximumWidth": "35cw" } } ], "contentDisplay": { "type": "horizontal_stack" } } ]}


Inherits From

See Also

Article Structure

Nesting Components in an Article

Use container components to create the component hierarchies you need for special article designs.

Adding a Scene to a Chapter or a Section Header

Add a scene to your article to create special effects.

Creating an Article Link

Link to an article by using the article-linking container component.

Displaying Components Side By Side

Configure a side-by-side, horizontal arrangement of components for your article.

object Header

The component for defining the top area of an article, chapter, or section.

object Container

Properties shared by all container types.

object Section

The component for organizing an article into sections.

object Chapter

The component for organizing an article into chapters.

object Aside

The component for setting apart content that is not directly related to the article, such as promotional content.

object CollectionDisplay

An object used in any container component type to define how the collection of child components is presented.

object HorizontalStackDisplay

The object for displaying components side by side in a Container component.

object Divider

The component for defining a horizontal line to visually divide parts of your article.

object ArticleLink

The container component for creating a link to an article.

type SupportedArticleIdentifier

The patterns supported for article identifiers in UUID format.

type PublisherArticleIdentifier

The identifier provided by the publisher.

object ArticleTitle

The component for displaying an article title in the ArticleLink component.

object ArticleThumbnail

The component for displaying a thumbnail image with an article link.

object LinkButton

The component for opening a link in a button.