Card table with sorting and filters
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
Description
The follow-up to the card table on mobile, for a class timetable, a workshop list or availabilities: every header is a button that sorts its column, a second click reverses the order, and aria-sort tells screen readers which sort is active. Days and times sort in week order, levels from most accessible to most advanced, places by number and text in French alphabetical order; ties keep the day-then-time order. Single-choice chips filter by level and a toggle chip hides full classes; sorting and filters combine and the result is announced (“4 classes out of 10, sorted by start time, ascending”). Below 40 rem each row becomes a card whose cells show their label, and a “Sort by” list replaces the headers, kept in sync with them. An empty state offers “Reset filters” and returns focus to the chips. Without JavaScript the full timetable shows and the filters stay hidden. 44 px buttons, visible focus, AA contrast in light and dark mode. Example: a yoga studio’s week.
Code
Loading the code…
The code of this component in
Archive contents
tableau-cartes-mobile-tri-filtres-html-tailwind.zip3 files · 8 Ko
- index.html41 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 filterable table whose visible rows export in one click to a CSV file that opens cleanly in Excel or LibreOffice.
- 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