Status Dot (Presence Indicator)
The tiny colored circle on an avatar saying online, busy or away.
Also known as: Presence Indicator
aria-label="Online"When to use it
In chat and team apps.
Common mistake
Don’t rely on red versus green alone.
Accessibility
Pair the color with text or a shape; red and green are hard for color-blind users.
Name in code
| HTML/CSS | aria-label="Online" |
|---|---|
| React | <Badge variant="dot"> |
| Jetpack Compose | Badge on BadgedBox (custom color) |
| SwiftUI | Circle().overlay on avatar |
Ready prompt for your coding agent
Add a Status Dot (Presence Indicator) to this screen.
What it is: The tiny colored circle on an avatar saying online, busy or away.
Implement with: aria-label="Online" (HTML/CSS).
Accessibility: Pair the color with text or a shape; red and green are hard for color-blind users.
When to use it: In chat and team apps.
Avoid: Don’t rely on red versus green alone.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.