ResourceRow
Data Display

ResourceRow

Volume-style summary row for a cloud or IT resource, with a status dot, name, metadata, and value pair.

Props

ResourceRow extends HTMLAttributes<HTMLDivElement>.

ResourceRowProps props
PropTypeDefaultDescription
toneStatusTone—"ok" | "warn" | "err" | "idle" | "prov" | "dim"
nameReactNode—Resource name (top-left).
metaReactNode—Metadata under the name (bottom-left).
valueReactNode—Primary value (top-right).
valueMetaReactNode—Metadata under the value (bottom-right).

Examples

All tone variants

ResourceRow: all tone variants
ImportTSX
import { ResourceRow } from "@solarius/onset";
import type { StatusTone } from "@solarius/onset";