New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fylgja/progress

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fylgja/progress

The progress component show a progression of a form or somethings else

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
decreased by-5.88%
Maintainers
1
Weekly downloads
 
Created
Source

Fylgja - Progress

NPM version license

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";
// Or via PostCSS import
@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;

Keywords

FAQs

Package last updated on 06 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc