sigilUI

Comparison Table

Compare features across products or plans in a table.

@sigil-ui/componentsReact

Preview

Feature comparison Interactive

Import

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

Usage

<ComparisonTable
    columns={["Sigil", "Typical UI kit"]}
    features={[
      { name: "Token coverage", values: { Sigil: true, "Typical UI kit": false } },
      { name: "Live presets", values: { Sigil: true, "Typical UI kit": false } },
      { name: "Agent constraints", values: { Sigil: true, "Typical UI kit": false } },
    ]}
  />

Props

PropTypeDefaultDescription
featuresComparisonFeature[]—Feature rows to compare.
columnsstring[]—Column names (keys matching the values in features).

Token integration

CSS VariablePurpose
--s-border-styleBorder style
--s-borderBorder
--s-radius-mdRadius md
--s-shadow-smShadow sm
--s-text-mutedText muted
--s-textText
--s-surface-elevatedSurface elevated
--s-duration-fastDuration fast
--s-successSuccess