# Design Panel

The Design panel consists of two tabs: Design and Theme. Design is the place where you can find all of your design's assets like pages, CSS, SASS, fonts, images and JS code. Theme is where you can customize Bootstrap's CSS variables in a central place.

Design Panel

# Pages

The first group in your Design tab is Pages. This holds all the HTML files that your design consists of. To create an additional page, just right click the Pages group and choose the New > Page option.

Pages Group

Bootstrap Studio allows you to define multiple pages in your designs and makes it easy to add links between your pages.

# Importing HTML Files

You can import externally created pages by dropping one or more HTML files onto the application window. The app will scan them for assets and turn the HTML into regular Bootstrap components, allowing you to edit the page visually.

Import HTML

Check out our HTML import guide for more.

# Hiding Pages

If your design consists of many pages but you wish to prevent some of them from exporting, you can hit the Hide in Export entry in the pages' context menu. They will appear as inactive with a pale color in the group.

Hidden Page

# CSS & SASS

For those of you who prefer to write code, you can organize your design's styles in CSS and SASS files. Just right click the Styles group and choose the type of file you wish to create from the New > menu.

Styles Group

For SASS, Bootstrap Studio has a bundled SASS compiler, so you can freely edit code and get automatic compilation without having to set up any external tools.

# Include CSS Only on Some Pages

You can click the Visibility.. entry in a css file's context menu to choose on which pages it is shown. This way you can limit the styles to affect only the intended pages of your design.

CSS Visibility

# Remove Unused CSS

Another powerful Bootstrap Studio feature is the ability to remove unused CSS. This can help you clean up dead code that is no longer necessary. Just right click the Styles group and choose the Cleanup.. option.

Remove Unused CSS

# JavaScript

Bootstrap Studio also offers excellent JavaScript support with a built-in Sublime Text-like editor and helpful quality-of-life features for managing your existing JS code.

To start, you need to create a new file in the Design tab. Right click the JavaScript group and select the type of file you want from the New > menu. Alternatively, you can add an existing JS file with the Import JS option.

JavaScript Group

JavaScript code is not executed when working on designs within the app. To see it in action, you can use the Preview feature and test how it works in the browser.

Note

Framework requirements like the bootstrap JS and jQuery (for older bootstrap versions) are automatically included and are not shown in the Design panel. You can manage these dependencies from the Bootstrap Settings instead.

# Fonts

You can use Google Fonts and imported web fonts in your designs. To review your fonts and install new ones, right click the Fonts group and choose the Manage Fonts option. This will open the Google Font dialog and let you choose from a large number of font families and styles.

Read our web fonts documentation for more.

# Images

The Images group shows all image files that you have imported in your design.

Images Group

There are two ways in which you can use an image in your design.

  1. Drag and drop an image from the Design tab directly in your design. This will create an Image component automatically.
  2. Drag and drop a blank Image component from the Component panel. Then, double click the blank image and choose one of the image files of your design from the dialog. An alternative way is to edit the Image component's properties and set its src attribute to the name of the image file.

# Remove Unused Images

Similarly to the CSS cleanup, the app can also remove unused images. Right click the Images group and choose the Cleanup.. option to initiate the check.

Remove Unused Images

TIP

If you prefer to edit your CSS, JS, Images or other assets in your editor of choice (e.g. Sublime Text for code and Photoshop for images), you can try Bootstrap Studio's external editor support. Just right click the file in the Design tab, and choose your editor in the Open In menu.

# Optimizing Images

Bootstrap Studio comes with an advanced image optimization tool, which helps you compress and reduce the size of your graphics and change the type. This will speed up your site's load time and make it lighter on mobile devices. This is great for users, your Page Speed score and can also improve your SEO.

To access the tool, just right click an image in your design and choose Optimize...

# Theme Panel

The Theme panel is located on the bottom right next to the Design panel. It lists many Bootstrap CSS variables and gives you an easy way to customize them, in effect changing the color and style of your entire Bootstrap theme from a single place.

This panel also lets you change variables individually for Light and Dark mode.

Theme Panel