Skip to content

Table with selection and bulk actions

An invoice table with checkboxes, a three-state select-all and bulk actions: mark as paid, export to CSV, archive with undo.

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

Description

For the back office of a tradesperson, a charity or a small shop: each row has its box, and the header box “Select all” goes to a mixed state when only some are ticked. The toolbar announces the selection (“2 invoices selected”) and enables its actions: “Mark as paid” updates the rows’ status, “Export to CSV” downloads a real file of the chosen rows, semicolon-separated and readable by Excel with its accents, and “Archive” removes the rows while offering “Undo”, which puts them back exactly where they were. Focus follows the actions (on “Undo” after archiving, on “Select all” after undoing), ticked rows are highlighted and each box has an explicit name (“Select invoice F-2026-119”). Toolbar with role="toolbar", announcements through aria-live, a table with caption and headers, scrolling horizontally on small screens. 44 px targets, AA contrast in light and dark mode. To plug in your server, replace the body of the action functions with your calls.

Code

Loading the code…

The code of this component in

Archive contents

tableau-selection-actions-html-tailwind.zip3 files · 6 Ko

  • index.html14 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