VDivider API
Props
name | type | default |
|---|---|---|
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
string | number | (string | number)[] | undefined | |
Increases content spacing from the lines. When passed as an array, the second value shifts slot content down (or right in vertical mode). | ||
boolean
| false | |
Adds fading effect for both sides. | ||
boolean
| false | |
Adds indentation (72px) for normal dividers, reduces max height for vertical. | ||
string | number | undefined | |
Sets the dividers length. Default unit is px. | ||
string | number | undefined | |
Sets the component’s opacity value | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
string | number | undefined | |
Sets the dividers thickness. Default unit is px. | ||
'dashed' | 'dotted' | 'double' | 'solid' | 'solid' | |
Applies | ||
boolean
| false | |
Displays dividers vertically. | ||
Slots
The default Vue slot. | ||
SASS Variables
name | default |
|---|---|
( $divider-border-color, $divider-border-style, $divider-border-width ) | |
null | |
settings.$border-style-root | |
thin 0 0 0 | |
0 16px | |
4px 0 | |
1 1 100% | |
linear-gradient(90deg, transparent, #000, transparent) | |
72px | |
calc(100% - #{$divider-inset-margin}) | |
8px | |
var(--v-border-opacity) | |
0 thin 0 0 | |
linear-gradient(0deg, transparent, #000, transparent) | |
$divider-margin | |
$divider-margin | |
calc(100% - #{$divider-margin * 2}) | |
-1px |