If you would like to upgrade to a newer long-term support version of Studio Pro, see Moving from Mendix Studio Pro 8 to 9.

Native Mobile Styling

Last modified: September 1, 2024

Introduction

This reference guide will contextualize the style elements Mendix uses in native mobile apps, as well as explain the classes and style properties of Mendix’s widgets. To learn the basics of native styling, you can consult How to Implement Native Mobile Styling and then follow How to Style Your Mendix Native Mobile App.

Mendix apps use layouts to dictate how pages can look and function. For native mobile apps specifically, you can use a native layout to easily integrate navigation and settings optimized for native functionality. For more information on layouts, see Layout.

To keep widgets responsive, Mendix apps use Flexbox. Using Flexbox, a component can set the layout of its child components. This allows your app to retain a consistent layout across multiple form factors. For more information on layout, see React Native’s Flexbox documentation.

You can use the height and width properties to set a widget component’s dimensions. For more information on size, see React Native’s Height and Width documentation.

Style Objects

A widget is composed of various elements, and each can be styled individually. You can customize your widgets using style objects. A style object is a JavaScript object with a set of attributes specific for each widget. Some of the attributes reuse properties of other elements, such as React Native’s ViewStyle, TextStyle, ImageStyle, and Colors elements. You can consult the following property sets for more information on styling properties as you customize your app:

  • ViewStyle – React Native’s View Style property set helps you alter borders, opacity, and other general aspects of your app (the view style property set also contains layout, shadow, and transform properties)
  • TextStyle – React Native’s Text property set will allow you to style text – using these props you can control text’s font, selection status, and more (the text property set also contains layout properties)
  • ImageStyle – React Native’s Image property set will allow you to style images from network sources, a local library, and temporary local images – using these properties you can alter an image’s size, border, and more, while the image property set also contains layout properties (the resizeMode value repeat is not supported)
  • Colors – React Native’s Color Reference property set will allow you to alter colors – you can customize colors using red-green-blue notation, change hue or saturation, and more

Class Names

Each style object has a name, referred to as the object’s class name. You can create new custom classes, and then apply styling to a single widget by setting a class name onto a widget class property. Here you can see the code for creating a customClassName:

// A custom styling class
export const customClassName = {
	container: {
		// ViewStyle properties
		paddingTop: 5
	},
	text: {
		// TextStyle properties
		fontWeight: "bold"
	}
}

That custom class can be easily accessed in Mendix Studio Pro:

custom class

When you want to apply styling to one instance of a widget, you can extend that widget’s default class. Each widget's default class is named in the Data Widgets section below. The example below shows how to extend a default class:

export const ActionButton = {
	container: {
		// ViewStyle properties
		borderWidth: 3
	},
	caption: {
		// TextStyle properties
		fontSize: 20
	},
};

Add-on widgets each have their own default styling classes based on their full widget IDs (found in {widget name}.xml), and can be created by replacing the dots with underscores. The example below shows a pluggable widget’s default styling class:

export const com_mendix_widget_native_badge_Badge = (Badge = {
	caption: {
		// TextStyle properties
		color: "#00FF00",
	}
});

For more information on creating your own classes, see the Creating Your Own Classes section in Style Your Mendix Native Mobile App. That document also shows how to use custom classes as design properties.

Data Widgets

Data widgets are essential to many Mendix apps. These widgets will allow your users to create and handle data objects, and can be customized to fit your app’s needs.

Data View Widget

The data view widget shows the contents of one data object. For more information about this widget, see Data View.This widget has no user interface, so it does not support any styling.

List View Widget

The list view shows a list of objects arranged vertically or horizontally. For more information about this widget, see List View. This is not the default list view, but how a list view widget could look in an app:

list view

This is how the widget’s code is structured:

<container>
	<listItem>content</listItem>
	<listItem>content</listItem>
</container>

The widget’s style properties are as follows:

ElementStyle PropertiesDescription
containerAll ViewStyle properties
containernumColumnsThis is the number of columns that the list should render (defaults to 1).
listItemAll ViewStyle properties
listItemrippleColorThis is the color of the ripple on Android, and will be applied only when the item has an on click action set, otherwise it will be ignored (defaults to rgba(0, 0, 0, 0.2)).
listItemunderlayColorThis is the color while pressing the item on iOS, and will be applied only when the item has an on click action set, otherwise it will be ignored and defaulted to opacity only.
listItemDisabledSame properties as listItemOverrides listItem styles if the item has an on click action and the action cannot be executed or is disabled during action.

The default class to style all list views is named ListView.

Common Widgets

Common widgets are used in almost all app pages. Because of their ubiquity, learning to style common widgets will make a large difference for your apps.

Text

The text widget shows text which can optionally contain parameters. For more information on these widgets, see Text Widgets. The widget’s style properties are as follows:

<container>
	<text>content</text>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
textThis has all TextStyle properties.

The default class to style all texts is named Text.

Image

The image widget can be used to show a predefined image on a page, layout, or snippet. For more information on these widgets, see Image Widgets. The widget’s style properties are as follows:

<container>
	<image/>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerrippleColorThis is the color of the ripple on Android, and will be applied only when the container has an on click action set, otherwise it will be ignored (defaults to rgba(0, 0, 0, 0.2)).
containerunderlayColorThis is the color while pressing the container on iOS, and will be applied only when the container has an on click action set, otherwise it will be ignored and defaulted to opacity only.
containerDisabledSame properties as containerOverrides container styles if the image has an on click action and the action cannot be executed or is disabled during action.
imageThis has all ImageStyle properties.
imageDisabledSame properties as imageOverrides image styles if the image has an on click action and the action cannot be executed or is disabled during action.

The default class to style all static image styles is named Image. Please note that images loaded from the model are styled with ImageViewer as described in the Image Viewer section below.

Page Title

The page title widget shows the title of the page on which it is used. This can be the title defined on the page itself, or the override title defined when showing a page. For more information on this widget, consult Page Title. The widget’s style properties are as follows:

<container>
	<text>Page Title</text>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
textThis has all TextStyle properties.

The default class to style all page titles is named PageTitle.

Layout Grid

The layout grid widget can be used to structure the content on your page. You are able to create rows and columns which you can configure to have fixed or dynamic sizing.

The widget’s style properties are divided over several objects: LayoutGrid, row, noGuttersRow, col, colFitToContent, col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, and noGutters.

col is being applied when the Width property on a column is "Auto-fill".

colFitToContent is being applied when the Width property on a column is "Auto-fit content".

col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12 are applied when the Width on a column property is "Manual". Only one class is applied based on the related Size property.

noGuttersRow (Row) and noGutters (Column) are being applied when the Spacing between columns property on a row is set to "No".

The main LayoutGrid:

<container></container>

The row, noGuttersRow:

<container></container>

The col, colFitToContent, col1, col2, col3, col4, col5, col6, col7, col8, col9, col10, col11, col12, noGutters:

<container></container>

The resulting DOM looks like this:

<container>
	<row>
		<col></col>
	</row>
</container>

Container Widgets

Container widgets are a set of tools that allow you to provide structure for your page’s content. There is also a specific widget called container widget detailed below. For more information on these widgets, see Container Widgets.

Container

A container widget can be used to style or hide a group of widgets. This widget does not have a visual representation by default, though styling can be used to add spacing. The widget’s style properties are as follows:

<container>
	content
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerrippleColorThis is the color of the ripple on Android, and will be applied only when the container has an on click action set, otherwise it will be ignored (defaults to rgba(0, 0, 0, 0.2)).
containerunderlayColorThis is the color while pressing the container on iOS, and will be applied only when the container has an on click action set, otherwise it will be ignored and defaulted to opacity only.
containerDisabledSame properties as containerThis overrides container styles if the there is an on click action set and the action cannot be executed or is disabled during action.

The default class to style all page titles is named Container.

Tab Container

Tab containers are used to show information categorized into multiple tab pages. Tab containers can help display information which exceeds a device’s screen space. This is how a default tab container widget could look in an app:

tab container

This is how the widget’s code is structured:

<container>
	<tabBar>
		<tab>
			<activeLabel>PAGE 1</activeLabel>
			<badgeContainer><badgeCaption /></badgeContainer>
		</tab>
		<tab>
			<label>PAGE 2</label>
		</tab>
		<indicator>
	<tabBar>
	content
</container>

The widget’s style properties are as follows:

ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
tabBarThis has all ViewStyle properties.
tabBarbouncesThis is a Boolean value indicating whether the tab bar bounces when scrolling.
tabBarpressColorThis is a color for material ripple (Android only).
tabBarpressOpacityThis is opacity for a pressed tab.
tabBarscrollEnabledThis is a Boolean value enabling scrollable tabs.
tabBartabBarPositionThis is the position of the tab bar in the tab view, and possible values are top and bottom (defaults to top).
indicatorThis has all ViewStyle properties.
tabThis has all ViewStyle properties.
labelThis has all TextStyle properties.
activeLabelThis has all TextStyle properties.
badgeContainerThis has all ViewStyle properties.
badgeCaptionThis has all TextStyle properties.

The default class to style all tab containers is named TabContainer.

Scroll Container

A scroll container is used to make enable scrolling for a part of a page. This widget does not have a visual representation by default, though styling can be used to add spacing. The widget’s style properties are as follows:

<container>
	scrollable content
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.

The default class to style all scroll containers is named ScrollContainer.

Input Widgets

Input widgets are typically used to show data to the user and allow them to edit data. For more information on these widgets, see Input Widgets.

Text Box

A text box can be used to display or edit a textual value. This is how a text box widget with validation feedback and a plain text box widget could look in an app:

text box

The widget’s style properties are structured as follows:

<container>
	<label>Text box</label>
	<inputError>Content invalid</inputError>
	<validationMessage>Input validation feedback message</validationMessage>
</container>
<container>
	<label>Text box</label>
	<input>Valid text</input>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerDisabledSame properties as containerOverrides container styles if the text box is non-editable.
inputThis has all TextStyle properties.
inputautoCapitalizeThis automatically capitalizes certain characters when the user types:

characters: capitalizes all characters
words: capitalizes the first letter of each word
sentences: capitalizes the first letter of each sentence (default)
none: capitalizes nothing
inputplaceholderTextColorThis is the text color of the placeholder string.
inputselectionColorThis is the highlight and cursor color of the text input.
inputunderlineColorAndroidThis is the color of the input underline.
inputFocusedSame properties as inputOverrides input styles if the text box is focused (with Studio Pro 8.15).
inputErrorThis has the same properties as inputOverrides input styles if there are validation errors.
inputDisabledSame properties as inputOverrides input styles if the text box is non-editable.
labelThis has all TextStyle properties
labelnumberOfLinesThis is the maximum number of lines to wrap the label text. If the text is any longer, it will be cut off with an ellipsis (defaults to 1).
labelDisabledSame properties as labelOverrides label styles if the text box is non-editable.
validationMessageThis has all TextStyle properties.

The default class to style all text boxes is named TextBox.

Text Area

A text box can be used to display or edit a textual value with multiple lines. This widget supports the same style properties and structure as the Text Box widget above. This is how a text area widget with validation feedback and a plain text area widget could look in an app:

text area

The default class to style all text areas is named TextArea.

A drop-down is an input widget that can be used to display and edit enumeration attributes.

Since Studio Pro 8.11, the drop-down widget has a new style property called useUniformDesign: boolean which enables the uniform design in both platforms.

The widget’s render hierarchy is as follows for non-uniform:

<container>
	<label>Drop down enumeration</label>
	<value>Content invalid</value>
	<validationMessage>Validation feedback enumeration</validationMessage>
</container>
<picker>
	<pickerBackdropIOS/>
	<pickerTopIOS><button>close</button></pickerTopIOS>
	<pickerIOS>
		<pickerItemIOS>First</pickerItemIOS>
		<pickerItemIOS>Second</pickerItemIOS>
		<pickerItemIOS>Third</pickerItemIOS>
	</pickerIOS>
</picker>

The widget’s render hierarchy is as follows for uniform:

<container>
	<label>Drop down enumeration</label>
    <valueContainer>
        <value>First</value>
	<icon/>
    </valueContainer>
	<validationMessage>Validation feedback enumeration</validationMessage>
