Basic Usage

A wrapper which adds a pulsing dot indicator to any component. Perfect for showing notifications, unread counts, or status indicators on icons, buttons, or any other UI element. Simply wrap your component with Indicator and it automatically positions itself as a badge.

Pulse Effect

By default, the indicator includes a subtle pulsing ring effect that radiates outward from the dot. This pulse effect can be disabled when a simpler, static indicator is preferred. One example may be low bandwidth where less animation is warranted.

Color

The indicator supports two color variants to communicate different types of information:

  • Orange - For notifications and alerts
  • Blue - For onboarding and informational indicators

Props

name
type
default
withPulse
boolean
true
color
'blue' | 'orange'
'blue'
children
React.ReactNode
required