sigilUI

Spec Table

Present technical specifications as labeled values.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<SpecTable
    title="GPU Specifications"
    groups={[
      {
        title: "Performance",
        rows: [
          { label: "TFLOPS", value: "312", unit: "FP16", highlight: true },
          { label: "Memory", value: "80", unit: "GB HBM3" },
          { label: "Bandwidth", value: "3.35", unit: "TB/s" },
        ],
      },
      {
        title: "Physical",
        rows: [
          { label: "TDP", value: "700", unit: "W" },
          { label: "Process", value: "4nm" },
        ],
      },
    ]}
  />

Props

PropTypeDefaultDescription
rowsSpecRow[]—Ungrouped rows (use when no grouping needed).
groupsSpecGroup[]—Grouped rows with section headings.
titlestring—Title shown at top.

Token integration

CSS VariablePurpose
--s-borderBorder
--s-primary-mutedPrimary muted
--s-text-mutedText muted
--s-textText
--s-font-monoFont mono
--s-radius-cardRadius card
--s-border-styleBorder style
--s-surfaceSurface
--s-shadow-smShadow sm
--s-surface-elevatedSurface elevated