Workshop layouts allow builders to configure how the user interface of a module is organized. The main layout components of a Workshop module (the header, pages, sections, and overlays) are described in detail in the sections below. Layout elements may be edited by selecting the Layout sidebar panel and selecting the element to configure, or by selecting the element in the main module view.
The header in a Workshop module serves as a persistent toolbar for module-wide titles, tabs, and buttons. When creating a new module, the module header will be visible at the top of the screen:
When the header is selected, the plus (+) signs allow widgets such as tabs and button groups to be added to the header, making them easily accessible across all pages of a Workshop module. If the module header is hidden, it may be selected with the Header option that appears at the top of the list found in the Layout sidebar panel.
Configuration options provided for a module header include:
When configured, a horizontal header with a custom image can look like the following example:
You also have the option to configure a vertical header, which will be displayed on the left side of your module. Once you enable the vertical orientation, several additional settings will become available for customization:
When enabling collapsed headers, the Button Group and Tabs widgets will also have collapsed states that will only show the icons; the text will be dropped in this state. All other widgets will be hidden when a module header is collapsed.
The example below shows a configured vertical module header:
And its collapsed state:
Pages allow module builders to construct complex, multi-screen applications in Workshop. Each page is a blank canvas on which a module builder can configure a unique set of widgets to support the targeted workflow. Only the module header will persist between pages to provide an overarching toolbar for a given module.
In the example module header shown above, each tab in the Tabs widget could be configured to select a page, with each page configured with a different user workflow.
Pages can be added from within the Layout panel on the left side of the screen. To add a page, open the Layout panel, then select the plus (+) sign on the top. Next, select the New page option, as shown below:
Once added, the new page will be auto-selected within the Layout panel and you can begin configuring its contents. The below screenshot showcases the default, unconfigured page that is initialized with two vertically divided sections beneath the module-wide header:
You can also explore other layout templates using the layout template picker at the bottom of the page. You can preview what each layout would look like by hovering over its icon. If you would like to use a template, you can select that icon; the page layout will update to the one you selected.
When editing your application, pages are listed in the order in which they are created. Page order as seen in edit view has no impact on module behavior.
For more detail on how to add content to pages by adding and configuring sections, review the sections documentation below.
To navigate users between the pages of a module, a builder can use a Layout event. This can be triggered from within widgets such as the Button Group or Tabs.
Sections are the components of each page and overlay that allow module builders to subdivide the user interface. Each section is configured to contain one or more widgets, or a layout, which itself may contain one or more sections.
To access available layout options for a section, choose Set layout on any empty section in your module and examine the Layout options as shown below:
The currently supported Layout options include:
Cut, copy, and paste options are available for whole sections and individual widgets within a module, providing tools for a faster module building experience.
When pasting sections or widgets, builders have two options for managing the new section’s or widget’s input variables:
Overlays may be used when certain sections should only appear when contextually relevant in a workflow. Overlays will appear as a layer on top of the selected page.
Similarly to pages, you can add overlays rom within the Layout panel on the left side of the screen. To add an overlay, select the (+) sign on the top. Next, select the New overlay option, as shown below:
Currently, Workshop supports two overlay types: drawers and modals. These types are explained in detail below.
Drawers are overlays that slide out from the side of the screen. Available configuration options for drawer overlays include the following:
Modals are overlays that appear in the center of the screen. Size is the only available configuration option specific to modal overlays.
Workshop offers control over various style formatting settings to give application builders more customizability to the design and feel of their modules. Configuration options include header formatting, background colors, border styles, and more. These options are available at the page, section, and widget levels.
Header formatting options can be added when the header is enabled on a section. There are three available:
Background colors can be added to pages, sections, and widgets to help visually segment parts of a module. There are five shades available for both light mode and dark mode, and a transparent option.
Border styles can be configured on sections and widgets, giving the appearance of different elevation levels within a module. There are four options available:
Padding can be configured for pages and sections to set a consistent amount of padding or space around all child components within. Padding adds space between components to provide separation and breathability to the module. There are five options available:
Inner section style: Optionally select one of various pre-defined section styles to be applied to all children sections: