Comparison Table Module: Setup Guide
Last updated: October 12, 2026
The Comparison Table is a HubSpot CMS module for pricing and plan comparison pages. It shows 2–5 plans side by side, with an optional monthly / annual price switcher, grouped feature sections, check / cross icons, text values, tooltips and a call-to-action button for every plan. On tablets and phones it switches to a mobile layout with collapsible sections. This guide covers installation, every field in the editor and the most common questions.

1. Requirements
- A HubSpot account that can install modules from the HubSpot Marketplace.
- A theme or template with drag-and-drop areas. The module works on website pages, landing pages, blog posts and blog listing pages.
- No external libraries. The module is plain HTML, CSS and JavaScript, so it does not slow your page down with extra requests.
2. Installation
- Open the Comparison Table listing on the HubSpot Marketplace and complete the purchase while logged in to the HubSpot account you want to use it in.
- HubSpot adds the module to your Design Manager under @marketplace. You don’t need to copy or upload any files.
- Open any page in the editor, click Add (+) in the left sidebar, search for Comparison Table and drag it into a section.
- Click the module on the page to open its settings. The Content tab holds your plans and features; the Styles tab holds the design controls.
The module comes with sample content, so it renders right away. Replace the sample plans and features with your own.
3. Content Tab
Section Header
- Show Section Header: turn the heading above the table on or off. Turn it off if your page already has a heading in a separate module.
- Heading and Heading Tag (H2, H3 or H4): pick the tag that fits your page outline for SEO and accessibility.
- Subheading: optional rich text below the heading.
- Alignment: left, center or right.
Comparison Table: pricing
- Enable Annual Pricing: shows a Monthly / Annual switcher above the table and adds a Price (Annual) field to every plan. Turn it off if you only sell one billing period.
- Switcher Labels: rename the two switcher buttons and set the text shown after each price, for example “/mo” and “/yr”, or “per month” and “per year”.
Comparison Table: Plans / Columns
Add between 2 and 5 plans. Three plans give the best result on every screen size. With 4 or 5 plans, the table scrolls sideways on phones. Each plan has these fields:
- Plan Title: the plan name, for example “Starter”.
- Badge Label: an optional pill above the title, for example “Most popular”. Leave it empty to hide it.
- Highlight this Plan: gives the column an accent header, a tinted background and a top border. Use it on one plan only.
- Price (Monthly) and Price (Annual): free text, so you can include the currency symbol, for example “$49” or “€490”. Leave the monthly price empty to hide the price.
- Plan Description: a short tagline under the title.
- CTA Button: button text and link. The link field supports opening in a new tab and the nofollow option.
Drag plans in the sidebar list to change their order.
Comparison Table: Feature Sections
Features are grouped into sections such as “Core features” or “Security & support”. Each section has a Section Heading and a list of Features. Each feature has these fields:
- Feature Name: the label in the left column.
- Indent Row: indents the row to show it is a sub-feature of the row above.
- Tooltip: turn on Enable Tooltip to add an info icon next to the name, with a Tooltip Heading and Tooltip Text. Visitors can open it on hover, by tapping or with the keyboard.
- Values (one per plan column, in order): add one value per plan. Value 1 fills the first plan’s column, Value 2 the second, and so on. Each value can be a Check ✓, a Cross ✕ or Text (for example “Up to 25” or “Unlimited”).
Tip: values are matched to plans by position. If you add, remove or reorder plans, update the values in each feature to match. A plan without a value shows an empty cell, and extra values are ignored.
Config
- Section ID: an HTML id for anchor links, for example “pricing” lets you link to
yourpage#pricing. - Enable Collapse / Expand: adds a button under the plan cards that shows or hides the full feature list, so long tables don’t push the rest of your page down.
- Start Expanded on Desktop: keeps the full list open on screens 1025 px and wider, while phones and tablets still start collapsed.
- Toggle Labels: the button text for the collapsed and expanded states.
4. Styles Tab
Every color and font defaults to your HubSpot theme settings, so the table matches your site without any changes. Change a value only when you want this table to look different from the theme.
| Group | What it controls |
|---|---|
| Section Spacing | Space above and below the module, in pixels. |
| Container | Maximum width of the table. |
| Colors | Background, heading, text and price colors, feature section header colors, highlighted plan header and row tint, badge colors, check and cross icon colors. |
| Billing Switcher | Active pill, track, border, inactive and hover colors, plus border radius and padding. |
| Table | Border color, width and radius, row divider color, highlighted column top border width, feature cell padding and feature column width on desktop. |
| CTA Button | Outline or Filled style, border radius, colors and hover colors, plus a separate set of colors for the button inside the highlighted plan. |
| Typography | Font sizes for plan titles, prices, section headings, feature names and values, each set separately for mobile, tablet and desktop. |
| Icons | Check icon (Circle Check, Check, Square Check, Thumbs Up) and cross icon (Circle X, X Mark), each in Solid or Regular style. |
| Fonts | Turn on Override Theme Font to pick a custom body and heading font for this table only. |
5. Mobile and Tablet Behaviour
At 1024 px and below, the table switches to its mobile layout:
- Plan cards stay at the top, with compact titles and prices.
- Each feature section becomes an accordion that visitors can open and close.
- Each feature name spans the full width, and its values are lined up under the matching plans.
- With 4 or 5 plans on narrow phones, the table scrolls sideways. The scroll area can be focused, so keyboard users can reach every column.


6. Accessibility
- The billing switcher, section toggles and collapse button are real buttons with
aria-pressed/aria-expandedstates. - Tooltips use
role="tooltip", can be opened with the keyboard and close with Escape. - Check and cross icons are announced to screen readers as “Included” and “Not included”.
- When you change colors, check that the text still has enough contrast against its background, especially inside the highlighted plan.
7. Tips and Troubleshooting
Values appear under the wrong plan. Values follow the plan order. After reordering plans, reorder the values in each feature to match.
The button in the highlighted plan is hard to read. The highlighted plan uses its own button colors. Go to Styles → CTA Button and set Highlighted Plan — Button Text (and Highlighted Plan — Outline Border for the Outline style) to a color that contrasts with the highlighted header background, for example white.
Feature names wrap awkwardly on desktop. Increase Feature Column Width under Styles → Table.
Long prices wrap on phones. Long annual prices with a period label, for example “$1,290 /yr”, can break onto two lines on small screens. Use a shorter period label, or lower Price — Mobile under Styles → Typography.
The table looks different from the rest of my site. Check whether Override Theme Font is on, or whether any colors were changed from their theme defaults. Reset them to inherit from the theme again.
I want two tables on one page. That’s supported. Each instance is styled independently, so different settings don’t affect each other.
8. Support
If something doesn’t work as described, email eugene@dmytriiev.es with the page URL, your HubSpot portal ID and a short description or screenshot. Bug fixes are included with your purchase. See the Terms & Conditions and Privacy Policy for details.