Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 894 Bytes

File metadata and controls

30 lines (17 loc) · 894 Bytes

ProgressBar

This feature is still experimental. “Experimental” means this is an early implementation subject to drastic and breaking changes.

A simple horizontal progress bar component.

Supports two modes: determinate and indeterminate. A progress bar is determinate when a specific progress value has been specified (from 0 to 100), and indeterminate when a value hasn't been specified.

Props

The component accepts the following props:

value: number

The progress value, a number from 0 to 100. If a value is not specified, the progress bar will be considered indeterminate.

  • Required: No
className: string

A CSS class to apply to the underlying div element, serving as a progress bar track.

  • Required: No

Inherited props

Any additional props will be passed the underlying <progress/> element.