logoRuru UI

Spinner

The Spinner component is used to indicate that a page is loading or that an action is being processed.

Installation

npx ruru-ui-cli@latest add spinner

Usage


Basic usage

The Spinner component is used to indicate that a page is loading or that an action is being processed.

Custom size

You can customize the size of the spinner by passing the size prop.

Props

NameTypeDefaultDescription
sizenumber20The size of the spinner.
classNamestring-The class name of the spinner.

On this page