-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[Tabs] Add vertical support #8662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@waheed25 I can't find any reference to vertical tabs in the material specification. It's something you can build on userland. It would be aweseome to share the implementation here once you have it :). |
hi, i'm sure there is this vertical tab component |
@vtrphan It's unlikely we will implement custom components like this one. We focus on implementing components that are highly used and requested. The idiomatic Material way to solve this component problem is to use a drawer + a list. |
@oliviertassinari , good explanation of the reasons behind this decision. Completely makes sense. |
Hi Olivier You said "The idiomatic Material way to solve this component problem is to use a drawer + a list". I don't agree. A Drawer is a navigation component. Tab is a container. It's bad design to use one for the other usage. The problem described by Waheed is a not just a cosmetic issue (horizontal tab -> vertical tab). The problem is the general one. How to represent 2 dimensional container. The Tab component is a solution to the 1 dimensional container. In most of the 50 projects I worked at in the last 20 years, I found the requirement to represent 2 dimensional containers. It's not just an exotic requirement. Our representation of the world is very often 2 dimensional. I would agree with you that 3 dimension is less trivial. But I do not agree that representing a container dependent on 2 parameters is not highly requested. If you would have it, you will use it! Regards |
For future people looking for a simple way to make this work still with material-ui, here's a gist that worked for my case: https://gist.github.com/hafbau/1a332cf84455aafc2dcd2716ee14fcc1 |
We have recently changed our Roadmap. Given this feature seems to be requested and that the implementation cost is small, I think that we can reconsider it. I was looking at https://v1.quasar-framework.org/vue-components/tabs. It looks nice. I have isolated @hafbau example into a codesandbox: |
A proposal implementation: #16628, feedback welcomed. |
material ui tabs default behaviour is horizontal but i want to use tabs in vertically align is there any props or ways for set tabs in vertically align i read the tabs documentation but didn't find any way to use tabs in vertically.
like this manner
https://codepen.io/rahul-sagore/pen/WwZXGa
i found an example on this link in html and css
Is there any solution of that???
The text was updated successfully, but these errors were encountered: