Throttle Builder · Components · Basic

Comparison table

Up to 5 columns by 40 rows. A cell of check, cross or dash draws a mark.

The Comparison table component in the Components library, with its description and settings
The Comparison table component in the Components library, with its description and settings

What it is for

Compare up to 5 options across up to 40 rows. In a row, a cell of check, cross or dash draws a mark; any other text is shown as it is.

Where you can use it

On any page, template, saved section, header or footer.

In the editor, open the Add tab of the left panel and drag it into a column. Its type is basic.comparison-table, version 1.

Options

Content tab

OptionKeyAllowed valuesDefault
CaptioncaptionText, up to 200 characters. One value per language.Empty
Columns (max 5)columnsA list of up to 5 items; each item has the fields below.No items
Rows (max 40)rowsA list of up to 40 items; each item has the fields below.No items
Sticky headerstickyHeaderOn or off.Off
Sticky first columnstickyFirstColumnOn or off.Off
On a phonemobileModeScroll (scroll), Stacked (stacked).Scroll (scroll)
First column headingfeatureLabelText, up to 60 characters. One value per language.“Feature”
Text for checkincludedTextText, up to 40 characters. One value per language.“Included”
Text for crossnotIncludedTextText, up to 40 characters. One value per language.“Not included”
Text for dashnotApplicableTextText, up to 40 characters. One value per language.“Not applicable”
Scroll area name (for screen readers)scrollLabelText, up to 100 characters. One value per language.“Comparison table, scrollable”

Style tab

OptionKeyAllowed valuesDefault
Text colourcolorA theme colour (token:name) or a hex colour (#rrggbb or #rrggbbaa).Empty
Highlight colourhighlightColorA theme colour (token:name) or a hex colour (#rrggbb or #rrggbbaa).Empty

Fields of each item in Columns (max 5)

FieldKeyAllowed valuesDefault
TitletitleText, up to 80 characters. One value per language.Empty
Highlight this columnhighlightOn or off.Off
Button linklinkA link to a page, product, collection, category, a search, or a web address.Empty
Button labelbuttonLabelText, up to 60 characters. One value per language.Empty

Fields of each item in Rows (max 40)

FieldKeyAllowed valuesDefault
Row labellabelText, up to 120 characters. One value per language.Empty
Column 1 (text, check, cross or dash)value1Text, up to 80 characters. One value per language.Empty
Column 2value2Text, up to 80 characters. One value per language.Empty
Column 3value3Text, up to 80 characters. One value per language.Empty
Column 4value4Text, up to 80 characters. One value per language.Empty
Column 5value5Text, up to 80 characters. One value per language.Empty

Every component also has the common options: Hide, Anchor, Space above, Space below, Entrance animation and Entrance delay.

Responsive behaviour

Every option can be set again for tablet (768 to 1024 px) and phone (767 px and below): switch the device at the top of the editor and change it there. Tablet starts from the desktop value and phone from the tablet value, so you only set what differs.

On a phone the table scrolls sideways (keyboard focusable) or, in stacked mode, turns into one card per column.

SEO and accessibility

It is a real table with a caption, column headers and row headers. Marks are also written as text ("Included", "Not included"), so screen readers and search engines read them.

With an AI agent

An agent adds it with add_widget and changes its options with update_node, using the keys above. See the MCP tool reference.

The widget an agent adds
{
  "type": "basic.comparison-table",
  "v": 1,
  "props": {}
}
Generated from the code
The option tables on this page are generated from the component definitions in @usethrottle/builder-schema 0.4.2 and @usethrottle/storefront-react 0.4.5.