Counter

A compact numeric count pill — notification totals and unread counts, with a 99+ overflow cap and an animated digit roll.

Stablev0.3.0@garn/ui/counter

Default

A danger-tone notification count.

4

Tone × appearance

Every tone rendered against every appearance. Hover a cell for the data attributes it emits; click the copy icon for that combination's JSX.

solidsoft
neutral
8
8
brand
8
8
info
8
8
success
8
8
warning
8
8
danger
8
8
discovery
8
8

Shapes

sharp · rounded · pill, shown with solid colors.

121212
8888

Sizes

sm · md.

1212

Overflow

The 99+ cap and compact (1.2K) abbreviation.

991281,240

Pulse

A reduced-motion-safe activity halo.

3

Owner

Labelled by its owner — the button reads 'Inbox, 4'.

Live

Increment/decrement to watch the digit roll (instant under reduced motion).

3

Indicator

Counter.Indicator — a count anchored onto a notification bell.

5

Indicator Dot

Counter.Indicator — a presence dot on an avatar (overlap='circular').

MA

Indicator Positions

Counter.Indicator — the corner positions.