
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
lumina-loader-react
Advanced tools
React adapter for Lumina Loader — small component wrapper that mounts the loader into the DOM and forwards common options.
npm install lumina-loader-react
(or)
pnpm add lumina-loader-react
import React from 'react';
import { LuminaLoaderReact } from 'lumina-loader-react';
export default function App() {
return (
<div>
{/* Inline loader mounted into the DOM */}
<LuminaLoaderReact type="spinner" size={48} color="#0070f3" />
{/* Overlay loader (mounted to document.body) */}
<LuminaLoaderReact overlay show={true} />
{/* Controlled example */}
<ControlledExample />
</div>
);
}
function ControlledExample() {
const [show, setShow] = React.useState(false);
return (
<div>
<button onClick={() => setShow((s) => !s)}>{show ? 'Hide' : 'Show'} loader</button>
<LuminaLoaderReact show={show} type="bar" progress={0.5} />
</div>
);
}
show?: boolean — whether the loader is visible (default: true).container?: HTMLElement | string — DOM node or selector to mount into. If omitted, mounts inline into a wrapper element.overlay?: boolean — when true the loader will mount to document.body and the component renders null (useful for global overlays).onShow?: () => void / onHide?: () => void — lifecycle callbacks.options such as type, size, color, speed, theme, progress, progressVariant are forwarded to the core loader.The core supports an image loader type to show a logo or custom image. Examples:
// URL image
<LuminaLoaderReact type="image" image="/logo.svg" />
// Inline SVG (import as URL or SVG element)
import logoUrl from './logo.svg';
<LuminaLoaderReact type="image" image={logoUrl} />
Note: the image prop accepts a URL string or an inline SVGElement.
lumina-loader-react when consuming from npm.lumina-loader-host if you need to target it with styles.Contributions welcome — open an issue or PR if you need additional examples or props documented.
FAQs
React adapter for Lumina Loader
We found that lumina-loader-react 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.