
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
react-loading-indicators
Advanced tools
Simply elegant light-weight loading indicators for react applications
A light-weight library providing a collection of easy to use loading indicators for your React projects. Waiting for a response has to be fun🥳.
Built with Typescript. Compatible with react version >=16.8.0.
View DEMO.
npm install react-loading-indicators
or
yarn add react-loading-indicators
<Atom />
<Commet />
<CircularProgress /> // Default import
<FourSquare />
<Mosaic />
<Riple />
<Seek />
import React from "react";
import { Atom } from "react-loading-indicators";
const Component = () => <Atom />;
export default Component;
import React from "react";
import Loader from "react-loading-indicators";
const Component = ({ variant, color, size }) => (
<Loader variant={variant} color={color} size={size} />
);
export default Component;
Each of these components will accept the following optional props.
Name | DataType | Default Value | Possible Values |
---|---|---|---|
size | string | medium | small, medium, large |
color | string or array | limegreen | CSS color values |
style | object | null | CSS styles(in Reactjs format) |
text | string or boolean | false | Boolean value or any string |
textColor | string | undefined | CSS color values |
size
- Sets the size of the loader.color
- Sets the color of the loader.style
- Applies CSS styles to the loadertext
- Displays message in the loader.textColor
- Sets the color of text message in the loader.The CircularProgress
component has a variant
prop(also optional). Choose between variations of a circular loader that you want:
Name | DataType | Default Value | values |
---|---|---|---|
variant | string | disc | disc, split-disc, dotted, bubble-dotted |
You can resize loader to fit into your needs with the size
prop that accepts predefined string input.
You can further customize size to your own preferences by setting fontSize
in the style prop of the loader. The style prop is an object that allows you to add your own css. Including fontSize
in the style object will evenly alter size of the loader.
const Component = () => <Commet style={{ fontSize: "10px" }} />;
Distributed under the MIT License. See LICENSE
for more information.
0.1.0
GlidingBlink
, Twist
, Pulse
& Slab
.Atom
and Commet
indicators.FAQs
Kit of elegant loading indicators for react applications
The npm package react-loading-indicators receives a total of 4,945 weekly downloads. As such, react-loading-indicators popularity was classified as popular.
We found that react-loading-indicators demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.