Status Dot

Alignment target:@astryxdesign/core v0.7.1 · StatusDot

Usage #

Import the component from its dedicated entry. Structural styles are loaded automatically.

Vue
<script setup lang="ts">
import { StatusDot } from '@astryx-vue/core/StatusDot'
</script>

<template>
  <StatusDot label="Online" variant="success" />
</template>

Anatomy

ElementDescription
DotPainted status dot that carries the selected semantic variant.
Status iconOptional caller-supplied icon rendered inside the dot.

Best practices #

GuidancePractice
RecommendedAlways provide label; screen readers announce it via aria-label.
RecommendedUse the dot as a supporting signal alongside a visible text label.
RecommendedUse isPulsing for live, ongoing activity such as streaming or syncing.
Don'tRely on color alone for critical status. Color is not perceivable by everyone.
Don'tUse many pulsing dots on the same screen; it creates visual noise.

Examples #

Status Dot — Pulsing

Open in Playground

isPulsing makes the dot breathe, for a state that is still in progress.

Status Dot — Status indicators

Online
Away
Offline
Unknown
Open in Playground

A label beside the dot for online, away, offline, and unknown.

Status Dot — Variants

Open in Playground

Neutral, info, success, warning, and error, side by side.