h3x4d3c1m4l / BlazorProgressIndicator

Simple loading indicator for ASP.NET Blazor
GNU Lesser General Public License v3.0
86 stars 15 forks source link

Blazor.LoadingIndicator

Simple to use loading indicator for Microsoft ASP.NET Core Blazor

Demo

Why I created this

Sometimes you need to retrieve data from a (slow) server, or sort a huge amount of data. Of course you can just show nothing while loading, or build something yourself that shows a some sort of spinner while the work is being done.

However, copying the same pieces of code to several pages and sometimes to multiple widgets on one page kept annoying me. Thus I decided to create this library to make it a little more easy.

How to use

Take a look at the code of the two sample projects.

The simple example utilizes the built-in template while the more complex example shows how to use multiple templates (even on one page).

License

This library is released under the GNU LGPLv3 license.