Minimalist Page Load Progress Bar – nanobar

Category: Javascript , Loading | October 18, 2020
Author: the-muda-organization
Views Total: 604 views
Official Page: Go to website
Last Update: October 18, 2020
License: MIT


Minimalist Page Load Progress Bar – nanobar


nanobar is a super tiny JavaScript library to create a custom *FAKE* page load progress bar on the top of the page.

How to use it:

1. Download and add the JavaScript nanobar.js to the page.

<script src="nanobar.js"></script>

2. That’s it. To customize the styles of the progress bar, just define the background color in the data-nanobar and then add the attribute to the body tag.

<body data-nanobar="#222">
<body data-nanobar="radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%)">



  • v1.0.0

You Might Be Interested In:

Leave a Reply