vcl-busy-indicator

Indicate that a long-lasting operation is currently in progress.

Usage no npm install needed!

<script type="module">
  import vclBusyIndicator from 'https://cdn.skypack.dev/vcl-busy-indicator';
</script>

README

VCL busy-indicator

Indicate that a long-lasting operation is currently in progress.

Features

Indicators can be shown inline or within a layer covering an area.

Usage

Circular indicator for use in containers with balanced aspect ratio.

circular example

Straight indicator for use in sharply rectangular containers like buttons.

straight example

Note that this component depends on the SVG files in the imgs folder.

Classes

  • vclBusyIndicator

Modifiers

  • vclBusy-busyIndCircular
  • vclBusy-busyIndStraight

Variables

  • --busy-indicator-circular-image-url
  • --busy-indicator-straight-image-url

Demo

example.html on GH-pages.