Windows

The v-window component is the baseline functionality for transitioning content from 1 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 truly custom implementations.

API

v-window
Name
active-class
Default
'v-item--active'
Type
string

CSS Class to apply when active

Name
dark
Default
false
Type
boolean

Applies the dark theme variant

Name
light
Default
false
Type
boolean

Applies the light theme variant

Name
mandatory
Default
true
Type
boolean

Forces a value to always be selected

Name
max
Default
undefined
Type
number | string

Sets maximum width

Name
multiple
Default
false
Type
boolean

Allows for multiple selections. Model used must be an Array

Name
reverse
Default
false
Type
boolean

Manually set the window to use the reverseTransition

Name
touch
Default
undefined
Type
object

Provide a custom left and right function when swiped left or right

{
  left: Function
  right: Function
}
Name
touchless
Default
false
Type
boolean

Disable touch support

Name
value
Default
undefined
Type
any

Controls visibility

Name
vertical
Default
false
Type
boolean

Uses a vertical transition when changing windows

Examples

Onboarding

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

Account creation

Create rich forms with smooth animations. v-window automatically tracks the current selection index to automatically change the transition direction. This can be manually controlled with the reverse prop.

Edit this page | language on Github