Skip to content
Docs
Components
Spinner

Spinner

Simple spinner component that is based on react native ActivityIndicator component.

Import

import { Spinner } from 'react-native-ficus-ui';

Usage

EDITABLE EXAMPLE
<HStack spacing={10}>
  <Spinner />
  <Spinner color="blue.500" size="sm" />
  <Spinner color="red.500" size="lg" />
  <Spinner color="green.500" size="lg" />
  <Spinner color="pink.500" size="lg" />
</HStack>

Props

Extends every Box props and react native ActivityIndicator component.

https://reactnative.dev/docs/activityindicator#props (opens in a new tab)

color

The color property for ActivityIndicator.

TypeRequired
stringNo

size

The size property for ActivityIndicator.

TypeRequired
number, stringNo