Badge
Installation
Usage
<rh-badge number="1" aria-label="1 new message">1</rh-badge>
rh-badge
None
DOM Property | Description | Type | Default |
---|---|---|---|
state |
Denotes the state-of-affairs this badge represents |
|
|
number |
Sets a numeric value for a badge. You can pair it with |
|
|
threshold |
Sets a threshold for the numeric value and adds |
|
|
None
None
None
None
None
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.