Statistic
Installation
Usage
<rh-stat>
<span slot="statistic">Statistic Placeholder</span>
<span>Description Placeholder</span>
</rh-stat>
rh-stat
Slot Name | Description |
---|---|
icon |
Optional icon |
title |
Statistic title |
statistic |
Statistic data |
cta |
Call to action |
|
Description of the stat |
DOM Property | Description | Type | Default |
---|---|---|---|
icon |
The icon to display in the statistic |
|
|
top |
Whether the title or statistic should be displayed on top in the statistic |
|
|
size |
The size of the statistic |
|
|
isMobile |
Whether the statistic is in a mobile view or not for styling |
|
|
None
None
None
CSS Property | Description | Default |
---|---|---|
--pf-icon--size |
—
|
None
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.