Spinner

A loading indicator drawn by the renderer.

A renderer-only loading indicator. Animation can be added once transforms/animation exist natively.

Import

import { Spinner } from "@tarve/core";

Usage

Spinner.tsx
import { Row, Spinner, Text } from "@tarve/core";

<Row gap={8} align="center">
  <Spinner size={18} label="Syncing" />
  <Text>Syncing your files…</Text>
</Row>

Props

PropTypeDefault
label string"Loading"
size number18

Common props

Shared by every component. See descriptions →

childrenhighlightidkeymotionFromonHighlightonPasteonTransitionEndrovingGroupstyle