Documentation
Progress

Progress

Display progress relative to a limit or related to a task.

Usage

First of all, you need to import the Progress component from the kitchn package.

import { Progress } from "kitchn"

Default

Custom max

Dynamic colors

States

Props

NameTypeDefaultRequiredDescriptionAccepted values
valuenumber0The current value of the progress bar.-
maxnumber100-The max value of the progress bar.-
colorsRecord<number, string>--The custom colors for the progress bar.-
statesRecord<number, string | React.ReactNode >--The custom states for the progress bar.-
titlebooleantrue-The title of the progress bar.-
checkpointTitlebooleantrue-The title of the progress bar's checkpoint.-