All Projects → barrymcgee → gatsby-plugin-scroll-indicator

barrymcgee / gatsby-plugin-scroll-indicator

Licence: other
A visual indicator of page scroll on Gatsby websites

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gatsby-plugin-scroll-indicator

gatsby-remark-numbered-footnotes
A small plugin to change named footnotes to numbered footnotes in your Gatsby pages using Markdown.
Stars: ✭ 15 (+7.14%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-prettier-build
prettify gatsby build output
Stars: ✭ 30 (+114.29%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-source-stripe
Gatsby source plugin for building websites using Stripe as a data source
Stars: ✭ 71 (+407.14%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-graphcms-example
Example of Gatsby source plugin for GraphCMS
Stars: ✭ 32 (+128.57%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-dynamic-routes
Creating dynamic routes based on your environment and/or renaming existing routes
Stars: ✭ 14 (+0%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-intercom-spa
Gatsby plugin to add intercom onto a site
Stars: ✭ 23 (+64.29%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-matomo
🥂 Gatsby plugin to add Matomo (formerly Piwik) onto a site.
Stars: ✭ 56 (+300%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-lunr
Gatsby plugin for full text search implementation based on lunr client-side index. Supports multilanguage search.
Stars: ✭ 69 (+392.86%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-disqus
💬 A plugin for adding Disqus comments to GatsbyJS
Stars: ✭ 40 (+185.71%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-remark-emojis
🚀 Processes emoji in markdown and inlines <img> tags with the corresponding base64 representation of the image.
Stars: ✭ 28 (+100%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-remark-embedded-codesandbox
A Gatsby Remark plugin for embedding Codesandbox given a folder of files
Stars: ✭ 31 (+121.43%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-transformer-remark-frontmatter
Allows querying frontmatter fields as markdown with gatsby
Stars: ✭ 13 (-7.14%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-source-rss-feed
Gatsby source plugin for rss feed.
Stars: ✭ 24 (+71.43%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-attila-theme-ghost
A Gatsby theme plugin for creating blogs from headless Ghost CMS.
Stars: ✭ 16 (+14.29%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-plugin-apollo-client
📡Inject a Shopify Apollo Client into the browser.
Stars: ✭ 20 (+42.86%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-theme-deck-n-blog
Create a deck (with mdx-deck) and a blog post from the same MDX
Stars: ✭ 17 (+21.43%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsby-remark-highlight-code
Adds stylish cards and syntax highlighting to code blocks in markdown files
Stars: ✭ 63 (+350%)
Mutual labels:  gatsbyjs, gatsby-plugin
gatsbyjs-starter-tailwindplay
GatsbyJS Tailwind Starter - TailwindPlay
Stars: ✭ 69 (+392.86%)
Mutual labels:  gatsbyjs
kristoffer
It's a website.
Stars: ✭ 25 (+78.57%)
Mutual labels:  gatsbyjs
gatsby-plugin-gdpr-cookies
Gatsby plugin to add Google Analytics (V4 is supported), Google Tag Manager, Facebook Pixel, TikTok Pixel and Hotjar in a GDPR form to your site.
Stars: ✭ 88 (+528.57%)
Mutual labels:  gatsby-plugin

🤳gatsby-plugin-scroll-indicator

npm version CircleCI

  • 🔥 Easily add a page scroll indicator to your Gatsby site.
  • 👨🏼‍💻A 3px high indicator bar will progress along the top of your viewport as you scroll down the page.
  • 🎨 The color, height, paths and z-index of the indicator bar are all configurable options.

Install

npm install --save gatsby-plugin-scroll-indicator

Quick start

These options are not required. To have a 3px high, Gatsby purple (#663391) scroll indicator on all of your pages, add the plugin to your plugins array in gatsby-config.js:

  ...
  plugins: [
    `gatsby-plugin-scroll-indicator`
  ]
  ...

Options

color (String)

Any solid hex color code is valid. e.g.

color: #663391

This option will accept any valid value for the background CSS property.

If not provided, the default value is Gatsby purple themed CSS gradient:

linear-gradient(to right, #CC99F7, #663391)

height (String)

The height of the scroll indicator, in pixels.

If not provided, the default height is 3px.

paths (Array of globbing patterns)

An array of globbing patterns to specify where the scroll indicator should show.

If not provided, the indicator will show for all paths.

zIndex (String)

The z-index option specifies the stack order of the indicator element.

If not provided, the default value is 9999.

Example

// gatsby-config.js
plugins: [
  {
    resolve: `gatsby-plugin-scroll-indicator`,
    options: {
      // Configure color of the scroll indicator
      color: "#663391",
      // Height of the scroll indicator
      height: "3px",
      // Configure paths where the scroll indicator will appear
      paths: ["/", "/blog/**"],
      // Configure the z-index of the indicator element
      zIndex: `9999`,
    },
  },
];

Useful links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].