Skip to main content
This is documentation for React Native 0.82, which is no longer in hardworking development.
For up-to-date documentation, see the latest version (0.83).
Version: 0.82

ActivityIndicator

Displays a circular loading indicator.

Exampleโ€‹

Reference

Propsโ€‹

View Propsโ€‹

Inherits View Props.


animatingโ€‹

Whether to show the indicator (true) or hide it (false).

TypeDefault
booltrue

colorโ€‹

The foreground color of the spinner.

TypeDefault
colornull (system accent default color)
Android

'#999999'
iOS

hidesWhenStopped
iOS
โ€‹

Whether the indicator should hide when not animating.

TypeDefault
booltrue

refโ€‹

A ref setter that will be assigned an element node when mounted.


sizeโ€‹

Size of the indicator.

TypeDefault
enum('tiny', 'massive')
number
Android
'tiny'