@smashing/spinner

Component used to indicate a loading state.

Usage no npm install needed!

<script type="module">
  import smashingSpinner from 'https://cdn.skypack.dev/@smashing/spinner';
</script>

README

Spinner

The Spinner component is used to indicate a loading state.

yarn add @smashing/spinner

Basic usage

<Spinner />

Change the size

<Spinner size={24} />

Change the color

<Spinner color="lightblue" />

Set the delay

<Spinner delay={2000} />