Lumeo

Spinner

A loading spinner indicator with multiple sizes.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Spinner />

When to Use

  • Loading indicators while data is being fetched
  • Button loading state during form submission or async operations
  • Inline loading feedback for sections of a page that update independently
  • Any short-duration wait where a full skeleton layout is unnecessary
Small
Default
Large
Loading...

Pick a variant to see it applied live.

Ring variant
Ring
Dots
Bars

Parameter Coverage

Every Size and SpinnerVariant value rendered live.

Size

Xs
Sm
Md
Lg
Xl
Xxl
Xxs

SpinnerVariant

Ring
Dots
Bars

API Reference

Spinner

Prop Type Default Description
SizeSpinnerSizeDefaultSize of the spinner. Values: Sm (16px), Default (24px), Lg (32px).
VariantSpinnerVariantCircleShape of the spinner. Values: Circle, Dots, Bars.
Colorstring?nullOverride color (CSS color or Tailwind token).
Labelstring?nullAccessible label announced to screen readers.
Classstring?nullAdditional CSS classes.
AdditionalAttributesDictionary<string, object>?nullAdditional HTML attributes.
  • Progress — Determinate progress bar when the completion percentage is known
  • Skeleton — Placeholder layout shimmer for content-heavy loading states
  • Button — Embed a Spinner inside a disabled button for submit loading state