UILab

Spinner

An indicator that can be used to show a loading state.

Processing payment...
$100.00

Usage

import { Spinner } from "uilab-core"
<Spinner />

Examples

Sizes

Use the size-* utility class to change the size of the spinner.

Button

Add a spinner to a button to indicate a loading state. Remember to use the data-icon="inline-start" prop to add the spinner to the start of the button and the data-icon="inline-end" prop to add the spinner to the end of the button.

Badge

Add a spinner to a badge to indicate a loading state. Remember to use the data-icon="inline-start" prop to add the spinner to the start of the badge and the data-icon="inline-end" prop to add the spinner to the end of the badge.

SyncingUpdatingProcessing

Input Group

Validating...

Empty

Processing your request
Please wait while we process your request. Do not refresh the page.

On this page