Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

gatsby-plugin-nprogress

Package Overview
Dependencies
Maintainers
7
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-nprogress

Shows page loading indicator when loading page resources is delayed

latest
Source
npmnpm
Version
5.16.0
Version published
Weekly downloads
11K
-23.85%
Maintainers
7
Weekly downloads
 
Created
Source

gatsby-plugin-nprogress

Automatically shows the accessible-nprogress indicator when a page is delayed in loading (which Gatsby considers as one second after clicking on a link).

Install

npm install gatsby-plugin-nprogress

How to use

// In your gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-nprogress`,
    options: {
      // Setting a color is optional.
      color: `tomato`,
      // Disable the loading spinner.
      showSpinner: false,
    },
  },
]

You can pass in the custom configuration option color to customize the accessible-nprogress CSS. You may also pass all available accessible-nprogress configuration options into the plugin, too.

Keywords

gatsby

FAQs

Package last updated on 26 Jan 2026

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