</container>
<menuWrapper>
	<selectedItemContainer>
		<selectedItem>First</selectedItem>    <= Selected
	</selectedItemContainer>
    <itemContainer>
        <item>Second</item>
    </itemContainer>
    <itemContainer>
        <item>Third</item>
    </itemContainer>
</menuWrapper>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerDisabledSame properties as containerOverrides container styles if the drop-down is non-editable.
labelThis has all TextStyle properties.
labelnumberOfLinesThe maximum number of lines to wrap the label text. If the text is any longer it will be cut off with an ellipsis. Defaults to 1.
labelDisabledSame properties as labelOverrides label styles if the drop-down is non-editable.
pickerIOSThis has all ViewStyle properties.
pickerBackdropIOSThis has all ViewStyle properties.
pickerTopIOSThis has all ViewStyle properties.
validationMessageThis has all TextStyle properties.Styles the validation message (with Studio Pro 8.11).
valueThis has all TextStyle propertiesStyles the value button which toggle's dropdown and PickerIOS items. If placeholder is selected, placeholderTextColor will be applied
useUniformDesignbooleanEnables new uniformDesign (with Studio Pro 8.11).
iconStyleThis has all TextStyle propertiesStyles the arrow down icon next to the value (with Studio Pro 8.15).
valueplaceholderTextColor: stringIf placeholder is selected, placeholderTextColor will be applied (with Studio Pro 8.11).
valueFocusedSame properties as valueOverrides value styles if the dropdown box is focused. (with Studio Pro 8.15).
valueContainerThis has all ViewStyle properties & rippleColorStyles the value button's container (with Studio Pro 8.11).
valueContainerFocusedSame properties as valueContainerOverrides valueContainer styles if the dropdown box is focused (with Studio Pro 8.15).
menuWrapperThis has all ViewStyle propertiesStyles the wrapper view surrounding all the menu items (with Studio Pro 8.11).
itemContainerThis has all ViewStyle propertiesStyles all the item containers in dropdown menu including selected item container (with Studio Pro 8.11).
itemThis has all TextStyle propertiesStyles all the items in dropdown menu including selected item (with Studio Pro 8.11).
selectedItemThis has all TextStyle propertiesStyles the selected item in dropdown menu (with Studio Pro 8.11).
selectedItemContainerThis has all ViewStyle propertiesStyles the selected item's container in dropdown menu (with Studio Pro 8.11).

Checkbox

A checkbox input widget can be used to display and edit Boolean attributes and is rendered as a switch. This is how a checkbox widget could look in an app:

checkbox

The widget’s style properties structure is as follows:

<container>
	<label>Boolean switch</label>
	<inputError>
		<trackColorOff/>
		<thumbColorOff/>
	</inputError>
	<validationMessage>Feedback switch input</validationMessage>
</container>
<container>
	<label>Valid boolean</label>
	<input>
		<trackColorOn/>
		<thumbColorOn/>
	</input>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerDisabledSame properties as containerOverrides container styles if the text box is non-editable.
inputThis has all TextStyle properties.
inputtrackColorOnCustom color for the switch track when turned on.
inputtrackColorOffCustom color for the switch track when turned off.
inputthumbColorOnColor of the foreground switch grip when turned on. If this is set on iOS, the switch grip will lose its drop shadow.
inputthumbColorOffColor of the foreground switch grip when turned off. If this is set on iOS, the switch grip will lose its drop shadow.
inputErrorThis has the same properties as inputOverrides input styles if there are validation errors.
inputDisabledThis has the same properties as inputOverrides input styles if the checkbox is non-editable.
labelThis has all TextStyle properties
labelnumberOfLinesThe maximum number of lines to wrap the label text. If the text is any longer it will be cut off with an ellipsis. Defaults to 1.
labelDisabledSame properties as labelOverrides label styles if the checkbox is non-editable.
validationMessageThis has all TextStyle properties.

The default class to style all checkbox inputs is named Checkbox.

Date Picker

A date picker is an input widget that can be used to display and edit date or time attributes. This is how a date picker widget could look in an app:

date picker

The widget’s style properties are as follows:

<container>
	<label>Drop down enumeration</label>
	<value>Content invalid</value>
	<validationMessage>Validation feedback enumeration</validationMessage>
	<pickerBackdropIOS>iOS picker modal shadow container
		<pickerIOS>iOS picker
			<pickerTopIOS>iOS picker modal header</pickerTopIOS>
		</pickerIOS>
	</pickerBackdropIOS>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerDisabledSame properties as containerOverrides container styles if the date picker is non-editable.
labelThis has all TextStyle properties.
labelnumberOfLinesThis is the maximum number of lines to wrap the label text. If the text is any longer, it will be cut off with an ellipsis (defaults to 1.)
labelDisabledSame properties as labelOverrides label styles if the date picker is non-editable.
valueThis has all TextStyle properties
valuerippleColorThis is the color of the ripple on Android, and will be applied only when the date picker is pressed (defaults to rgba(0, 0, 0, 0.2)).
valueunderlayColorThis is the color while pressing the date picker on iOS, if not set it will be defaulted to opacity only.
valueDisabledThis has all TextStyle propertiesOverrides value styles if the date picker is non-editable.
placeholderThis has all TextStyle properties
placeholderDisabledThis has all TextStyle propertiesOverrides placeholder styles if the date picker is non-editable.
validationMessageThis has all TextStyle properties
pickerBackdropIOSThis has all ViewStyle properties
pickerIOSThis has all ViewStyle properties
pickerIOScolor
pickerTopIOSThis has all ViewStyle properties

The default class to style all date picker inputs is named DatePicker.

Reference selector

The reference selector is an input widget that can be used to display and edit associations. For more information on this widget, see Reference Selector. This widget supports the same style properties and structure as the drop-down widget above.

The default class to style all reference selector inputs is named ReferenceSelector.

File Widgets

File widgets help your user app manage images and other files. For more information on these widgets, see File Widgets.

Image Viewer

An image viewer can be used to display an image. This widget supports the same style properties and structure as the Image widget above.

The default class to style all image viewers is named ImageViewer.

Button Widgets

