Spinners gives visual cues to actions that are processing or awaiting a course change or results.
const Example = () => {
return <HStack space={2} alignItems="center">
<Spinner accessibilityLabel="Loading posts" />
<Heading color="primary.500" fontSize="md">
Loading
</Heading>
</HStack>;
};
const Example = () => {
return <HStack space={2} justifyContent="center">
<Spinner accessibilityLabel="Loading posts" />
<Heading color="primary.500" fontSize="md">
Loading
</Heading>
</HStack>;
};
const Example = () => {
return <HStack space={8} justifyContent="center">
<Spinner color="emerald.500" />
<Spinner color="warning.500" />
<Spinner color="indigo.500" />
<Spinner color="cyan.500" />
</HStack>;
};
const Example = () => {
return <HStack space={8} justifyContent="center" alignItems="center">
<Spinner size="sm" />
<Spinner size="lg" />
</HStack>;
};
Spinner implements
,
,
,
,
,
,
,
,
Size of Spinner
Type: ThemeComponentSizeType<"Spinner">
Spinner composes
so all
ActivityIndicator Props can be passed to Spinner.