Tabs
Navigation
TabsLayout
Tiered PageNavigation
Tabs
Switch between related content panels. Horizontal tabs remain common even in vertical reading contexts.
$ npx verticallyworks add tabsDesign question
Do horizontal tabs still make sense when the primary reading axis is vertical?
Default
The tabs run as a vertical rail on the right (leading) edge · each label set vertically · with the active tab marked by a bar on its content-facing edge. Categories live on the same axis as the reading.
Source
The exact file npx verticallyworks add tabs copies into your project · yours to edit. Styling comes entirely from the design tokens.
Guidance
Do
- Keep tabs horizontal · the horizontal axis separates content categories from reading content
- Limit labels to 3 CJK characters or a short word
- Place tab panel content in the vertical reading layout that follows
Don't
- Stack tabs vertically without differentiating them from the rail
- Use tabs for sequential content (use pagination or chapter navigation instead)
- Add icons to tabs if labels are already short CJK characters