A text label like "Back to Top" is often more effective than just an arrow icon, which can be ambiguous.
The button should only appear after a user has scrolled down a significant portion of the page (usually two screens worth or ~200px). Back to top button
Most users expect to find the button in the bottom right corner . A text label like "Back to Top" is
Use smooth scrolling to provide visual context, as instant jumping can be disorienting. Implementation Options Back to top button