Instead of re-writing the same scroll-to-top logic over and over in each component or project, lean on this simple, stylable button to do it for you. Don't sweat the small stuff.
See it in a demo, or how to quickly add it to your project.