
In this quick guide, you'll learn how to embed the Scroll to Top into your website by generating your embed code and adding it seamlessly to your website.
Choose your platform to see detailed, step-by-step instructions for embedding Scroll to Top seamlessly.



























































































































































































































































































































































Use the Scroll to Top on long pages where you want getting back to the start to be quick and effortless. On content heavy pages, especially on mobile, scrolling upward for a long distance can feel frustrating and can interrupt the browsing flow. When a Scroll to Top button appears after someone scrolls down, it gives a clear shortcut back to the top navigation, search area, or primary section of the page. This keeps navigation simple and helps visitors continue exploring instead of stopping because the page feels too long. It works well for blogs, documentation, ecommerce catalogs, one page sites, and any layout built around multiple scrolling sections.
This tutorial was written by the Common Ninja product team, creators of interactive, no-code widgets for websites. Common Ninja helps over 500,000 users build engaging online experiences without coding.