Windows

The v-window component provides the baseline functionality for transitioning content from one pane to another. Other components such as v-tabs, v-carousel and v-stepper utilize this component at their core.

Usage

Designed to easily cycle through content, v-window provides a simple interface to create custom implementations.

v-window/usage.vue

API

Examples

Props

Show arrows

By default no arrows are displayed. You can change this by adding the show-arrows prop. If you set the prop value to "hover", they will only show when you mouse over the window.

v-window/prop-show-arrows.vue

Reverse

The reverse prop will reverse the transitions

v-window/prop-reverse.vue

Direction

You can change the transition to vertical using the direction prop

v-window/prop-direction.vue

Customized arrows

Arrows can be customized by using prev and next slots.

v-window/slots-next-prev.vue

Misc

Account creation

Create rich forms with smooth animations. v-window automatically tracks the current selection index to change the transition direction.

v-window/misc-account-creation.vue

Onboarding

v-window makes it easy to create custom components such as a differently styled stepper.

v-window/misc-onboarding.vue

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.