React Native · Components
Spinner
Loading indicator: a spinning arc.
2 exports
Live example
The preview runs in the browser with the web component; the native component takes the same props and looks the same on iOS and Android.
Preview
Code
Events
- Events appear here when you interact with the preview.
Import
Spinner
componentLoading indicator: a spinning arc. ActivityIndicator looks different on Android and iOS; this component is the same on both platforms. The rotation runs on the native driver.
Examples
SpinnerProps
interfaceSpinner props.
| Name | Type | Default | Description |
|---|---|---|---|
size? | number | 16 | Side length (pixels); scaled by device (UIProvider scaling). |
color? | string | theme `mutedForeground | Color. |
label? | string | the `loading` text (`"Yükleniyor"`) | Text read by screen readers. |
style? | StyleProp<ViewStyle> | Container style. |