Skip to content

[Feature] Add a "Scroll to Top" Button #358

@Richajaishwal0

Description

@Richajaishwal0

Summary

Add a floating "Scroll to Top" button that appears on long pages when the user scrolls down, improving navigation and user experience.

Motivation

Currently, there is no "Scroll to Top" button available. Users must manually scroll back to the top on long pages (homepage, challenges, documentation), which can be inconvenient. Adding this feature would improve usability, especially for new users or those browsing extensive content.

Possible Solution

  • Create a button component that appears after scrolling down a certain offset.
  • On click, the button smoothly scrolls the page to the top.
  • Style the button to match the site's theme (light/dark).
  • Optionally, add a fade-in animation for appearance/disappearance.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions