Counter
Show the number of notifications, pending items, or results.
Basic usage
A value above max appears with a plus sign. In the example, accessible text retains the actual count of 128 items. Enable showZero to display zero.
Pending orders
128API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
value | number | required |
max | number | 99 |
showZero | boolean | false |
label | string | actual count |
placement | inline, top-start, top-end, bottom-start, bottom-end | inline |
size | sm, md, lg | md |