🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@italia/progress

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@italia/progress

Web component it-progress del Design system .italia con varianti bar, donut e spinner

latest
Source
npmnpm
Version
1.0.0-alpha.17
Version published
Weekly downloads
126
55.56%
Maintainers
2
Weekly downloads
 
Created
Source

This webcomponent follows the open-wc recommendation.

Installazione

npm install @italia/progress

Utilizzo

<script type="module">
  import '@italia/progress';
</script>

Donut

<it-progress type="donut" value="75" it-aria-label="Caricamento"></it-progress>

Proprietà principali donut

  • value (number, 0-1)
  • color (string)
  • trail-color (string)
  • stroke-width (number)
  • trail-width (number)
  • easing (string)
  • duration (number)
  • animate (boolean)
  • it-aria-label (string)

Progress bar

<it-progress type="bar" value="50" it-aria-label="Caricamento"></it-progress>

Varianti bar

<it-progress type="bar" value="35" show-label></it-progress>
<it-progress type="bar" value="35" show-label>35%</it-progress>
<it-progress type="bar" indeterminate it-aria-label="In elaborazione..."></it-progress>
<it-progress type="bar" value="66" color="danger" it-aria-label="Caricamento errore"></it-progress>

Spinner

<it-progress type="spinner" active></it-progress>
<it-progress type="spinner" active double></it-progress>
<it-progress type="spinner" active size="sm"></it-progress>
<it-progress type="spinner" active size="lg"></it-progress>
<it-progress type="spinner" active size="xl"></it-progress>

Accessibilità

  • Il componente usa attributi ARIA appropriati (role="progressbar", aria-valuenow, aria-valuemin, aria-valuemax) in base al type
  • Supporto a label accessibile per donut e progress bar
  • Spinner con testo dedicato agli screen reader tramite slot o fallback interno

Licenza

BSD-3-Clause © Presidenza del Consiglio dei Ministri

FAQs

Package last updated on 04 Jun 2026

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