Content

CounterAnchor

Position a counter at the corner of a control or avatar.

Basic usage

Place the target and Counter as siblings inside CounterAnchor. Set the corner on Counter.placement and include the count in the action's accessible name. Click to mark the notifications as read.

API

Key props and defaults.

PropValues and behaviorDefault
childrenJSX.Element—
classstring—
styleJSX.CSSProperties or string—