tab-patterns
Installation
SKILL.md
Tab Patterns
Tab Types
| Type | Use Case | Platform |
|---|---|---|
| Horizontal tabs | 2-6 sections at same hierarchy level | Desktop, tablet |
| Scrollable tabs | 6+ sections | Mobile, responsive |
| Vertical tabs | Deep settings, documentation sidebar | Desktop |
| Bottom tab bar | Primary app navigation | Mobile apps |
| Segmented control | 2-3 toggle options (not navigation) | Any |
Tab Rules
- Tab labels should be short. 1-2 words. If longer, tabs aren't the right pattern.
- Don't use tabs for sequential steps. That's a stepper/wizard.
- Content should be independent. Switching tabs shouldn't affect other tabs.
- Active tab indicator: bottom border (horizontal), left border (vertical), or filled background.
- Keyboard navigation: arrow keys to switch, focus visible on active tab.