Progress Bar

Progress Bar component is a visual indicator that displays the progression of a task or process. It provides users with a clear visual representation of the completion status, making it easier to track and understand ongoing activities.

TypeResource
DesignFigma
MobileMobile Storybook
CodeGitlab
Progress Bar Preview

Usage

import id.co.biofarma.binduiandroid.components.progressbar.ProgressBar
ProgressBar(
  (label = 'Label'),
  (type = 'linear'),
  (value = 75),
  (size = 'md'),
  (showInfo = false),
  (showPercentage = true)
);

Examples

Type (optional)

Use type line or circle to select a progress bar.

Progress Bar Example Type


Size (optional)

Use size 2xs, xs, sm, md, lg, or xl to determine the size of the progress bar.

Progress Bar Example Size


Mode (optional)

Use mode to use dark or light mode.

Progress Bar Example Mode


Props

PropsRequiredDefaultTypedescription
idfalse-stringA unique identifier for the progress bar.
labelfalse-stringThe label text for the progress bar.
typefalselineline , circleThe type variant of the progress bar (line, circle).
sizefalsemdxs, sm, md, lg, xlThe size of progress bar component (xs, sm, md, lg, xl).
maxValuefalse100intMaximal value information from the progress bar.
showInfofalsefalsebooleanIf true, the progress information will be assigned to the progress bar.
stylefalse-ModifierCustom styles for the progress bar component.
valuefalse0intValue information from the progress bar.
variantfalseprimaryprimaryThe visual color variant of the progress bar.
showPercentfalsetruebooleanIf false, the percentage information will be omitted from the progress bar.
BIND © Biofarma Innovate Next-level Design .