StealThis .dev

Pricing — Feature comparison matrix

A full feature-comparison matrix for a fictional SaaS, Northwind, with four plan columns (Starter, Pro, Scale, Enterprise) and fifteen features grouped into Core, Collaboration, Security and Support sections. Cells render inline check and cross SVG marks or specific values like 10 GB and Unlimited. A sticky header keeps plan names, prices and CTAs in view, a monthly to annual switch retunes every price, you can highlight one plan to dim the rest, collapse any feature group, and the first column stays pinned during horizontal scroll on mobile.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Feature comparison matrix

A complete pricing comparison table for the fictional Northwind platform. Four plan columns — Starter, Pro, Scale and Enterprise — run across the top inside sticky header cards that carry the plan name, a one-line blurb, the live price, a contextual CTA and a Highlight control. The body is split into four collapsible sections (Core platform, Collaboration, Security & compliance, and Support) totalling fifteen features. Each cell either resolves a boolean to an inline check or cross SVG, or shows a concrete value such as 100 GB, 48 h or Unlimited. A Most popular badge calls out the Pro tier.

The matrix is built for scanning and deciding. A monthly/annual switch retunes every numeric price with a subtle bump animation and updates the per-seat billing notes and the header subtitle. Pressing Highlight on any plan dims and desaturates the other columns so a single tier stands out top to bottom; pressing it again, hitting the Clear highlight button, or tapping Esc restores the full view. Every feature group collapses from its sticky section header, and the CTA buttons fire a toast confirming the trial, signup or sales flow.

On narrow screens the table scrolls horizontally inside a focusable region while the feature-name column stays pinned to the left edge, so the row labels never scroll out of reach. The whole component is keyboard-usable with visible focus rings, the switch is exposed as an ARIA switch, group toggles report their expanded state, and the toast announces through an aria-live region. The layout, marks and tooltips remain legible down to 360px.

Illustrative UI only — fictional brand, plans and pricing.