Auto rotate your Webflow tabs and pause their rotation on hover.
Add interest to your page and communicate key features with an advanced tabs component. This Booster allows you to add auto rotation to your webflow tabs, with the optional ability to pause the rotation on hover and display a progress bar which can be interacted with through the pause.
This Booster can be added directly into your Webflow projects with our official Webflow App. You can install the official Boosters App. The Boosters app will add all the attributes and elements you need directly in your Webflow project.
Copy the script and paste it into the <head>
section of your custom code settings.
<!-- Flowbase Booster [Tab Rotation] -->
<script src="https://cdn.jsdelivr.net/npm/@flowbase-co/boosters-tab-rotation-webflow@1.2.0/dist/tab-rotation.min.js" type="text/javascript"></script>
This Booster uses the native Webflow Tabs
Element, so start by adding that to your project. If you already have a tabs
element, you can just follow along and add these in the same way.
With the 'Tabs' element selected, assign the following attributes:
fb-tabs
and Value: true
. fb-tabs-speed
and Value: 5000
. This sets the speed in ms for when tabs should changeOptional attributes for pauseable tabs and the progress bar:
fb-tabs-pauseable
and Value: true
. This allows for the tab rotation to be paused when the user hovers over the tab element.fb-tabs-progress
and Value: true
. This attribute is used if you want to add an interactable progress bar to your tab rotation.An advanced feature of this booster is the interactive progress bar, which can be paused and interacted with. The progress bar should be added inside each of the Tab Links. To add a progress bar:
▭ div-block
inside a Tab Link to serve as the base of the progress bar, in this example it's named "Tab Progress Bar Base." This should typically be 100% width with a fixed height (usually around 5px height)▭ div-block
named "Tab Progress Bar." This should be styled with your brand color and will fill the base from 0% to 100% during the tab rotation.width: 125ms
for a smooth transition.For a quicker setup, use our free Boosters app to add this feature without following the manual steps. Download the app from the Webflow marketplace and start using it right away at no cost.
Once you've followed the steps above and have added both the script and the attributes, you can publish your page. View your live staging domain to test the Booster in action.
Your support means the world to us! In just 10 seconds, you can make a big difference:
Thank you for being awesome! 🌟