VDS

Progress

Shows task completion progress.

Installation

npm install @vds-testing/react @vds-testing/styles
npm install @vds-testing/elements @vds-testing/styles

See Installation for CSS setup.

Usage

React:

import { Progress } from "@vds-testing/react"
<Progress value={60} />

Web Components:

<script type="module">
  import "@vds-testing/elements";
</script>
<vds-progress value="60"></vds-progress>

Examples

Different values

Custom max

Anatomy

  • Progress - A single progress bar element

Props

Progress

Prop Type Default Description
value number 0 Current progress value
max number 100 Maximum value
class string - Additional CSS classes