Progress Bar
The <Progress/> component allows to select or deselect options in a form. It provides a customizable checkbox input with various options.
- Usage
- Props
Import
import { Progress } from "matro-ui";
- Progress: Progress bar component
Usage
Loading...
Live Editor
<label> <LabelText>Example of {`<Progress/>`}, 10%</LabelText> <Progress value={10} /> </label>
Bar Height
To change the height of <Progress/>, simply set the height prop (val. string | number):
Loading...
Live Editor
<label> <LabelText>Example of {`<Progress/>`}, 90%</LabelText> <Progress value={90} height="3" /> </label>
Color Scheme
To change the color of <Progress/>, set the colorScheme prop (val. "red" | "orange" | "yellow" | "green" | "cyangreen" | "cyanblue" | "blue" | "purple" | "pink"):
Loading...
Live Editor
<label> <LabelText>Example of {`<Progress/>`}, 50%</LabelText> <Progress colorScheme="pink" value={50} height="3" /> </label>
Props of <Progress/>:
<Progress/>:value
DescriptionProgress in %.
Typestring | number
height
DescriptionHeight of the 
<Progress/>.Typestring | number
Default"5px"
colorScheme
DescriptionShows last divider if set to true.
Type"red" | "orange" | "yellow" | "green" | "cyangreen" | "cyanblue" | "blue" | "purple" | "pink"
Default--hue: 160