Paste before </body> tag of the page you're working with.
The variable we created to store our Library instance. The name of the variable can be set to whatever you want.
The class of the hidden Collection List that holds our dynamic CMS List.
This is our real feed of data that we want to populate inside the Tabs component. This should be hidden on the page.
The class of the Webflow Tabs component that will display our dynamic CMS List. This class is placed on the native Webflow Tabs component.
The class of the text that will be the visible name of the tab for that item.
This can be hidden within the item. Whatever text is within ~.fs-tab-name~ will be placed inside the tab button.
IMPORTANT: This is easy to set up. You must understand how to structure your page for this to work.
The outer parent of the native Webflow tabs component needs a class. In this example, we call it ~.fs-tabs~
The CMS Collect List that will hold the dynamic information we want to display in the tabs component. This will be hidden on the page. In this example, we call it ~.fs-dynamic-feed~
CMS Library is going create a new ~.fs-tabs-link~ and ~.fs-tabs-pane~ for every item inside of your ~.fs-dynamic-feed~. If you have 50 items inside your ~.fs-dynamic-feed~, there will be 50 ~.fs-tabs-pane~ elements created. We will then "copy" ~.fs-dynamic-content~ and paste it in the ~.fs-tabs-pane~ that was created for that item.
Add a text element inside your ~.fs-dynamic-content~ element. Give it a class. In this example, we call it ~.fs-tab-name~.
CMS Library is going "copy" ~.fs-tab-name~ from each item and "paste" it in the ~.fs-tabs-link~ that was created for that item.