Button widgets help your user perform actions. For more information about these widgets, see Button Widgets.

Action Button

An action button can perform various actions such as calling a nanoflow, opening a page.

action button

The widget’s style properties are as follows:

<container>
	<icon/><caption>primary</caption>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerrippleColorThis is the color of the ripple on Android (defaults to rgba(0, 0, 0, 0.2)).
containerunderlayColorThis is the color while pressing the button on iOS, if not set it will be defaulted to opacity only.
containerDisabledSame properties as containerOverrides container styles if the button has on click action set and it cannot be executed or is set with Disable during action.
captionThis has all TextStyle properties.
captionDisabledSame properties as captionOverrides caption styles if the button has on click action set and it cannot be executed or is set with Disable during action.
iconThis has all ViewStyle properties.
iconsizeThis is the size of the button icon (defaults to 12).
iconcolorThis is the color of the button icon.
iconDisabledSame properties as iconOverrides icon styles if the button has on click action set and it cannot be executed or is set with Disable during action.

The default class to style all actions buttons is named ActionButton. However, an action button in a header has the default class ActionButtonHeader.

Pages

To style pages, you can add classes to a page or its layout. The status bar and header are part of a page and can also be styled this way.

<page>
	<statusBar/>
	<header/>
	<container>
		application content
	</container>
</page>
ElementStyle PropertiesDescription
statusBarbarStyleThe style of the status bar, which can be either dark-content (black text) or light-content (white text).
statusBarbackgroundColorThe background color of the status bar (Android only).
headercontainerThis has all ViewStyle properties.
headertitleThis has all TextStyle properties.
headerbackButtonTextThis has all TextStyle properties.
headerbackButtonIconThis has all ImageStyle properties.
containerThis has all ViewStyle properties.

The default classes for layouts and pages are Layout and Page.

The navigation consists of the bottom bar (which allows users to navigate within your app) and the progress overlay (which can be used to show a loading indicator while waiting for something to load). This is how navigation could look like in an app:

navigation widget

The navigation style properties are as follows:

<app>
	<page/>
	<bottomBar/>
<app>
<progressOverlay>
	<background>
		<container>
			<activityIndicator/>
			<text/>
		</container>
	</background>
</progressOverlay>
ElementStyle PropertiesDescription
bottomBarcontainerThis has all ViewStyle properties.
bottomBarlabelThis has all TextStyle properties.
bottomBarselectedLabelThis has all TextStyle properties.
bottomBariconThis has all TextStyle properties.
bottomBarselectedIconThis has all ViewStyle properties.
progressOverlaybackgroundThis has all ViewStyle properties.
progressOverlaycontainerThis has all ViewStyle properties.
progressOverlayactivityIndicatorThis is the same as the activity indicator widget.
progressOverlaytextThis has all TextStyle properties.

The default class to style the navigation is named navigationStyle. There is no support for custom class styling on navigation.

Add-On Widgets

Add-on widgets are distributed through the Native Mobile Resources module, and are not shipped with Mendix Studio Pro. Other add-on widgets might also be distributed through app templates, as well as modules importing pages from other projects.

Activity Indicator

The activity indicator widget displays a circular loading indicator. This is how an activity indicator widget could look in an app:

activity indicator

The widget’s style properties are as follows:

<container>
	<indicator/>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
indicatorcolorThis is the color of the indicator (defaults to gray).
indicatorsizePossible values for indicator are large and small (defaults to large).

The default class to style all activity indicators is named com_mendix_widget_native_activityindicator_ActivityIndicator.

App Events

The app events widget allows you to set actions when your app’s network status is changed, and can let you set limits on action calls. This widget has no user interface so does not support any styling.

Background Image

The background image widget enables layering one or more widgets on top of an image.

The widget’s style properties are as follows:

<container>
	<image />
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
imageThis has all ImageStyle properties.
imagesvgColorProperty to set the color of an SVG image (defaults to black).

The default class to style all background images is named com_mendix_widget_native_backgroundimage_BackgroundImage.

Badge

The badge widget displays text or values as a badge. This is how a badge widget could look in an app:

badge

The widget’s style properties are as follows:

<container>
	<caption>New</caption>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
captionThis has all TextStyle properties.

The default class to style all badges is named com_mendix_widget_native_badge_Badge.

Barcode Scanner

The barcode scanner widget allows your app to scan barcodes and QR codes. This widget renders a camera view in a styleable container.

The widget's style properties are as follows:

<container>
        <mask />
