Skip to content
PixiKit

Plan Matrix

A plan comparison table with a sticky header, a row and column tint that follows the pointer, folding groups, a differences-only switch and checks that draw in. One plan at a time with a picker in a narrow container.

pixikit.com/docs/blocks/comparison/plan-matrix

Customize

Sticky header
Collapsible

Props

9
NameTypeDefaultDescription
headingstring"Compare plans"The heading above the table. Leave empty for none.
leadstring"Every plan, row by row. Pick the one that fits the size of your team."The line under the heading. Leave empty for none.
plansPlanMatrixPlan[]DEFAULT_PLANSThe columns, in order.
groupsPlanMatrixGroup[]DEFAULT_GROUPSThe rows, in titled groups.
stickyHeaderbooleantrueThe plan header row sticks to the top of the scroll container and gains a shadow once stuck.
collapsiblebooleantrueEach group title folds its rows.
differencesLabelstring"Show differences only"The label of the switch that hides rows that are the same for every plan. Leave empty for no switch.
labelsPlanMatrixLabelsDEFAULT_LABELSThe built-in words that are not in the data.
classNamestringNone

Related