Table with search and filters
A directory table filtered by free search and by category, with the result count announced and rows turned into cards on phones.
- Tailwind
- React
- CSS
- WordPress
Description
For a directory of associations, a list of shops, timetables or a training catalogue: a search field filters rows as you type, across all columns, ignoring case and accents (“theatre” finds “Théâtre”), with several words all required; a drop-down limits to one category, and both combine. The number of results is announced politely (“1 association in sport”) and an empty state offers “Clear filters”, which returns focus to the search field. The table stays semantic (caption, column and row headers); below 40 rem each row becomes a card whose cells show their label, with no horizontal scrolling. Without JavaScript the full table shows and the filters, useless, stay hidden. Filter area in role="search", 44 px labelled fields, AA contrast in light and dark mode. Example: a town’s associations.
Code
Loading the code…
The code of this component in
Archive contents
tableau-recherche-filtres-html-tailwind.zip3 files · 6 Ko
- index.html17 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 filterable table whose visible rows export in one click to a CSV file that opens cleanly in Excel or LibreOffice.
- Tailwind
- React
- CSS
- WordPress