Uptime

Description

The Uptime component is part of the Tesserae UI library.

Displays system status over time using colored segments and month grids.

API reference

class

UptimeBars

public class UptimeBars : IComponent, IHasMarginPadding

A horizontal series of small status bars showing per-period uptime / availability over a time window.

Namespace
Tesserae
Implements
IComponent, IHasMarginPadding

Constructors

NameDescription
UptimeBarsInitializes a new instance of this class.
Constructor
UptimeBars
public UptimeBars()

Initializes a new instance of this class.

Properties

NameDescription
MarginGets or sets the CSS margin of the component.
PaddingGets or sets the CSS padding of the component.
Property
UptimeBars.Margin
public string Margin { get ; set ; }

Gets or sets the CSS margin of the component.

Property
UptimeBars.Padding
public string Padding { get ; set ; }

Gets or sets the CSS padding of the component.

Methods

NameDescription
ItemsAdds the given items to the component.
CompactRenders the component in a compact form.
RenderRenders the component's root HTML element.
Method
UptimeBars.Items
public UptimeBars Items(IEnumerable<(UptimeStatus status, IComponent tooltipContent)> items)

Adds the given items to the component.

Method
UptimeBars.Compact
public UptimeBars Compact()

Renders the component in a compact form.

Method
UptimeBars.Render
public HTMLElement Render()

Renders the component's root HTML element.

class

UptimeCalendar

public class UptimeCalendar : IComponent, IHasMarginPadding

A calendar-grid visualisation of daily uptime / availability over a multi-month window.

Namespace
Tesserae
Implements
IComponent, IHasMarginPadding

Constructors

NameDescription
UptimeCalendarInitializes a new instance of this class.
Constructor
UptimeCalendar
public UptimeCalendar(string title, string subtitle)

Initializes a new instance of this class.

Properties

NameDescription
MarginGets or sets the CSS margin of the component.
PaddingGets or sets the CSS padding of the component.
Property
UptimeCalendar.Margin
public string Margin { get ; set ; }

Gets or sets the CSS margin of the component.

Property
UptimeCalendar.Padding
public string Padding { get ; set ; }

Gets or sets the CSS padding of the component.

Methods

NameDescription
ItemsAdds the given items to the component.
RenderRenders the component's root HTML element.
Method
UptimeCalendar.Items
public UptimeCalendar Items(IEnumerable<(UptimeStatus status, IComponent tooltipContent)> items)

Adds the given items to the component.

Method
UptimeCalendar.Render
public HTMLElement Render()

Renders the component's root HTML element.

enum

UptimeStatus

public enum UptimeStatus

Predefined statuses (up, down, degraded, unknown) used by UptimeBars and UptimeCalendar.

Namespace
Tesserae

Samples

Last 90 days uptime

Service Uptime (compact view)

Service Uptime History

See also

© 2026 Curiosity. All rights reserved.