CounterLabel
Adds a count to navigational elements and buttons.
Page navigation navigation
React
ready
Rails
ready
Figma
React examples
Default
(12)
Scheme variants
The primary variant is visually heavier than the default.
(12) (12)
Props
CounterLabel
| Name | Default | Description |
|---|---|---|
scheme | 'primary' | 'secondary'Pass in 'primary' for a darker background and inverse text, or 'secondary' for a lighter background and primary text. Omitting the scheme prop renders the default counter scheme | |
className | stringClass name(s) for custom styling. | |
sx Deprecated | BetterSystemStyleObject |