TidalUI

Service status preview

Grouped service health and incident history from your own status data.

pro · Blocks · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/service-status

Import components/ui/tidal.css, components/ui/service-status.css. Wrap installed components in tidal-scope.

Preview

Service status component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/service-status.css";
import{TidalServiceStatus}from"./components/ui/service-status";
export default()=><div className="tidal-scope"><TidalServiceStatus groups={[{id:"example",label:"Demo",services:[{id:"example",label:"Demo",status:"operational"}]}]} title={"Demo"}/></div>;

API and props

TidalServiceStatus.groups (required)
ReadonlyArray<TidalServiceGroup>

Required groups value accepted by this exported component.

TidalServiceStatus.title (required)
ReactNode

Required title value accepted by this exported component.

TidalServiceStatus.action
ReactNode

Optional action value accepted by this exported component.

TidalServiceStatus.announceUpdates
boolean | undefined

Optional announce updates value accepted by this exported component.

TidalServiceStatus.description
ReactNode

Optional description value accepted by this exported component.

TidalServiceStatus.emptyMessage
ReactNode

Optional empty message value accepted by this exported component.

TidalServiceStatus.headingLevel
"h2" | "h3" | "h4" | "h5" | "h6" | undefined

Optional heading level value accepted by this exported component.

TidalServiceStatus.incidents
ReadonlyArray<TidalServiceIncident> | undefined

Optional incidents value accepted by this exported component.

TidalServiceStatus.labels
Partial<Record<TidalServiceHealth, string>> | undefined

Optional labels value accepted by this exported component.

TidalServiceStatus.noIncidentsMessage
ReactNode

Optional no incidents message value accepted by this exported component.

TidalServiceStatus.updated
{ label: string; dateTime?: string; } | undefined

Optional updated value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas