Table with CSV export
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
Description
For a small management tool (jobs, invoices, orders, sign-ups), this component adds an “Export to CSV” button that downloads exactly the visible rows: when a status filter is applied, only the displayed rows go into the file, whose name includes the filter. The file is built for Excel in French: semicolon separator, UTF-8 with BOM for accents, doubled quotes and values containing a semicolon wrapped in quotes. Everything runs in the browser, with no server or library. The number of visible rows and the download are announced to screen readers; labelled filter, 44 px targets, visible focus, AA contrast in light and dark mode, no horizontal scrolling from 360 px (date, client and job stacked in one cell, exported as three columns). Example: a plumber's jobs for the month.
Code
Loading the code…
The code of this component in
Archive contents
tableau-export-csv-html-tailwind.zip3 files · 5 Ko
- index.html11 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

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

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

A price table by service: one package to pick, options to tick, and the total with the estimated time recalculated on every click.
- Tailwind
- React
- CSS
- WordPress