Progress

A custom component for displaying progress with support for stacked progress bars.

Example

Progress components are built with two components: a wrapper <i-progress> and at least one <i-progress-bar>. You can set the width of a progress bar by setting its value property.

Progress Example

Sizes

You're able to use the size modifier to control the size of your progress, using one of the available sizes: sm, md, and lg. The default size is set to md.

Progress Sizes

Variants

Inkline includes multiple progress styles. You can change the style of a<i-progress> to set the background using the variant property.

Progress Variants

Bar Variants

Inkline includes multiple progress styles. You can change the style of a <i-progress-bar> to set the bar color using the variant property.

Progress Bar Variants

Value

Inkline allows you to set a min and max modifier to calculate the progress based on a meaningful value. The new min will represent 0% and the max will represent 100%.

Progress Value

Stacked Bars

You can add multiple <i-progress-bar> inside the <i-progress> component to stack them, adding them up to a 100% percentage.

Stacked Progress Bars Example

Component API

Here you can find a list of the various customization options you can use for the progress components as props, as well as available slots.

Progress API
Progress Bar API

Sass Variables

Here you can find a list of the Sass variables you can use for the progress components. If you're looking to find common variables that these rely on, you should take a look at the Sass Variables page.

Progress