Indicator

Position badges, status markers, and overlays around arbitrary content

Indicator

Indicator positions arbitrary content around another element without changing the wrapped content’s intrinsic size. It uses logical inline positioning, so start and end follow the document direction.

Notification counter

Decorative markers should use aria-hidden="true". When the value conveys information, include it in the control’s accessible name.

Button notification

Avatar status

Avatar status

LM

Positions

Combine one block-axis class with one inline-axis class. Without modifiers, an item appears at top/end.

Position matrix

Start Center End
Anchor content

API

Class Purpose
.indicator Inline-sized positioning context
.indicator-item Positioned arbitrary child
.indicator-top, .indicator-middle, .indicator-bottom Block-axis position
.indicator-start, .indicator-center, .indicator-end Logical inline-axis position

The wrapper intentionally does not clip overflow. A surrounding container that uses overflow: hidden may clip an indicator placed beyond its edge.