Progress

Linear progress bar.

import { Progress } from "@/rl-ui";

<Progress value={42} />

Examples

Values

import { Progress } from "@/rl-ui";

<>
<Progress value={15} />
<Progress value={50} />
<Progress value={90} />
</>

Indeterminate

import { Progress } from "@/rl-ui";

<Progress indeterminate />

API

PropTypeDefaultDescription
valuenumber0Current progress.
maxnumber100Maximum value.
indeterminatebooleanfalseAnimated unknown progress.
colorstring—Indicator color.
backgroundColorstring—Track color.
heightstring | number"h-2"Bar height.
widthstring | number"w-full"Bar width.