Skip to content
You're viewing documentation for Draftbit Classic (v1), our previous platform. See the current Draftbit docs.

Activity Indicator

A circular spinning activity/loading indicator.

The Activity Indicator displays a circular loading indicator when enabled.

Style properties allow you to customize the look and feel of the component. Combinations of styles applied to components can be saved as Stylesheets to easily reuse styles throughout your app. Styles can also be set dynamically using Variables. To learn more about all the different styling properties and how they work, take a look at Intro to Styling.

PropertyDescription
ColorSet the color of the spinner.\ Default: Blue
SizeSet the size of the spinner.\ Default: small
PropertyDescription
Component NameTo alter the name of the component. The name is reflected in the Components tree.\ Default: ‘Activity Indicator’.
SpinningTo enable or disable the spinning of the Activity Indicator.\ Default: true
Hide When StoppedIf enabled, hides the Activity Indicator, when it is not spinning.\ Default: true

You can conditionally display a component based on a given condition. Learn more about conditionally displaying components in the Conditional Display doc.

In order to control when the Activity Indicator is displayed to your user you need to assign the Conditional Display value to a boolean (true/false) variable. Typically this would be an App Variable or Screen Variable named is_loading, for example.