<container />
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
maskThis only allows the properties below.
maskcolorProperty to set the color of the mask border indicators (defaults to #62B1F6).
maskwidthProperty to set the width of the barcode reader.
maskheightProperty to set the height of the barcode reader.
maskbackgroundColorProperty to set the background color of the mask (defaults to rgba(0, 0, 0, 0.6)).

The default class to style all barcode scanner widgets is named com_mendix_widget_native_barcodescanner_BarcodeScanner.

Feedback

The feedback widget allows users to give direct feedback. This is how a feedback widget could look in an app:

feedback

The widget’s style properties are as follows:

ElementStyle PropertiesDescription
floatingButtonThis has all ViewStyle properties.
dialogThis has all ViewStyle properties.
titleThis has all TextStyle properties.
textAreaInputThis has all TextStyle properties.
textAreaInputplaceholderTextColorThis is the text color of the placeholder string.
textAreaInputselectionColorThis is the highlight and cursor color of the text input.
textAreaInputunderlineColorAndroidThis is the underline color for Android devices.
textAreaInputnumberOfLinesThis is the height of the text area is based on this number of text lines.
switchLabelThis has all TextStyle properties.
switchInputThis has all TextStyle properties.
switchInputtrackColorOnThis is the custom color for the switch track when turned on.
switchInputtrackColorOffThis is the custom color for the switch track when turned off.
switchInputthumbColorOnThis is the color of the foreground switch grip when turned on. If this is set on iOS, the switch grip will lose its drop shadow.
switchInputthumbColorOffThis is the color of the foreground switch grip when turned off. If this is set on iOS, the switch grip will lose its drop shadow.
buttonborderColorThis is the color of dialog button borders.
buttonborderWidthThis is the width of dialog button borders.
buttoncolorThis is the color of dialog button text.
buttonDisabledcolorThis is the color of dialog button text when disabled.
activityIndicatorcolorThis is the color of the activity indicator that is shown while feedback is being submitted.

The default class to style all feedback widgets is named com_mendix_widget_native_feedback_Feedback.

Floating Action Button

The floating action button widget lets you customize the appearance and functionality of floating action buttons. The widget’s style properties are as follows:

ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
buttonThis has all ViewStyle properties.
buttonsizeThis is the radius of the button.
buttonrippleColorThis is the color of the ripple on Android.
buttonContainerThis has all ViewStyle properties.
buttonIconThis has all ImageStyle properties.
secondaryButtonThis has all ViewStyle properties.
secondaryButtonsizeThis is the radius of the secondary buttons.
secondaryButtonIconThis has all ImageStyle properties.
secondaryButtonCaptionThis has all TextStyle properties.
secondaryButtonCaptionContainerThis has all ViewStyle properties.

The default class to style all floating actions buttons is named com_mendix_widget_native_floatingactionbutton_FloatingActionButton.

Maps

The maps widget supports various digital map providers. This is how a maps widget could look in an app:

maps

The widget’s style properties are as follows:

ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
loadingOverlayThis has all ViewStyle properties.
loadingIndicatorcolorThis is the color of the loading indicator.
markercolorThis is the color of the location marker.
markeropacityThis is the opacity of the location marker.

The default class to style all map widgets is named com_mendix_widget_native_maps_Maps.

Notifications

The notifications widget lets you display a custom message in your app. This widget has no user interface so does not support any styling.

Progress Bar

The progress bar widget shows percentage of progress. This is how a progress bar widget could look in an app:

progress bar

The widget’s style properties are as follows:

<container>
	<bar><fill/></bar>
	<validationMessage/>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
barThis has all ViewStyle properties.
fillbackgroundColorThis is the background color of the filled progress bar portion.
validationMessageThis has all TextStyle properties.

The default class to style all progress bars is named com_mendix_widget_native_progressbar_ProgressBar.

Progress Circle

The progress circle widget displays progress in a circle using positive or negative values. This is how a progress circle widget could look in an app:

progress circle

The widget’s style properties are as follows:

<container>
	<circle><fill/></circle>
	<validationMessage/>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
circlesizeThis is the radius of the progress circle.
circleborderWidthThis is the border width of the progress circle.
circleborderColorThis is the color of the progress circle border.
fillbackgroundColorThis is the color of the circle’s filled portion.
fillwidthThis is the width of the progress circle.
filllineCapRoundedThis determines if the rotating line’s front tip is rounded off or not.
textThis has all TextStyle properties.
validationMessageThis has all TextStyle properties.

The default class to style all progress circles is named com_mendix_widget_native_progresscircle_ProgressCircle.

QR Code

The QR code widget generates a QR code based on a value, which a user can then scan. This is how a QR code widget could look in an app:

qr code

The widget’s style properties are as follows:

<container>
	<qrcode/>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
qrcodesizeThe size of the QR code.
qrcodecolorThe color of the QR code.
qrcodebackgroundColorThe background color behind the QR code.

The default class to style all QR codes is named com_mendix_widget_native_qrcode_QRCode.

Range Slider

The range slider widget allows you to change a range of values using a slider with maximum and minimum bound values. This is how a range slider widget could look in an app:

range slider

The widget’s style properties are as follows:

<container>
	<track><highlight/><marker/></track>
	<validationMessage/>
</container>

<container>
	<trackDisabled><highlightDisabled/><markerDisabled/></trackDisabled>
	<validationMessage/>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
trackThis has all ViewStyle properties.
trackDisabledThis has all ViewStyle properties.
highlightThis has all ViewStyle properties.
highlightDisabledThis has all ViewStyle properties.
markerThis has all ViewStyle properties.
markerActiveThis has all ViewStyle properties.
markerDisabledThis has all ViewStyle properties.
validationMessageThis has all TextStyle properties.

The default class to style all range slider inputs is named com_mendix_widget_native_rangeslider_RangeSlider.

Safe Area View

The safe area view widget prevents content from being rendered in unwanted areas, such as behind rounded screen corners or notches. This widget is only supported on iOS apps. Note that container styling will only be applied to the safe area.

The widget’s style properties are as follows:

<container>content</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.

The default class to style all safe area views is named com_mendix_widget_native_safeareaview_SafeAreaView.

Slider

The slider widget simply allows you to change a number value using a slider. This is how a slider widget could look in an app:

slider

This widget supports the same style properties as the range slider widget above.

The default class to style all slider inputs is named com_mendix_widget_native_slider_Slider.

Ratings

The ratings widget allows users to rate an object from 0 to 5. This is how a ratings widget could look in an app:

ratings

The widget’s style properties are as follows:

<container>
	<icon/><icon/><icon/><icon/><icon/>
</container>

<containerDisabled>
	<icon/><icon/><icon/><icon/><icon/>
</containerDisabled>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerDisabledThis has all ViewStyle properties.
iconThis has all ViewStyle properties.
iconsizeThe size of the icon.
iconcolorThe color of the icon.
iconselectedColorThe color of the icon when selected.

The default class to style all rating inputs is named com_mendix_widget_native_rating_Rating.

Toggle Buttons

The toggle buttons widget allows you to set an enumeration attribute. This is how a toggle buttons widget could look in an app:

toggle buttons

The widget’s style properties are as follows:

<container>
	<button><text>Standard</text></button>
	<activeButton><activeButtonText>Sattelite</activeButtonText></activeButton>
	<button><text>Hybrid</text></button>
	<validationMessage/>
</container>

<containerDisabled>
	<button><text>Standard</text></button>
	<activeButton><activeButtonText>Sattelite</activeButtonText></activeButton>
	<button><text>Hybrid</text></button>
	<validationMessage/>
</containerDisabled>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerDisabledThis has all ViewStyle properties.
buttonThis has all ViewStyle properties.
textThis has all TextStyle properties.
activeButtonThis has all ViewStyle properties.
activeButtonTextThis has all TextStyle properties.
validationMessageThis has all TextStyle properties.

The default class to style all toggle buttons is named com_mendix_widget_native_togglebuttons_ToggleButtons.

Video Player

The video player widget allows you to play video based on a URL, and is limited to MP4 only. This is how a video player widget could look in an app:

video player

The widget’s style properties are as follows:

ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
indicatorcolorThe loading indicator color.
videoThis has all ViewStyle properties.
errorMessageThis has all TextStyle properties.
fullScreenVideoPlayerThis has all ViewStyle properties.Android only
controlBtnContainerStyleThis has all ViewStyle properties.Android only
fullScreenVideoStyleThis has all ViewStyle properties.Android only
fullScreenActivityIndicatorStyleThis has all ViewStyle properties.Android only

The default class to style all video players is named com_mendix_widget_native_videoplayer_VideoPlayer.

Web View

The web view widget allows you to embed static or dynamic websites in your app. The widget’s style properties are as follows:

ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
errorContainerThis has all ViewStyle properties.
errorTextThis has all TextStyle properties.

The default class to style all web views is named com_mendix_widget_native_webview_WebView.

Animation

The animation widget allows you to animate a container. You can make the content wiggle, move, change size, and more.

The widget’s style properties are as follows:

<container>
	{content}
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.

The default class to style all animation widgets is named com_mendix_widget_native_animation_Animation.

Introduction Screen

This introduction screen widget displays paginated contents you can swipe through, and offers buttons on each page to proceed or go back:

intro screen

The widget’s style properties are as follows:

<fullscreenContainer>
	content
	<paginationContainer>
		<dotStyle/><activeDotStyle/><dotStyle/>
	</paginationContainer>
	<paginationAbove.buttonsContainer>
		<buttonSkip.container>
			<icon/><caption>Skip</caption>
		</buttonSkip.container>
		<buttonPrevious.container>
			<icon/><caption>Back</caption>
		</buttonPrevious.container>
		<buttonNext.container>
			<icon/><caption>Next</caption>
		</buttonNext.container>
		<buttonDone.container>
			<icon/><caption>Done</caption>
		</buttonDone.container>
	</paginationAbove.buttonsContainer>
</fullscreenContainer>

<popupContainer>
	content
	<paginationBetween>
		<buttonSkip.container>
			<icon/><caption>Skip</caption>
		</buttonSkip.container>
		<buttonPrevious.container>
			<icon/><caption>Back</caption>
		</buttonPrevious.container>
		<paginationContainer>
			<paginationText>4 / 5</paginationText>
		</paginationContainer>
		<buttonNext.container>
			<icon/><caption>Next</caption>
		</buttonNext.container>
		<buttonDone.container>
			<icon/><caption>Done</caption>
		</buttonDone.container>
	</paginationBetween>
</popupContainer>
ElementStyle PropertiesDescription
fullscreenContainerThis has all ViewStyle properties.
popupContainerThis has all ViewStyle properties.
paginationContainerThis has all ViewStyle properties.
paginationTextThis has all TextStyle properties.
dotStyleThis has all ViewStyle properties.
activeDotStyleThis has all ViewStyle properties.
buttonsContainerThis has all ViewStyle properties.
containerThis has all ViewStyle properties.Meant for buttonSkip, buttonDone, buttonPrevious, and buttonNext.
captionThis has all ViewStyle properties.
iconsizeThe size of the icon.
iconcolorThe color of the icon.

The default class to style all into screen widgets is named com_mendix_widget_native_introscreen_IntroScreen.

List View Swipe

The list view swipe widget can make a list view interactive by adding swipe gestures and extra buttons in the background behind a list item:

list view swipe

The widget’s style properties are as follows:

<container>
	<leftAction>
		{Left background}
	</leftAction>
	{Foreground}
	<rightAction>
		{Right background}
	</rightAction>
</container>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
leftActionThis has all ViewStyle properties.
leftActionpanelSizeThe number of pixels and the combined size of the background buttons.
leftActionthresholdThe number of pixels to accept the swipe action.
rightActionThis has all ViewStyle properties.
rightActionpanelSizeThe number of pixels and the combined size of the background buttons.
rightActionthresholdThe number of pixels to accept the swipe action.

The default class to style all animation widgets is named com_mendix_widget_native_listviewswipe_ListViewSwipe.

Bottom Sheet

The bottom sheet widget creates a set of options while blocking interaction with the rest of the screen or a draggable surface anchored to the bottom of the screen. There are two customizable variations:

  • Modal bottom sheet:

    modal bottom sheet
  • Expanding bottom sheet:

    expanding bottom sheet

The widget’s style properties are as follows:

<container />
<containerWhenExpandedFullscreen />
<modal />
<modalItems>
	<defaultStyle />
	<primaryStyle />
	<dangerStyle />
	<customStyle />
</modalItems>
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.
containerWhenExpandedFullscreenThis has all ViewStyle properties.Only available if Expading and Enable full screen are enabled.
modalThis has all ViewStyle properties.
defaultStyleThis has all TextStyle properties.Available when Default is selected as style for basic items.
primaryStyleThis has all TextStyle properties.Available when Primary is selected as style for basic items.
dangerStyleThis has all TextStyle properties.Available when Danger is selected as style for basic items.
customStyleThis has all TextStyle properties.Available when Custom is selected as style for basic items.

The default class to style all bottom sheet widgets is named com_mendix_widget_native_bottomsheet_BottomSheet.

The popup menu widget allows you to show a context menu exactly where the user taps.

The widget’s style properties are as follows:

<container/>
<buttonContainer/>
<custom>
	<containerStyle/>
	<itemStyle>
		</rippleColor>
	</itemStyle>
</custom>
<basic>
    <containerStyle/>
    <dividerColor/>
    <itemStyle>
        <ellipsizeMode/>
	</rippleColor>
        <defaultStyle/>
        <primaryStyle/>
        <dangerStyle/>
        <customStyle/>
    </itemStyle>
<basic/>

A main object has four objects.

ElementStyle PropertiesDescription
basicBasicItemStyleStyles basic items.
customCustomItemStyleStyles custom items.
buttonContainerThis has all ViewStyle properties.Styles the wrapper view of triggerer since there could be multiple elements, and it has to be wrapped in a view.
containerThis has all ViewStyle properties.Styles the wrapper view around the whole menu.

BasicItemStyle

ElementStyle PropertiesDescription
containerStyleThis has all ViewStyle properties.Styles the wrapper container around a basic item.
itemStyleItemStyleStyles the basic items.
dividerColorstringStyles the divider color.

ItemStyle

ElementStyle PropertiesDescription
ellipsizeModehead, middle, tail, or clipStyles how the text will be clipped if its too long.
rippleColorstringStyles the color of touch feedback when item is tapped. Works for both iOS and Android platforms.
defaultStyleThis has all TextStyle properties.Styles all basic menu items which have the default style selected.
primaryStyleThis has all TextStyle properties.Styles all basic menu items which have the primary style selected.
dangerStyleThis has all TextStyle properties.Styles all basic menu items which have the danger style selected.
customStyleThis has all TextStyle properties.Styles all basic menu items which have the custom style selected.

CustomItemStyle

ElementStyle PropertiesDescription
containerStyleThis has all ViewStyle properties.Styles the wrapper container around a custom item.
itemStylerippleColor: stringStyles the color of touch feedback when item is tapped. Works for both iOS and Android platforms.
dividerColorstringStyles the divider color.

The default class to style all popup menus is named com_mendix_widget_native_popupmenu_PopupMenu.

The carousel widget allows you to show swipeable items in a carousel.

The widget’s style properties are as follows:

</container>
<cardLayout>
    </slideItem>
    </inactiveSlideItem>
    </indicator>
    <pagination>
        </container>
        </dotStyle>
        </inactiveDotStyle>
        </dotContainerStyle>
        </text>
    </pagination>
</cardLayout>
<fullWidthLayout>
    </slideItem>
    </inactiveSlideItem>
    </indicator>
    <pagination>
        </container>
        </dotStyle>
        </inactiveDotStyle>
        </dotContainerStyle>
        </text>
    </pagination>
</fullWidthLayout>

Main object has to have three objects called container, cardLayout, and fullWidthLayout. cardLayout and fullWidthLayout will be applied automatically depending on selected layout in widget properties.

export myCarouselStyle = {
    container: ViewStyle  //
    cardLayout: ...LayoutStyle,
    fullWidthLayout: ...LayoutStyle
}
ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.Styles the view surrounding the carousel widget. For best results, make sure to give a fixed height.
cardLayoutLayoutStyleStyles the carousel when the layout is set to card
fullWidthLayoutLayoutStyleStyles the carousel when the layout is set to full width.

LayoutStyle

ElementStyle PropertiesDescription
slideItemThis has all ViewStyle properties.Styles the view surrounding each slide, including inactive slides.
inactiveSlideItemopacity: number, scale: numberinactiveSlideOpacity and inactiveSlideScale, will allow inactive slides smaller and faded.
indicatorcolor: stringStyles the loading indicator which will be shown while the carousel is loading.
paginationPaginationStyles pagination container, dots, active dots, and text.

Pagination

ElementStyle PropertiesDescription
containerThis has all ViewStyle properties.Styles the main view around pagination, regardless of text or dot.
dotStyleAll ViewStyle properties + color: stringStyles all the pagination dots.
inactiveDotStyleAll ViewStyle properties + opacity: number; scale: number; color: stringAdditional styles for inactive dots. Will be merged with dotStyle.
dotContainerStyleThis has all ViewStyle properties.Styles the view around individual pagination dots.
textThis has all TextStyle properties.Will be applied when there are more than five elements in carousel, in which case pagination buttons become text like 1/5.

The default class to style all popup menus is named com_mendix_widget_native_carousel_Carousel.

Line Chart

The line chart widget renders a scalable line graph based on static and dynamic data sets.

The widget consists of the following elements:

<container/>
<errorMessage/>
<chart/>
<grid/>
<xAxis>
	<label/>
</xAxis>
<yAxis>
	<label/>
</yAxis>
<legend>
	<container/>
	<item/>
	<indicator/>
	<label/>
</legend>
<lines>
	<customLineStyles>
		<any_custom_line_style_name>
			<line/>
			<markers/>
		</any_custom_line_style_name>
	</customLineStyles>
</lines>
<lineColorPalette/>
ElementStyle PropertiesDescription
containerAll ViewStyle properties.
errorMessageAll TextStyle properties.
chartAll ViewStyle properties.
gridbackgroundColorApplies a color to the grid background (string).
griddashArrayApplies a pattern of dashes and gaps to the grid lines (string containing a dash pattern).
gridlineColorApplies a color to the grid lines (string).
gridlineWidthApplies a width to the grid lines (number).
gridpaddingApplies padding to all sides of the grid (number). Use it to make axis value labels visible.
gridpaddingBottomApplies padding to the bottom side of the grid (number). Use it to make axis value labels visible.
gridpaddingHorizontalApplies padding to the horizontal sides of the grid (number). Use it to make axis value labels visible.
gridpaddingLeftApplies padding to the left side of the grid (number). Use it to make axis value labels visible.
gridpaddingRightApplies padding to the right side of the grid (number). Use it to make axis value labels visible.
gridpaddingTopApplies padding to the top side of the grid (number). Use it to make axis value labels visible.
gridpaddingVerticalApplies padding to the vertical sides of the grid (number). Use it to make axis value labels visible.
xAxiscolorApplies a color to the axis value labels (string).
xAxisdashArrayApplies a pattern of dashes and gaps to the axis line (string containing a dash pattern).
xAxisfontFamilyApplies fonts to the axis value labels (string).
xAxisfontSizeApplies a size to the axis value labels (number).
xAxisfontStyleApplies a font style to the axis value labels ("normal" or "italic").
xAxisfontWeightApplies a font weight to the axis value labels ("normal" or "bold" or "100" or "200" or "300" or "400" or "500" or "600" or "700" or "800" or "900").
xAxislineColorApplies a color to the axis line (string).
xAxislineWidthApplies a width to the axis line (number).
xAxis > labelAll TextStyle properties.
xAxis > labelrelativePositionGridPositions the axis label at the bottom or right side of the grid ("bottom" or "right").
yAxisAll xAxis element styles.
yAxis > labelAll TextStyle properties.
yAxis > labelrelativePositionGridPositions the axis label at the top or left side of the grid ("top" or "left").
legend > containerAll ViewStyle properties.
legend > itemAll ViewStyle properties.
legend > indicatorAll ViewStyle properties.
legend > labelAll TextStyle properties.
lineslineColorPaletteProvides colors to lines that do not have a line color configured (string with list of colors separated by ';').
lines > customLineStyles > any_custom_line_style_name > linedashArrayApplies a pattern of dashes and gaps to the graph line (string containing a dash pattern).
lines > customLineStyles > any_custom_line_style_name > lineendingApplies a flat or rounded line end to the graph line ("flat" or "round").
lines > customLineStyles > any_custom_line_style_name > linelineColorApplies a color to the graph line (string).
lines > customLineStyles > any_custom_line_style_name > linelineWidthApplies a width to the graph line (number).
lines > customLineStyles > any_custom_line_style_name > markersbackgroundColorApplies a background color to the markers of the graph line (string).
lines > customLineStyles > any_custom_line_style_name > markersborderColorApplies a border color to the markers of the graph line (string).
lines > customLineStyles > any_custom_line_style_name > markersborderWidthApplies a border width to the markers of the graph line (string).
lines > customLineStyles > any_custom_line_style_name > markersdisplayInfluences whether markers are displayed. When displayed, it positions the markers of the graph line on top or underneath the line ("false" or "underneath" or "onTop").
lines > customLineStyles > any_custom_line_style_name > markerssizeApplies a size to the markers of the graph line (number).
lines > customLineStyles > any_custom_line_style_name > markerssymbolApplies a symbol to the markers of the graph line ("circle" or "diamond" or "plus" or "minus" or "square" or "star" or "triangleDown" or "triangleUp").

The default class to style all line chart widgets is named com_mendix_widget_native_linechart_LineChart.

Bar Chart

The bar chart widget renders a horizontal bar graph based on static and dynamic data sets.

The widget consists of the following elements:

<container/>
<errorMessage/>
<chart/>
<grid/>
<xAxis>
	<label/>
</xAxis>
<yAxis>
	<label/>
</yAxis>
<legend>
	<container/>
	<item/>
	<indicator/>
	<label/>
</legend>
<domain>
    </padding>
</domain>
<bars>
    </barsOffset>
    </barColorPalette>
	<customBarStyles>
		<any_custom_bar_style_name>
			</bar>
			</label>
		</any_custom_bar_style_name>
	</customBarStyles>
</bars>
ElementStyle PropertiesDescription
containerAll ViewStyle properties.
errorMessageAll TextStyle properties.
chartAll ViewStyle properties.
gridbackgroundColorApplies a color to the grid background (string).
griddashArrayApplies a pattern of dashes and gaps to the grid lines (string containing a dash pattern).
gridlineColorApplies a color to the grid lines (string).
gridwidthApplies a width to the grid lines (number).
gridpaddingApplies padding to all sides of the grid (number). This makes axis value labels visible.
gridpaddingBottomApplies padding to the bottom side of the grid (number). This makes axis value labels visible.
gridpaddingHorizontalApplies padding to the horizontal sides of the grid (number). This makes axis value labels visible.
gridpaddingLeftApplies padding to the left side of the grid (number). This makes axis value labels visible.
gridpaddingRightApplies padding to the right side of the grid (number). This makes axis value labels visible.
gridpaddingTopApplies padding to the top side of the grid (number). This makes axis value labels visible.
gridpaddingVerticalApplies padding to the vertical sides of the grid (number). This makes axis value labels visible.
xAxiscolorApplies a color to the axis value labels (string).
xAxisdashArrayApplies a pattern of dashes and gaps to the axis line (string containing a dash pattern).
xAxisfontFamilyApplies a font type to the axis value labels (string).
xAxisfontSizeApplies a size to the axis value labels (number).
xAxisfontStyleApplies a font style to the axis value labels ("normal" or "italic").
xAxisfontWeightApplies a font weight to the axis value labels ("normal" or "bold" or "100" or "200" or "300" or "400" or "500" or "600" or "700" or "800" or "900").
xAxislineColorApplies a color to the axis line (string).
xAxislineWidthApplies a width to the axis line (number).
xAxis > labelAll TextStyle properties.
xAxis > labelrelativePositionGridPositions the axis label at the bottom or right side of the grid.
yAxisAll xAxis element styles.
yAxis > labelAll TextStyle properties.
yAxis > labelrelativePositionGridPositions the axis label at the top or left side of the grid.
legend > containerAll ViewStyle properties.
legend > itemAll ViewStyle properties.
legend > indicatorAll ViewStyle properties.
legend > labelAll TextStyle properties.
domain > paddingxApplies a number of pixels of padding to add the beginning and end of the X axis domain (number).
domain > paddingyApplies a number of pixels of padding to add the beginning and end of the Y axis domain (number).
barsbarColorPaletteProvides colors to bars that do not have a bar color configured (string with list of colors separated by ';').
barsbarsOffsetDetermines the number of pixels each bar in a group should be offset from its original position on the Y axis (number). This is only applicable when presentation mode is Grouped.
bars > customBarStyles > any_custom_bar_style_name > barendingSpecifies a radius to apply to each bar.
bars > customBarStyles > any_custom_bar_style_name > barcolorApplies a color to the bar (string). If bars are configured to have labels, the labels will be the same color as the bar.
bars > customBarStyles > any_custom_bar_style_name > barwidthApplies a width to the bar (number).
bars > customBarStyles > any_custom_bar_style_name > labelfontFamilyApplies a font type to the bar label (string).
bars > customBarStyles > any_custom_bar_style_name > labelfontSizeApplies a size to the bar label (number).
bars > customBarStyles > any_custom_bar_style_name > labelfontStyleApplies a font style to the bar label (normal or italic).
bars > customBarStyles > any_custom_bar_style_name > labelfontWeightApplies a font weight to the bar label ("normal" or "bold" or "100" or "200" or "300" or "400" or "500" or "600" or "700" or "800" or "900").

The default class to style all bar chart widgets is named com_mendix_widget_native_barchart_BarChart.

Read More