Smooth Scroll Stimulus

Thomas Van Holder
ITNEXT
Published in
2 min readFeb 28, 2021

--

elegantly slide to a section of a page

The article is snippets from the Ruby on Rails wiki page.

Learn how to set up a smooth scrolling with Ruby on Rails and Stimulus Components. This is a simple and clean way to enable users to slide to a different section of a page.

Before You Start

Make sure you have Stimulus installed. Check the package.json file or run yarn why stimulus. If Stimulus is not yet installed, follow…

--

--