@usevyre/react@usevyre/vue

Progress

Displays the completion status of a task. Supports deterministic fill, five colour variants, three sizes, and an indeterminate animated mode.


Variants

import { Progress } from "@usevyre/react";

<Progress value={30} />
<Progress value={65} variant="accent" />
<Progress value={90} variant="success" />
<Progress value={45} variant="danger" />
<Progress indeterminate />

Sizes

<Progress value={60} size="sm" variant="accent" />
<Progress value={60} size="md" variant="accent" />
<Progress value={60} size="lg" variant="accent" />

Props

Props

PropTypeDefaultDescription
valuenumberCurrent value. Omit when using indeterminate.
maxnumber100Maximum value.
indeterminatebooleanfalseShows an animated pulse instead of a fill bar.
size"sm" | "md" | "lg""md"Bar height.
variant"default" | "accent" | "teal" | "success" | "danger""default"Fill colour.
classstringAdditional CSS class.