Spinner

An animated loader to indicate background activity or pending operations.

<Spinner />

Installation

pnpm add @notion-kit/spinner

Options


Variant

Use the variant prop to control the visual style of the spinner.
The default variant is "solid".

<Spinner variant="solid" />
<Spinner variant="dashed" />

Size

Use the size prop to control the size of the spinner. The default size is "md".

<Spinner size="sm" />
<Spinner size="md" />
<Spinner size="lg" />

API Reference

Spinner

PropTypeDefaultDescription
variant"solid" | "dashed""solid"The visual style of the spinner.
size"sm" | "md" | "lg""md"The size of the spinner.

On this page