VOOZH about

URL: https://quasar.dev/vue-components/linear-progress/

⇱ Linear Progress | Quasar Framework


assignment_late
Why donate
travel_explore
API Explorer
build
Quasar CLI (with Vite)
Upgrade Guide
Creating a New Project
The /quasar.config File
Convert q/app-webpack Project
Browser Compatibility
TypeScript Support
Directory Structure
Commands List
CSS Preprocessors
Page Routing with VueRouter
Lazy Loading - Code Splitting
Handling Assets
Boot Files
Prefetch Feature
API Proxying
Handling Vite
Handling import.meta.env
State Management with Pinia
Lint and Format Code
Testing & Auditing
Developing Mobile Apps
Ajax Requests
Opening Dev Server To Public
build
Quasar CLI (with Webpack)
Linear Progress

The QLinearProgress component displays a colored loading bar. The bar can either have a determinate progress or an indeterminate animation. It should be used to inform the user that an action is occurring in the background.

Loading QLinearProgress API...

Usage

Determined state

Determined state


Indeterminate state

Indeterminate state


TIP

For indeterminate state (above) or query state (below) you don’t need to specify the value property.

Query state


Reversed

Reverse progress direction


Style

Custom height


Standard sizes


Stripe


Force dark mode


Buffer

Buffer


With a label

To add a label to the progress bar you can use the default slot. Take care to:

  • use a size big enough to allow showing the label
  • set a text color for the label so that it is visible both on the filled and unfilled areas, or use text-shadow CSS, or use a QBadge as in the example below
With a label



Caught a mistake?Edit this page in browser
1. Introduction
2. QLinearProgress API
3. Usage
3.1. Determined state
3.2. Indeterminate state
3.3. Reversed
3.4. Style
3.5. Buffer
3.6. With a label
Copyright © 2015-present PULSARDEV SRL, Razvan Stoenescu