Data display

Status

@xui/status

A coloured dot with a label, for the state of a thing — online, degraded, failed.

Install

pnpm add @xui/status

Add the barrel to a standalone component's imports:

import { XuiStatusImports } from '@xui/status';

@Component({
  imports: [XuiStatusImports],
  // …
})

Examples

Default

Loading preview…

API

XuiStatus

componentxui-status

A presence dot — the badge that says whether someone is online.

Variants

AxisOptionsDefaultpresenceonlineidledndofflinesizesmmdlgmd

Inputs

NameTypeDefaultclassClassValueThe user-defined classes''presenceXuiStatusVariants['presence']Which state to show. Each one carries both its own colour and its own cut-out shape.this.config.presencesizeXuiStatusVariants['size']Diameter of the dot, from the shared control scale.this.config.size

Source

libs/ui/status/xui

xUI 2.0.0 — Apache 2.0 licensed. Built with Angular and Tailwind CSS.