sigilUI

Status Badge

Display a labeled status with a matching visual indicator.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { StatusBadge, StatusDot, StatusPill, OnlineIndicator, PresenceAvatar, Notification, NotificationList, InlineAlert, Callout, BannerAlert, ErrorState, LoadingState, SuccessState, ProgressSteps, TimelineProgress, ToastAction, ToastPromise, SkeletonCard, SkeletonTable, SpinnerOverlay } from "@sigil-ui/components";

Usage

<StatusBadge status="success" />
  <StatusBadge status="warning" />
  <StatusBadge status="error" />

Sub-components

This component includes the following parts:

  • <StatusDot>
  • <StatusPill>
  • <OnlineIndicator>
  • <PresenceAvatar>
  • <Notification>
  • <NotificationList>
  • <InlineAlert>
  • <Callout>
  • <BannerAlert>
  • <ErrorState>
  • <LoadingState>
  • <SuccessState>
  • <ProgressSteps>
  • <TimelineProgress>
  • <ToastAction>
  • <ToastPromise>
  • <SkeletonCard>
  • <SkeletonTable>
  • <SpinnerOverlay>

Props

PropTypeDefaultDescription
status"online" | "offline" | "busy" | "away" | "success" | "warning" | "error" | "info" | "neutral"—Status configuration.

Token integration

CSS VariablePurpose
--s-successSuccess
--s-primary-contrastPrimary contrast
--s-text-mutedText muted
--s-errorError
--s-warningWarning
--s-infoInfo
--s-surfaceSurface
--s-textText
--s-radius-fullRadius full
--s-backgroundBackground
--s-card-radiusCard radius
--s-borderBorder