Custom layouts & themes

Learn how to enable, and customise your lab layouts and themes. Custom layouts help you create a tailored lab experience for your product.

This feature, alongside the new lab look is currently in beta. Please reach out to your Instruqt representative to learn how to enable this feature.

What are Custom Layouts

Custom layouts allow you to customise the tab panels of a lab for an entire play, or customise the layout of each individual challenge for a more tailored experience.

In the screen shot above, we show a lab with custom layouts enabled. Users entering the lab will all have this layout by default.

How to enable custom layouts

You can enable custom layouts and theming in both the web application and with our CLI. Enable the Lab V2 flag on a track level, to experiment and validate without having to convert all your labs, for a smoother migration story. Note that enabling custom layouts will also enable our new lab styling.

You can enable the early access Lab V2 toggle. You can find the switch on the right side of the track dashboard, under "Layout & Theming".

How to configure custom layouts

The Web UI will give you a visual layout editor, while the CLI will use serialised output that uses Dockview under the hood, so you can refer to their docs for the layout, if you prefer to manage your labs this way.

  1. After enabling the Lab V2 beta, you can create your custom layouts from the same Layout & Theming widget on the sidebar of a track dashboard.

  2. Click the Edit button next to the Layout label.

Choosing a layout for all challenges in your track.

  1. If you want to have the same, simple layout for your lab, simply enable on the Use track layout for all challenges toggle on the layout landing page. You now have useful default layouts that should easily fit most use cases.

  2. Save changes, and you're done! Your lab should now be using the default layout for each of your challenges.

Customising layouts for individual challenges.

  1. Select the challenge you want to customise and drag-and-drop tabs to your desired outcome.

  2. Save your changes, and you're done! The challenge should now be reflecting the specific layout you have designed for the challenge.

You can customise each challenge to best fit your product and how you design your content.

Themes

ModernDarkOriginal
  1. Enable Lab V2 for the track.

  2. In the Layout & Theming widget select between the ModernDark theme and the Original colour scheme.

  3. The track will now use the selected theme for all plays.

Last updated