Skip to content
PixiKit

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
NameTypeDefaultDescription
titlestring"How we compare"The heading above the comparison. Leave empty for none.
descriptionstring"What each one does, row by row. Where something is not known, we say so."The line under the heading. Leave empty for none.
oursComparisonLightsSide{ name: "Your product" }Your product, highlighted on the left.
theirsComparisonLightsSide{ name: "The other one" }The product you compare against.
rowsComparisonLightsRow[]DEFAULT_ROWSThe rows, each with both answers.
labelsComparisonLightsLabelsDEFAULT_LABELSThe words for yes, partly, no and unknown.
vsLabelstring"vs"The word between the two names.
accentColorstring"#7c3aed"Your side's highlight and the yes lights.
classNamestringNone