Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
loaders-ui
Advanced tools
A fully functional & comprehensive suite of customizable and visually appealing loaders designed to enhance your web applications.
A fully functional & comprehensive suite of customizable and visually appealing loaders designed to enhance your web applications.
Spinner
InfiniteDots
DotsSpinner
To install the package, run:
npm install loaders-ui
import React from 'react';
import "loaders-ui/dist/main/index.min.css";
import { Spinner } from 'loaders-ui';
const App = () => (
<div>
<Spinner />
</div>
);
export default App;
All loaders can accept the following common props:
width
(string | number): Define the size of the loader.color
(string): Define the primary color of the loader. Default is #3498db
.className
(string): Add custom class names for styling.colors
[string, string, string, string]: Define the four colors of the spinner's stroke.color
: is not valid in this case.width
(number): Define the size of the loader.borderWidth
(number): Define the border-width of ring.dotsSize
(number | string): Define the size of the dots.dullColor
(string): Define the stroke (of complete circle) color.borderWidth
(number | string): Define the stroke width.borderWidth
(number | string): Define the stroke width.maxWidth
(number | string): Define the max width of where line can be moved.height
(number | string): Define the height of the line.This project is licensed under the MIT License.
FAQs
A fully functional & comprehensive suite of customizable and visually appealing loaders designed to enhance your web applications.
The npm package loaders-ui receives a total of 48 weekly downloads. As such, loaders-ui popularity was classified as not popular.
We found that loaders-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.