Spinner

Display to signify loading of some background task.

Example

import { Spinner } from "@styple/design-system";
<Flex css={{ gap: "$md", }} >
<Spinner />
<Spinner color="accent" />
<Spinner size="lg" />
</Flex>

API Reference

Spinner

A styled component. With Props:

Prop Type Default Explanation
colorstring"text"

Color variant.

size"sm" | "lg""sm"

Size variant.

delaynumber600

Delay rendering spinner (in ms).