mui / mui/material-ui

Add ScrollSpy component

Open
#16,359 24 comments 43 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

scope: new proposal type: new feature waiting for 👍
Dominant language
JavaScript
Stars
99.1k
Forks
32.5k
Avg merge
2d 17h
Merged PRs (30d)
106

Description

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

Like zurb's Magellan. highlight navbar item based on scroll and/or based if element is in viewport

Examples 🌈

See link above

Context 🔦

I would like to create this component for MUI! I'm happy to submit a PR with some guidance :)

Benchmark

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Zurb Magellan, Bootstrap Scrollspy, Reactstrap, and superprops examples to compare expected behavior. The issue names no repository files or tests, so first locate MUI's existing navigation and component patterns; done should include a ScrollSpy component that highlights navigation items based on scroll position or viewport visibility, with the behavior clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.