Comparison Lights
A head-to-head header with your product highlighted, and rows of yes, partly, no and unknown lights for each side.
pixikit.com/docs/blocks/comparison/lights
Customize
Accent color
Props
9| Name | Type | Default | Description |
|---|---|---|---|
title | string | "How we compare" | The heading above the comparison. Leave empty for none. |
description | string | "What each one does, row by row. Where something is not known, we say so." | The line under the heading. Leave empty for none. |
ours | ComparisonLightsSide | { name: "Your product" } | Your product, highlighted on the left. |
theirs | ComparisonLightsSide | { name: "The other one" } | The product you compare against. |
rows | ComparisonLightsRow[] | DEFAULT_ROWS | The rows, each with both answers. |
labels | ComparisonLightsLabels | DEFAULT_LABELS | The words for yes, partly, no and unknown. |
vsLabel | string | "vs" | The word between the two names. |
accentColor | string | "#7c3aed" | Your side's highlight and the yes lights. |
className | string | None |