VProgressLinear
TheVProgressLinear component is used to convey data visually to users. It can be used in a variety of scenarios including displaying determinate or indeterminate progress, buffer states, and more.
Usage
The simplest form displays an indeterminate progress indicator.Determinate
The progress linear can represent a determinate state using themodelValue prop.
Buffer
A buffer state can be displayed using thebufferValue prop.
The buffer value should typically be greater than the model value to show the buffered portion ahead of the current progress.
Color
You can customize the color of the progress bar.Background Color
Set the background color independently from the progress bar color.Height
Customize the height of the progress bar.Rounded
Therounded prop adds rounded corners to the progress bar.
Rounded Bar
TheroundedBar prop adds rounded caps to the progress indicator itself.
Striped
Thestriped prop adds a striped pattern to the progress bar.
Stream
Thestream prop adds a streaming animation to indicate buffering.
Reverse
Reverse the direction of the progress bar.The reverse prop is particularly useful for RTL (right-to-left) layouts and automatically adapts to the locale direction.
Default Slot
Display content over the progress bar using the default slot.Location
Position the progress bar at the top or bottom of its container.Clickable
Make the progress bar interactive with theclickable prop.
Props
The percentage value for progress (0-100).
Displays linear progress in an indeterminate state.
Controls whether the progress bar is visible and active.
The percentage value for the buffer (0-100).
Applies specified color to the progress bar.
Applies specified color to the background of the progress bar.
Applies specified color to the buffer portion.
Sets the opacity of the background.
Sets the opacity of the buffer.
Sets the height of the progress bar.
Sets the maximum value for the progress bar.
Displays the progress bar in reverse (right to left).
Displays a stream animation indicating buffering.
Adds a striped pattern to the progress bar.
Adds rounded caps to the progress indicator.
Designates the border-radius applied to the component.
Allows clicking on the progress bar to set the value.
Positions the progress bar absolutely within its container.
Specifies the location of the progress bar when using absolute positioning.
Specify a custom HTML tag to use for the component.
Slots
The default Vue slot for content overlaying the progress bar. Receives current value and buffer as slot props.
Events
Emitted when the progress value changes (when clickable is enabled).
Accessibility
The component automatically includes ARIA attributes:role="progressbar"aria-valuemin="0"aria-valuemax(based on the max prop)aria-valuenow(only for determinate progress)aria-hidden(based on the active state)