Fylgja - Progress

The progress component is used to show progress indication in a form or somethings else.
Fylgja supports both the native HTML progress element and the class based option.
Installation
npm install @fylgja/progress
Then include the component in to your code via;
@use "@fylgja/progress";
@import "@fylgja/progress";
How to use
No instructions are really needed.
The progress styles are automatically added when loaded.
For the native html element progress.
But if you can't use the native html element, use the progress class instead.
<div class="progress" style="--progress: 70%;"></div>
For this you will need to use also the CSS variable --progress
to set the progress,
instead of using the value attribute.
Config
Want more control on the base styles, than the CSS variable.
Down here are the following SCSS variables you can modify.
$progress-height: 0.8em !default;
$progress-margin: 1em 0 !default;
$progress-radius: 0.5em !default;
$progress-border: 0 !default;
$progress-bg: rgba(#ddd, 0.3) !default;
$progress-color: var(--color-theme, #{$color-theme}) !default;
$progress-animation-timing: 1s linear infinite !default;
$progress-transition: width 0.6s ease !default;
$progress-loader-bg: rgba($color-on-theme, 0.2) !default;