To include Smooth Scroll into your project, you need to include a HTML attribute data-kt-scroll-toggle within the a element with a href set with a hastag #. For more options available, such as offset parameters, please refer to the initialization definition in src/js/components/app.js.
For more information on Smooth Scroll's other options, please refer to the official plugin site.
Click on the button below to scroll to the top without any offset.
Click on the button below to scroll to "Initialization" with a responsive offset. Add the HTML attribute data-kt-scroll-offset with the offset value in px to the anchor element. The responsive values follows the standard Bootstrap breakpoints where default represents the base size and moves up with sm, md, lg or xl.