The <ProgressBar> component allows you to render the progress and loading state of something.


import { ProgressBar } from 'bumbag';



The progress bar comes with three preset sizes: small, medium and large.


You can use the color prop to add color to your progress bar.

#Max value

By default, the max value of a progress bar is 100. But you can customize this with the maxValue prop.




  • ProgressBar has a role of progressbar
  • ProgressBar has the aria-valuenow attribute set to the current value of the progress bar.
  • ProgressBar has the aria-valuemin attribute set to the minimum value of the progress bar.
  • ProgressBar has the aria-valuemax attribute set to the maximum value of the progress bar.



#ProgressBar Props

color string

Sets the color of the progress bar.

maxValue number

Sets the max value of the progress bar.


  | (string & {})
  | "small"
  | "medium"
  | "large"

Sets the size of the progress bar.

value number

Sets the value of the progress bar.

Inherits Box props


  | (ComponentClass<any, any> & { useProps: any; })
  | (FunctionComponent<any> & { useProps: any; })

className string


  | number
  | boolean
  | {}
  | ReactElement<any, string
  | ((props: any) => ReactElement<any, string
  | ...
  | (new (props: any) => Component<any, any, any>)>)
  | (new (props: any) => Component<...>)>
  | ReactNodeArray
  | ReactPortal
  | ((props: BoxProps) => ReactNode)

alignX "left" | "right" | "center"

alignY "bottom" | "top" | "center"

altitude string

variant string

colorMode string

disabled boolean


  useCSSVariables?: boolean;
  altitudes?: AltitudesThemeConfig;
  borders?: BordersThemeConfig;
  borderRadii?: BorderRadiiThemeConfig;
  ... 94 more ...;
  Template?: TemplateThemeConfig;

elementRef ((instance: any) => void) | RefObject<any>

themeKey string


Copyright © 2020 Jake Moxey