sigilUI

Spec Table

A technical specification table for displaying key-value pairs with optional section grouping.

@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 },
    ]},
  ]}
/>

Props

PropTypeDefaultDescription
rowsSpecRow[]—Ungrouped specification rows
groupsSpecGroup[]—Grouped rows with section headings
titlestring—Optional header title

Token integration

CSS VariablePurpose
--s-primary-mutedHighlighted row background
--s-borderTable borders
--s-surfaceBackground
--s-surface-elevatedGroup header background
--s-textValues
--s-text-mutedLabels, units, group titles
--s-font-monoValue font family
--s-radius-cardContainer radius
--s-shadow-smContainer shadow
--s-border-styleBorder style