Seven Minute Tabs Web Component Demo
All visual styles shown here are decoupled from the component (completely optional: try removing demo-styles.css). Read more at the documentation on GitHub
Vanilla
- First tab
- Second tab
- Third tab
First tab content
Second tab content
Third tab content
Lots of tabs to test overflow at small widths
- First tab
- Second tab
- Third tab
- Fourth tab
- Fifth tab
- Sixth tab
First tab content
Second tab content
Third tab content
Fourth tab content
Fifth tab content
Sixth tab content
Tabs on bottom
First tab content
Second tab content
Third tab content
- First tab
- Second tab
- Third tab
Active tab syncs to group, persists across pageviews
- First tab
- Second tab
- Third tab
First tab content
Second tab content
Third tab content
- First tab
- Second tab
- Third tab
First tab content
Second tab content
Third tab content
Separate persist group:
- First tab
- Second tab
- Third tab
First tab content
Second tab content
Third tab content
Prune buttons that don’t have a matching panel (starts with three tab links)
First tab content
Second tab content
autoheight option
Unlocks consistent height when switching tabs.
First tab content
Second tab content
Super long tab content
Super long tab content
Super long tab content
Super long tab content
Text after the component (to show the height above without using CSS)