Skip to main content Red Hat Design System logo Contribute on Github

Health index

Overview Style Guidelines Code Accessibility

Overview

Health index displays a health grade (A–F) for a particular item or package.

Four health index components. One is green with letter grade A, one is yellow with letter grade C, one is orange with letter grade D, and one is red with letter grade F.

Status

What do these mean?
Figma library:
Ready
RH Elements:
Ready
WebRH:
Planned

Sample element

A

Demos

View a live version of this component and see how it can be customized.

<rh-health-index grade="C"
size="lg">
C</rh-health-index>

<script type="module">
import '@rhds/elements/rh-health-index/rh-health-index.js';
</script>

Full screen demo

When to use

  • When you need to use severity to communicate the health of something
  • When you need to communicate how secure or vulnerable something is
  • When you need to measure how current or out of date something is

Property Status Meaning
Figma library Ready Component is available in the Figma library
RH Elements Ready Component is available in the RH Elements repo
WebRH Planned Component should be added to the WebRH repo at a later date
© 2021-2024 Red Hat, Inc. Deploys by Netlify