Skip to content

[Feature]: Add a floating "back to top" button that appears when users scroll down, with smooth animation. #588

@kaifansariw

Description

@kaifansariw

Feature Type

UI/UX Enhancement

Problem Description

Creating a minimal back to top button component with scroll detection and smooth animation. when user scroll 300px down the page it will appear.

Proposed Solution

Add a back to top button when the user reach to the end of the website and he/she want to go to the top. Implemented this feature with React hooks (useState, useEffect) , uses lucide-react icon , uses TailwindCSS for styling and animation.

Alternative Solutions

No response

Mockups or Examples

No response

Implementation Details

No response

Additional Context

No response

Code of Conduct

  • I have searched for similar feature requests before creating this one
  • I understand this is a feature request for the website only, not Sugar Labs software
  • I agree to follow the project's Code of Conduct

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