Skip to Content
Archi-ui 1.0.25 is released 🎉
ComponentsLinearProgress

LinearProgress

Progress indicators commonly known as spinners, express an unspecified wait time or display the length of a process.

Progress indicators inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates

  • Determinate indicators display how long an operation will take.
  • Indeterminate indicators visualize an unspecified wait time.

Basic LinearProgress

Usage

import { LinearProgress } from 'archi-ui'
<LinearProgress />

Color

Use color prop to apply different colors for component.

Variant

The LinearProgress comes with four variants: indeterminate(default), determinate, buffer, query.

Indeterminate

Determinate

0%

50%

Buffer

0%

50%

Query

Size

Use size prop to change the size of the component.

LinearProgress API

API reference docs for the React LinearProgress component.

Props

NameTypeDefaultDescription
classNamestring-Override or extend the styles applied to the component.
variant'determinate' | 'indeterminate' | 'buffer' | 'query''indeterminate'The variant to use. Use indeterminate or query when there is no progress value.
size'lg' | 'md' | 'sm''sm'The size of the component.
color'primary' | 'secondary' | 'info' | 'warning' | 'success' | 'error''primary'The color of the component.
valuenumber100The value of the progress indicator for the determinate and buffer variants. Value between 0 and 100.
minValuenumber0The minValue for the progress indicator for the determinate and buffer variants.
maxValuenumber100The maxValue for the progress indicator for the determinate and buffer variants.
bufferValuenumber-The value for the buffer variant. Value between 0 and 100.
Last updated on