Progress<mds-progress>Generated from @maggioli-design-system/magma@2.3.0dist/documentation.json. Encapsulation: shadow.
Magma components are web components: custom elements you write like HTML tags, with any framework or without one. Props configure them, events tell you what happened, methods are functions you call on the element and slots take the content you put inside it.
Props
Set a prop as an HTML attribute in the markup, or as a property from JavaScript. The Attribute column gives the name of the attribute, a dash when it is the same as the property; props without one, such as arrays and functions, are set from JavaScript only. To turn a boolean attribute off, remove it: never write disabled="false".direction
-
horizontal | radial | vertical | undefinedhorizontalSpecifies the direction of the progress bar, if horizonatl or vertical
progress
-
number0A value between 0 and 1 that rapresents the status progress
size
-
lg | md | sm | xl | undefinedsmSets the size of the component
steps
-
stringInizio,Un quarto,Metà,Tre quarti,FineSets the steps that can be pronounced by accessibility technologies
typography
-
label | option | undefinedoptionThe typography of the component
variant
-
ai | dark | error | info | light | primary | success | warning | undefinedprimarySets the theme variant colors