Vuetify: [Feature Request] v-tabs Vertical option

Created on 30 Apr 2018  路  10Comments  路  Source: vuetifyjs/vuetify

Problem to solve

i need use other vue plugin to create vertical tabs in complex projects

Proposed solution

implement option to use

feature

Most helpful comment

I've created a component for my personal use: https://gist.github.com/jacekkarczmarczyk/eca6015c176e85ea78706e63383bbe5c

Usage:

        <vertical-tabs v-model="tab" :items="['foo', 'bar', 'baz', 'foo bar', 'foo baz', 'bar baz', 'foo bar baz', 'lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum']"></vertical-tabs>

        <vertical-tabs vertical-text height="300" v-model="tab" :items="['foo', 'bar', 'baz']"></vertical-tabs>

It doesn't support router nor many tabs props (like show-arrows, icons, etc), first version (with horizontal text) has fixed width 200px, but maybe some people will find it useful in their projects

tabs

All 10 comments

Please provide more information about this feature request. Do you have an example of what you want to achieve? What would the proposed new markup look like?



I make this using v-list, v-card and CSS

W4 Example working:
https://www.w3schools.com/howto/howto_js_vertical_tabs.asp

I recently stumbled with a case where vertical tabs would be really beneficial. If it's not implemented soon, I was thinking about having a list change the v-model of a container.

Vertical tabs would be a great addition, though!

We had a similar use case, ended up using the v-stepper with :vertical=true and hiding the numbers in front of the steps.

It ended up looking like this:
screen-shot-2018-06-29-at-3 52 56-pm

in this scenario, the tabs are the steps (Employee Detail, ..., ..., History)
and the tab item is the stepper content

I've created a component for my personal use: https://gist.github.com/jacekkarczmarczyk/eca6015c176e85ea78706e63383bbe5c

Usage:

        <vertical-tabs v-model="tab" :items="['foo', 'bar', 'baz', 'foo bar', 'foo baz', 'bar baz', 'foo bar baz', 'lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum']"></vertical-tabs>

        <vertical-tabs vertical-text height="300" v-model="tab" :items="['foo', 'bar', 'baz']"></vertical-tabs>

It doesn't support router nor many tabs props (like show-arrows, icons, etc), first version (with horizontal text) has fixed width 200px, but maybe some people will find it useful in their projects

tabs

Artur would you be kind enough to share some code for how you got your verticle tabs working? I'm trying to replicate but having a few issues? Thanks

vertical-tabs

Resolved in f22d754

using still showing horizontal , i updated vuetify still having this issue

This is in 2.0 alpha build.
We kindly ask users to not comment on closed/resolved issues. If you believe that this issue has not been correctly resolved, please create a new issue showing the regression or reach out to us in our Discord community.

Thank you for your contribution and interest in improving Vuetify.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itanka9 picture itanka9  路  3Comments

dschreij picture dschreij  路  3Comments

aaronjpitts picture aaronjpitts  路  3Comments

efootstep picture efootstep  路  3Comments

ricardovanlaarhoven picture ricardovanlaarhoven  路  3Comments