New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-loading-overlay

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-loading-overlay

Loading overlays with fade, spinner, message support.

  • 0.2.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
28K
decreased by-2.37%
Maintainers
1
Weekly downloads
 
Created
Source

Loading Overlay

npm version

A customizable, simple loading overlay with transitions.


Usage

Wrap your components in it and toggle the active prop as necessary.

<Loadable
  active={isActive}
  spinner
  text='Loading your content...'
  >
  <p>Some content or children or something.</p>
</Loadable>

props

  • active, Boolean, whether the loader is visible.
  • animate, Boolean, whether to fade the overlay in and out.
  • spinner, Boolean, whether to use a spinner in the loader.
  • text, String, used as content of the loader.
  • background, String, valid css color declaration for the overlay background.
  • color, String, valid css color declaration for the text and circle color.
  • spinnerSize, String, valid css size (100px) for the size of the spinner circle.
  • zIndex, Integer, use in case you are experiencing other z-indexed components appearing over top of the overlay.

Future

  • Passing in custom loader components.
  • Composable loader, maybe some alternative spinner options or something.

Keywords

FAQs

Package last updated on 09 Oct 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc