Sections are similar to tabs as a way to selectively show a single panel of content at a time.
Sections replace a few things that you are used to from Foundation 3. We’ve taken the accordion, the tabs and the vertical nav and combined them into this really flexible plugin that can handle all of those. The single JS file handles all the interactions, but the classes you add to the element control how it gets rendered and styled across our breakpoint.
This example will automatically switch between tabs and accordion based on the resolution of the device.
The class options:
auto
tabs
accordion
vertical-nav
horizontal-nav