Content

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

128

API

Key props and defaults.

PropValues and behaviorDefault
valuenumberrequired
maxnumber99
showZerobooleanfalse
labelstringactual count
placementinline, top-start, top-end, bottom-start, bottom-endinline
sizesm, md, lgmd