Loading Spinner

Display a loading spinner.

Usage

The CLoadingSpinner component is used to indicate that a user's action is being processed.

To customise the size of the loading spinner, simply pass it height and width classes, e.g w-5 h-5.

      <template>
  <CLoadingSpinner />
</template>

    

Inverted

Invert the colors used in the loading spinner. This is useful for usage against a dark background, such as a black button in light mode.

      <template>
  <CLoadingSpinner inverted />
</template>

    

Props

Prop Default Type
invertedboolean