BlogPlaygroundOne

VProgressLinear API


Props
name
type
default
boolean
false

Applies position: absolute to the component.

boolean
true

Reduce the height to 0, hiding component.

string
undefined

Applies specified color to the control’s background. Used on components that also support the color prop. - supports utility colors with or without bg- prefix (for example success, purple or bg-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string | number
undefined

Background opacity, if null it defaults to 0.3 if background color is not specified or 1 otherwise.

string
undefined

Sets the color of the buffer bar.

string | number
undefined

Set the opacity of the buffer bar.

string | number
0

The percentage value for the buffer.

string | number
null

Specifies amount of chunks to divide the bar into.

string | number
4

Defines size of the gap between chunks.

string | number
null

Defines chunk absolute size. Useful when chunk is narrow.

boolean
false

Clicking on the progress track will automatically set the value.

string
undefined

Applies specified color to the control - supports utility colors with or without text- prefix (for example success, purple or text-purple) or CSS color (#033 or rgba(255, 0, 0, 0.5)). Find a list of built-in classes on the colors page.

string | number
4

Sets the height for the component.

boolean
false

Constantly animates, use when loading progress is unknown.

Anchor
'top'

Specifies the component’s location. Can combine by using a space separated string.

string | number
100

Sets the maximum value the progress can reach.

string | number
0

The v-model value of the component. If component supports the multiple prop, this defaults to an empty array.

string | number
undefined

Set the opacity of the progress bar.

boolean
false

Displays reversed progress (right to left in LTR mode and left to right in RTL).

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.

boolean
false

Applies a border radius to the progress bar.

boolean
false

An alternative style for portraying loading that works in tandem with buffer-value.

boolean
false

Adds a stripe background to the filled portion of the progress component.

string | (new () => any) | FunctionalComponent
'div'

Specify a custom tag used on the root element.

string
undefined

Specify a theme for this component and all of its children.

boolean
false

Removes any applied border-radius from the component.

Events
name
type
[number]

Event that is emitted when the component’s model changes.

Slots
{ value: number; buffer: number }

Provides the current value of the component.

SASS Variables
name
default
currentColor
$progress-linear-background
var(--v-border-opacity)
map.get(settings.$rounded, 'pill')
2.2s
stream .25s infinite linear
4px
0.3
40px 40px
linear-gradient(
  135deg,
  hsla(0, 0%, 100%, .25) 25%,
  transparent 0,
  transparent 50%,
  hsla(0, 0%, 100%, .25) 0,
  hsla(0, 0%, 100%, .25) 75%,
  transparent 0,
  transparent
)
progress-linear-stripes 1s infinite linear
var(--v-progress-linear-height)
.2s settings.$standard-easing