Default dot

<Indicator>
  <Avatar radius="sm" />
</Indicator>

With label (count)

3
99+
<Indicator label="3" size={18}>
  <Avatar radius="sm" />
</Indicator>
<Indicator label="99+" size={20} color="red">
  <Avatar radius="sm" />
</Indicator>

Positions

<Indicator position="top-end">...</Indicator>
<Indicator position="bottom-start">...</Indicator>
<Indicator position="middle-center">...</Indicator>

Colors and processing

<Indicator color="green" withBorder>
  <Avatar radius="sm" />
</Indicator>
<Indicator color="red" processing>
  <Avatar radius="sm" />
</Indicator>
<Indicator disabled>
  <Avatar radius="sm" />
</Indicator>

Props

PropTypeDefaultDescription
colorstringFill color of the indicator badge
sizenumber|stringDiameter of the badge — pixel number or CSS length
labelReactNodeText or element inside the badge; omit for a plain dot
offsetnumberDistance in pixels between badge and child edge
positionIndicatorPosition'top-end'Corner or edge where the badge is anchored
withBorderbooleanAdds a white border around the badge
processingbooleanPulse animation to indicate live or active state
disabledbooleanHides the badge while still rendering the child
inlinebooleanUses inline-flex positioning instead of absolute
classstringAdditional CSS class names
styleobjectInline styles
childrenReactNodeThe element the badge is anchored to