Design system studio

Note: Availability of this feature depends on your license. For more information about your license, reach out to your Nintex Account Manager.

Important: API v1 components cannot be styled using a design system in the Design system studio. Instead, they are styled using Themes.

Visual styles for pages in Nintex Apps are managed using design systems.

To customize the styling of an app, you must first create a design system. Once created, the design system is configured in the Design system studio, where you define and edit the variables, style variants, and visual rules that control the appearance of elements across your app.

A design system serves as a central file for managing an app’s styling configuration. It contains reusable style definitions that are applied to visual elements across the app.

Access the Design systems page

  • Go to Apps > Design Systems.

Create a design system

  1. On the Design systems page, click Create design system.

  2. Type a Name.

  3. Select an existing design system from the Clone styles from... drop-down.

    Note: Nintex Apps base design system, Aurora, is selected by default.

  4. Click Create.

    The newly created design system opens in the Design system studio. For more information, see Manage the Design system studio.

Manage design systems

On the Design systems page, you can:

Design system concepts

Design systems consist of two elements, variables and style variants. Variables are saved values for design properties, while style variants are saved style configurations for individual components and subcomponents that typically use variables for most of their properties.

Variables

When an app builder adds any component to their page in the Page Designer, the component uses a set of default Nintex Apps styles—called variables.

Similar to CSS style rules, variables are global style declarations (separated by categories), based on the general purpose of the variable (Color, Typography, etc.). Variables are used, along with component-specific property configurations, to create component style variants.

Every component uses a different combination of variables depending on the component's function and purpose, so not every variable will be used in a component.

Component styles are customized in the Design system studio to either:

  • Change the default style variables
  • Create new style variables

Once a variable is created, it can then be applied to a component style variant.

Style variants in components and subcomponents

Components are made up of components and subcomponents, and both are all listed under the Components header.

Selecting a component in the Design system studio will display all the configuration properties associated with the selected item. Most configuration properties require the use of variables as values, while some use property-specific values. If a component has any component dependencies, they will be listed under the Nested Components tab found in the properties pane.

Even if global variables have been configured, the unique properties of components require the creation of variables (and style variant ) to use in the component. It's normal for a workflow in the Design system studio to include a lot of interplay between variable creation and component configuration.

Note: To effectively style component elements—those components and subcomponents that comprise a specific component go to the component/subcomponent's own style variant.

Manage the Design system studio

When you edit a design system, you're in the Design system studio. This workspace is made up of three primary areas:

  • The left panel is for navigation. Here you select whether you want to view Variables or Components. After choosing a tab, this panel lists the categories of variables or the types of components/subcomponents available to edit. Selecting a variable or component/subcomponent here updates the center area.
  • The center area displays the variables or style variants available to edit, reflecting whichever is selected in the left navigation pane. Clicking a variable or style variant will open its properties in the right panel.
  • The right panel is for setting properties for the selected variable or style variant, similar to the Properties pane in the Page Designer.

Above these three areas are Save and Cancel, as well as undo Undo and redo Redo.

Note: The Design system studio's undo-redo history is stored in browser memory. Because of this, it does not have a defined limit, and it persists as long as you don't navigate to a new page. It's even possible to save your changes, and then undo them to a state before the save, as long as you do not refresh the page.

Variables

Style variants for components and subcomponents

Preview With...:

Some components have a property called Preview With, which provides the option to view a customized component with common configurations available within the Page Designer. This property is key to understanding how custom styles will apply to an app in runtime.

Create style variants within the Design system studio components

There are three ways to create new style variants for component elements:

Once the new variant is created, you can name and configure it. Configure new style variants by choosing between component-specific property options listed in the property panel. In some cases, you can also pass in Variables.

Delete a style variant

  1. Select the style variant to delete.
  2. From the dots-vertical menu, click delete Remove.

Apply a design system to a Nintex Apps page

  1. Create a design system in the Design system studio.

  2. Navigate to the Nintex Apps page that contains the component you want to style.

  3. Click on the Page header in the canvas.

  4. In the Properties pane, under Design system:

    • Select the name of the desired design system from the dropdown.

Important: Selecting your design system on Page properties is critical. If you skip this step, your style variants will not be loaded into the page.

Apply Style Variants to Nintex Apps Components

Style variants are applied within the Page Designer by clicking a component on the canvas and navigating to its Styles properties. Style variants, and other style properties, can then be adjusted:

  1. In the Properties pane, select the Styles tab.
  2. Select your style variant in the Style Variant dropdown.

Use Style Variants for Conditional Styling

Though style variants can be applied within the Page Designer at the component level, they are also used as parameters for conditional styling logic.

Conditional styling allows builders to define a set of criteria that, when met, will change the visual design of a component or component element by applying a new style variant.

For more about configuring style conditions, see the conditional styling documentation.

Naming

Once a new design system, variable, or variant is created, you can name it. Give each style element a name that provides context and makes the purpose of the element distinct from others in the same category.

For example: consider two Button style variants, one used only for Form submission, the other to refresh a Form component. Names like "Form button 1" and "Form Button 2" don't incorporate function, and aren't useful for providing context. Names that do incorporate function, like "Form Button - Submit" and "Form Button - Refresh" are clear and purposeful. Someone unfamiliar with the design system would immediately know where those variants should be used and what they're used for.

There are two main naming conventions, each with pros and cons.