Skip to content

Spec sheet with collapsible sections

A product spec sheet as two-column tables in native collapsible sections, with a button to open or close them all.

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

Description

For a technical product page (bike, appliance, tools, professional equipment), this component groups specifications by theme in collapsible sections: motor and battery, dimensions, equipment, warranty. Each section is a native details element whose title gives the number of specs, and its content is a real two-column table with row headers and a caption, with striped rows for easier reading. The first section is open; an Open all / Close all button (with aria-expanded) acts on every section and follows the ones opened by hand. Everything works with the keyboard with a visible focus, and without JavaScript the sections still open one by one. 44 px targets, AA contrast in light and dark mode, no horizontal scrolling from 360 px. Example: an urban electric bike.

Code

Loading the code…

The code of this component in

Archive contents

tableau-specifications-produit-html-tailwind.zip3 files · 5 Ko

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

Tags

Updated on December 3, 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