[Tabs] Allow tabs to show vertical labels
See original GitHub issueBug, feature request, or proposal:
proposal
What is the expected behavior?
It display horizontally in any case and I can`t change this behavior from css or even code. I want display it in this way: http://joxi.net/8An96qkiPVGe2O
What is the use-case or motivation for changing an existing behavior?
Sometimes I need to display sidenav (but designed as tabs) aligned to center or as part of inner block, but in column layout. It would be great add some property for tabs such as direction
Is there anything else we should know?
In addition, I used tabs for navigation between routes:
<nav md-tab-nav-bar>
<a md-tab-link
*ngFor="let link of navLinks"
[routerLink]="link"
routerLinkActive #rla="routerLinkActive"
[active]="rla.isActive">
{{tabLink.label}}
</a>
</nav>
I made this possible in this way:
.mat-tab-links {
display: flex;
position: relative;
flex-direction: column; //can`t change this filed by myself
}
Issue Analytics
- State:
- Created 7 years ago
- Reactions:52
- Comments:19 (1 by maintainers)
Top Results From Across the Web
How to activate vertical tabs on your favorite browser
Click on it to show or hide the vertical tab list. You can also click the pin icon on the actual vertical tabs...
Read more >JavaFX: Formatting a TabPane with Vertical Tabs and ...
I'll answer my own question since I found a solution, and to provide an example. Using the FXML approach from the question.
Read more >Pinned Tabs in Vertical Layout - Microsoft Community Hub
I know the position and icon of my pinned tabs and don't need to see the full text label. Since there are others...
Read more >Vertical Tabs - Lightning Design System
The Vertical Tabs component serves as a container to show groups of content, divided into tabs. Each tab label should correspond with a...
Read more >How To Use Vertical Tabs In Microsoft Edge - Into Windows
One of the main benefits of switching to vertical tabs from the default or conventional horizontal tabs is that we can see more...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Vertical tabs aren’t part of Material Layout Guidelines. So I don’t see any reason to include this feature to Material2 library? (https://material.io/guidelines/components/tabs.html)
Is there any reason why you don’t use a menu component or list component?
How about the reason that it’s in high demand, and there’s a clear use case for it?