A very simple, highly customisable youtube/githhub-like solid loader component (inspired by react-top-loading-bar)
The Solid Top Loading Bar is an efficient and visually appealing solution for developers looking to implement a loading indicator in their applications. Ported from the popular React Top Loading Bar by Klendi Gocci, this package is designed to deliver a seamless loading experience for users. It ensures your application communicates its loading status clearly, making it a valuable tool for enhancing user experience.
This loading bar is versatile and easy to use, featuring built-in methods for dynamic control. Whether you're updating the progress based on user actions or managing multiple loading states, this loading bar provides the necessary functionality without complicating the user interface.
add() and decrease() to customize the progress based on specific events in your application.continuousStart() for a smooth loading experience or staticStart() for a set starting point.complete() method ensures the loading bar finishes and fades out once your operation is complete, enhancing the user experience.progress property allows you to control the width of the loading bar dynamically, providing a smooth visual cue as tasks progress.SolidJS is a declarative JavaScript library for building user interfaces, offering a reactive programming model for efficient updates. It stands out for its reactivity system that minimizes unnecessary re-renders and its small bundle size, making it a performant choice for developing lightweight and reactive web applications.
Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects
RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.