Vuetify: [Feature Request] Horizontal expansion panels

Created on 11 Jul 2018  路  10Comments  路  Source: vuetifyjs/vuetify

What problem does this feature solve?



Horizontal accordions would be ideal for navigating timeline or page-like content in a more natural fashion. As an example, I am currently developing a banner creator where you can of course add/remove slides to each banner. It would feel more intuitive if the expandable panels were horizontal in order to navigate between slides from left to right and back.

What is your proposed solution?



Adding a horizontal attribute to v-expansion-panel should suffice. Maybe a couple more attributes to specify header labels to start from top to bottom (default) or bottom to top as in the following examples:

top-to-bottom:
https://davidwalsh.name/demo/css-vertical-text.php

bottom-to-top:
https://cdn.css-tricks.com/wp-content/uploads/2014/03/90-deg.png

A link to a more basic example of a horizontal accordion (second one down):
https://www.jqueryscript.net/demo/Simple-Vertical-Horizontal-Accordion-Plugin-with-jQuery-asAccordion/#toc2

feature

Most helpful comment

@MartinX3 Would you please show an example of how to do horizontal expand/collapse with <v-item-group>?

All 10 comments

I second this request. Also, I don't know if @bkuri meant this as well but I would also love to see normal (horizontal) rows that expand sideways/horizontally.

BTW, great work on the examples, @bkuri.

This is something that can be done in userland after v1.3 with the introduction of v-item-group. I'll tag so I remember to double check before release.

As promised, available in v-item-group in v1.3

How to use it with the 1.3 beta? :)
https://next.vuetifyjs.com/en/components/item-groups

Ahhh:
I could do
<v-flex :xs10="!showSecondItem" :xs5="showSecondItem">

@MartinX3 Would you please show an example of how to do horizontal expand/collapse with <v-item-group>?

ditto. What would be the most elegant way to implement the expand/collapse of v-item-group?

+1 for example

please, i would like a example too

@johnleider would you be able to provide an example of horizontal
expansion-panels?

@johnleider would you be able to provide an example of horizontal expansion-panels?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

itanka9 picture itanka9  路  3Comments

aaronjpitts picture aaronjpitts  路  3Comments

chriswa picture chriswa  路  3Comments

Antway picture Antway  路  3Comments

paladin2005 picture paladin2005  路  3Comments