VTab API
name | type | default |
|---|---|---|
string
| undefined | |
The applied color when the component is in an active state. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | undefined | |
Creates a v-icon component after default content in the append slot. | ||
string
| undefined | |
Sets the color of component when not focused. | ||
string | number | boolean | false | |
Applies utility border classes to the component. To use it, you need to omit the | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
'vertical' | 'horizontal' | 'horizontal' | |
Changes the direction of the tabs. Can be either | ||
boolean
| false | |
Removes the ability to click or target the component. | ||
string | number | undefined | |
Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page. | ||
boolean
| false | |
Exactly match the link. Without this, ‘/’ will match every route. You can find more information about the exact prop on the vue-router documentation. | ||
boolean
| false | |
Forces component to take up all available space up to their maximum width (300px), and centers it. | ||
string | number | undefined | |
Sets the height for the component. | ||
boolean
| false | |
Hides the active tab slider component (no exit or enter animation). | ||
string
| undefined | |
Designates the component as anchor and applies the href attribute. | ||
| boolean | string | (string | [string, number])[] | (new () => any) | FunctionalComponent | false | |
Apply a specific icon using the v-icon component. The button will become round. | ||
boolean
| false | |
Changes the slider to take full height. Automatically propagated from VTabs. | ||
string | boolean | false | |
Displays linear progress bar. Can either be a String which specifies which color is applied to the progress bar (any material color or theme color - primary, secondary, success, info, warning, error) or a Boolean which uses the component color (set by color prop - if it’s supported by the component) or the primary color. | ||
string | number | undefined | |
Sets the maximum height for the component. | ||
string | number | undefined | |
Sets the maximum width for the component. | ||
string | number | undefined | |
Sets the minimum height for the component. | ||
string | number | undefined | |
Sets the minimum width for the component. | ||
| string | (string | [string, number])[] | (new () => any) | FunctionalComponent | undefined | |
Creates a v-icon component in the prepend slot before default content. | ||
boolean
| false | |
Puts the button in a readonly state. Cannot be clicked or navigated to by keyboard. | ||
boolean
| false | |
Setting replace prop will call | ||
boolean | { class: string; keys: string[] } | true | |
Applies the v-ripple directive. | ||
string | number | boolean | undefined | |
Designates the border-radius applied to the component. This can be 0, xs, sm, true, lg, xl, pill, circle, and shaped. Find more information on available border radius classes on the Border Radius page. | ||
string
| 'v-tab--selected' | |
Configure the active CSS class applied when an item is selected. | ||
string | number | 'default' | |
Sets the height and width of the component. Default unit is px. Can also use the following predefined sizes: x-small, small, default, large, and x-large. | ||
string
| undefined | |
Applies specified color to the slider when active on that component - supports utility colors (for example | ||
'shift' | 'grow' | 'fade' | undefined | |
Changes slider transition to one of the predefined animation presets. | ||
string | number | undefined | |
Applies custom slider transition duration. Default duration depends on transition type (fade: 400, grow: 350, shift: 225). | ||
boolean
| false | |
Reduces padding to 0 8px. | ||
'end' | 'start' | 'both' | undefined | |
Extends content to the edges to move main content from prepend and append slots. | ||
boolean
| false | |
Displays the tab as a flex-column. | ||
string | (new () => any) | FunctionalComponent | 'button' | |
Specify a custom tag used on the root element. | ||
string | number | boolean | undefined | |
Specify content text for the component. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
boolean
| false | |
Removes any applied border-radius from the component. | ||
string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric | undefined | |
Denotes the target route of the link. You can find more information about the to prop on the vue-router documentation. | ||
any
| undefined | |
The value used when the component is selected in a group. If not provided, a unique ID will be used. | ||
'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain' | 'text' | |
Applies a distinct style to the component. | ||
string | number | undefined | |
Sets the width for the component. | ||
Internal representation when used in VBtnToggle. | ||