1 How Can I Design Rich User Interfaces?
User interfaces are built via the combination of a drag-and-drop interface with a WYSIWYG page editor. Our Mendix Studio and Mendix Studio Pro environments can be used with the Atlas UI framework, which is a fully responsive, open-source, and extensible design language that facilitates a design-thinking approach to building user interfaces.
Common page patterns such as searchable lists, data views, dashboards, and wizards are made available as starter templates that help accelerate development and ensure a consistent, standard user interface across multiple devices.
For speed and flexibility in building rich interfaces, Mendix uses the concepts described via this diagram:
1.1 Navigation Layouts
When building a Mendix app, the first thing you do is choose a navigation layout. These layouts are the frame within which your dynamic pages are housed, and they provide a consistent structure throughout your app.
Navigation layouts are built using the platform layout editor, which allows you to create the layout patterns needed for your pages.
Layouts use specific controls—such as layout grids, content placeholders, scrolling containers, sliding menus bars, and snippets—to centrally define the required page layout patterns that will be consumed when building the your application’s UI.
This video shows how easy it is to select a reusable navigation layout for your app project in Mendix Studio:
1.2 Page Templates
Page templates are pre-designed collections of building blocks that can be used as-is or enhanced with custom building blocks and widgets.
This video demonstrates how you can find the best page template for your app project:
1.3 Building Blocks
Building blocks are single-purpose UI elements comprised of multiple widgets and styling. Multiple building blocks are usually used together on one page. You can drag a building block into any of the respective mobile, tablet, or responsive pages to implement common UI patterns, which substantially speeds up the development of custom pages.
This video presents how to use building blocks with your app’s layout:
Widgets are small user interface elements (for example, alerts, buttons, charts) used to enhance existing building blocks.
1.5 Design Properties
You can further customize widgets by changing their design properties. Colors, text, and many other variables can be altered to customize widgets on a case-by-case basis if the styling or placement are not quite right. Theme developers can implement their own (company) design properties so that other users can easily change the look and feel of widgets to match the company’s brand.
Here is an example of how easy it is to change the design properties of a button in Mendix Studio:
2 What UI Elements Does Mendix Provide Out of the Box?
Mendix provides a growing list of out-of-the-box widgets. This is a selection of the most common ones:
- Menu widgets – allows the end-user to navigate through the application (for example, menu bar, navigation tree)
- Data widgets – central to building forms in Mendix so that the end-user can view and edit data in the application (for example, data view, data grid, also common input widgets like text box and radio button)
- Layout widgets – form the backbone of the interface and are typically used on layouts (for example, layout container, title)
- Common widgets – commonly found on any page, layout, and snippet (for example, label, image)
- Container widgets – can contain other widgets (for example, table, group box)
- Input widgets – make it possible to show and edit the values of attributes and associations (for example, text box, date picker)
- File widgets – allow you to work with files, including images stored in files
- Button widgets – these buttons trigger actions (for example, save button, close page button, microflow button)
- Visualization widgets – more graphical widgets (for example, chart, map)
New widgets are built all the time by both the core Mendix development team and our community of developers using the standard available tooling. You can find available widgets in the Mendix App Store and download them to use in your application.
3 How Can I Customize the Look & Feel of My Apps?
The Mendix front-end uses the Atlas UI framework to render responsive pages or native mobile pages. The framework is based on a default theme that be fully customized. With the Theme Customizer tool, you can easily upload a logo that is used to determine your brand’s colors. The various colors, fonts, and size settings can be quickly configured and previewed.
Next to this, Mendix uses Sass to define the styling. The platform contains a configuration file with many variables that can be used to configure and tweak the theme. The configuration is set up so that it can be easily changed and extended by providing custom Sass files. It is also possible to directly extend the styling with custom CSS. The styling can also be shared, as discussed in the next section about creating consistent user experiences.
For more information, see the collection of Atlas UI how-to’s in the Mendix Documentation.
4 How Can I Create a Consistent User Experience Across My Apps?
Mendix apps are based on a theme that can be published to your Private App Store or embedded in a company starter app for easy reuse across apps. For every app, it is possible to extend the default theme so that you can fine tune the app according to your needs.
5 How Does Mendix Support Reuse of Design Patterns & Elements?
Atlas UI promotes the reuse of elements and layouts by facilitating a layered and componentized approach to application design. What is more, Atlas UI enables your UX designers to extend out-of-the-box components, assemble their own building blocks, create custom widgets, and override default design properties. New and enhanced design elements are automatically propagated throughout all the applications in which each element is used.
The three main types of reuse are described below.
Snippets are fragments of page design that contain design elements, widgets, and data. Snippets are built and managed centrally at the model level, and they can be reused across multiple pages within an application.
This video demonstrates how to use a snippet call widget in your app project:
5.2 Layouts, Navigation & Page Templates
Layouts are wireframe page designs that combine widgets, navigation placeholders, and branding into a centralized repository of reusable components. Layouts can be designed to support specific form factors in order to create a common user experience across devices. Once created, the layouts are applied to application pages at design time.
5.3 Building Blocks
Building blocks are optimized for reuse in Mendix Studio. For more details, see the section Building Blocks above.