Working back to top button

The "Scroll to top" button becomes visible when the user starts to scroll the page
Clicking on that button takes you back to the top of the page. This is a great feature to have on any website especially if your content is long.

This tailwind example is contributed by Prashant, on 28-Aug-2022. Component is made with Tailwind v3.4. It is responsive.

Tailwind v3.4 Responsive 15.6k 19

Related Examples

Can't find it?

Didn't find the component you were looking for?

Search across 3,000+ community-built components and grab the code in seconds.