sigilUI

Status Table

Summarize the state of several services or resources.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { StatusTable } from "@sigil-ui/components";

Usage

<StatusTable
    title="System Status"
    services={[
      { name: "API", status: "operational", uptime: "99.98%", lastIncident: "14 days ago" },
      { name: "Database", status: "operational", uptime: "99.99%" },
      { name: "CDN", status: "degraded", uptime: "99.90%", lastIncident: "2 hours ago" },
      { name: "Auth", status: "operational", uptime: "99.95%", lastIncident: "7 days ago" },
      { name: "Webhooks", status: "maintenance", lastIncident: "Now" },
    ]}
  />

Props

PropTypeDefaultDescription
services (required)ServiceEntry[]—Services configuration.
titlestring—Heading displayed in the component.

Token integration

CSS VariablePurpose
--s-successSuccess
--s-warningWarning
--s-errorError
--s-infoInfo
--s-radius-cardRadius card
--s-border-styleBorder style
--s-borderBorder
--s-surfaceSurface
--s-shadow-smShadow sm
--s-textText
--s-text-mutedText muted
--s-surface-elevatedSurface elevated