Skip to content

Mobile-friendly plan comparison

A full plan comparison table on large screens; on phones the criteria stay visible and you pick which plan is shown next to them.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

Comparison tables with three or four columns become unreadable on a phone: you scroll sideways and lose the criteria. Here, on large screens every plan is shown with the recommended one highlighted; below 640 px, a group of radio buttons picks the plan shown next to the criteria column, which stays put. It is a real table, with column and row headers, a caption, and ticks announced as included or not included to screen readers; the buttons work with the arrow keys and have a visible focus. Without JavaScript, the whole table scrolls inside its frame (keyboard accessible) with a sticky criteria column. 44 px targets, AA contrast in light and dark mode, no horizontal page scrolling from 360 px. Example: a coworking space in Nantes.

Code

Loading the code…

The code of this component in

Archive contents

tableau-comparatif-forfaits-mobile-html-tailwind.zip3 files · 5 Ko

  • index.html13 Ko
  • README.md4 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • A documentation table showing where a kit or component has been tested (static HTML, WordPress, Elementor, Webflow, v0…), with status, last test date and a remark, filterable by status.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A table of the towns and postcodes a tradesperson covers, with response time and travel fee, filtered by search and by zone.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A timetable table sorted by column and filtered with level and free-place chips, whose rows each become a card on phones.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • A filterable table whose visible rows export in one click to a CSV file that opens cleanly in Excel or LibreOffice.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component