Health Index
Overview
Health index shows a health grade in either a default, mini, or large variation.
Default
Mini
Large
Installation
npm install @patternfly/pfe-health-index
Usage
Default
<pfe-health-index health-index="A">A</pfe-health-index>
Mini
<pfe-health-index health-index="A" size="mini">A</pfe-health-index>
Large
<pfe-health-index health-index="A" size="lg">A</pfe-health-index>
Slots
NoneAttributes
health-index
-
Sets the value for the health index in the UI.
- DOM Property
healthIndex
- Type
-
'A'|'B'|'C'|'D'|'E'|'F'|null
- Default
-
unknown
size
-
Changes the size.
- DOM Property
size
- Type
-
'mini'|'lg'|null
- Default
-
null
DOM Properties
NoneMethods
NoneEvents
NoneCSS Custom Properties
NoneCSS Shadow Parts
None