sigilUI

Comparison Section

Feature comparison table with check/cross icons or custom text per cell.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

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

Usage

<ComparisonSection title="One system, fewer overrides" usLabel="Sigil" themLabel="Manual styling" features={[{ name: "Shared design tokens", us: true, them: false }, { name: "Theme switching", us: "One preset", them: "Per component" }, { name: "Accessible primitives", us: true, them: "Add separately" }]} />

Props

PropTypeDefaultDescription
labelstring—Uppercase mono label
titlestring"How we compare"Section heading
descriptionstring—Supporting text
usLabelstring"Us"Column header for your product
themLabelstring"Others"Column header for competitors
featuresComparisonFeature[]requiredArray of { name, us, them } — boolean shows check/cross, string shows text
classNamestring—Additional CSS classes

Plus all standard <section> HTML attributes.