Smooth scroll

Vue Smooth scroll

Bootstrap smooth scroll is an animated movement from a trigger — such as button, link or any other clickable element — to another place of the same page.

Note: Read the API tab to find all available options and advanced customization


Basic example

Click on the links below to see the live example

To achieve a Smooth Scroll effect, add the v-mdb-smooth-scroll directive to your link.


Custom container

By adding container argument you can set container in which you want smooth scroll.


Custom offset

By adding offset argument you can set custom offset from element.


Custom duration

By adding duration argument you can set custom duration of smooth scroll.


Custom easing

By adding easing you can set other scroll's motion option


Container away from viewport

When you put container with overflow: scroll away from viewport link firstly will scroll to this container then it will scroll container.

Section to scroll is below:

Here it is #section-6