@bytesberry/overlay-loader
v2.8.0
Published
A lightweight and flexible utility for creating customizable overlay loaders.
Downloads
27
Maintainers
Readme
@bytesberry/overlay-loader
A lightweight and flexible utility for creating customizable overlay loaders.
Installation
Install the package using Yarn:
yarn add @bytesberry/overlay-loaderInstall the package using NPM:
npm install @bytesberry/overlay-loaderUsage
Easily integrate the OverlayLoader component into your application:
import { OverlayLoader } from "@bytesberry/overlay-loader";
<OverlayLoader />API Reference
Props
message
Type:string
Description: Defines a custom message to display within the loader.
Example:<OverlayLoader message="Loading, please wait..." />strokeColor
Type:string
Description: Specifies the stroke color for the loader animation. You can use any valid color value (e.g., color names, hex, RGB).
Example:<OverlayLoader strokeColor="#3498db" />
Features
- Lightweight and easy to integrate.
- Fully customizable with props for messaging and styling.
- Ideal for creating smooth and user-friendly loading experiences.
Elevate your web app's UI with the power of @bytesberry/overlay-loader.
