Overview
A statistic showcases a data point or quick fact visually.

- Figma library
-
Ready - Responsive
-
Ready - RH Elements
-
Ready - webRH
-
Ready
Sample element
Demo
View a live version of this element and see how it can be customized.
<rh-stat>
<span slot="statistic">Statistic Placeholder</span>
<span>Description Placeholder</span>
</rh-stat>
<script type="module">
import '@patternfly/elements/pf-icon/pf-icon.js';
import '@rhds/elements/rh-stat/rh-stat.js';
</script>
<rh-stat>
demo in a new tabWhen to use
- When you need to add visual emphasis to a statistic
- When you need to pair a data point with supporting text to add more context
- When you need to display several statistics together in a group
Status checklist
Property | Status | Meaning |
---|---|---|
Figma library |
|
Component is available in the Figma library |
Responsive |
|
Component responds to changing viewport sizes in Figma and the browser |
RH Elements |
|
Component is available as a web component |
webRH |
|
Component is available as a web component |
Related elements or patterns
Feedback
To give feedback about anything on this page, contact us.
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit