Tables – 10 Free HTML Table & Datatable Templates

Tables is a pack of ten table templates, from a full vanilla-JavaScript datatable to pure-CSS report layouts. Each design is a single self-contained HTML file with the CSS and JavaScript inlined — no jQuery, no DataTables.js, no build step.

The flagship design implements live search, sortable columns, and pagination in about eighty lines of readable vanilla JavaScript, with its data in a plain array you can swap for an API response. The other nine cover the layouts real products need: striped reports, dark admin tables, a responsive card-stack pattern for mobile, sticky headers, row selection with bulk actions, expandable detail rows, comparison matrices, printable invoices, and a minimal hairline table.

The ten designs

  1. Vanilla JS Datatable — live search, click-to-sort columns, and numbered pagination with zero dependencies.
  2. Striped Table — zebra rows, hover highlight, dark header, totals footer; pure CSS.
  3. Dark Admin Table — glowing status dots, CSS load bars, and row actions for monitoring UIs.
  4. Responsive Stack — restacks into labelled cards below 620px using data-label attributes; CSS only.
  5. Sticky Header — pinned header over a scrollable body with position: sticky.
  6. Selectable Rows — select-all with indeterminate state and a bulk-action bar that appears on selection.
  7. Expandable Rows — click-to-expand detail lines, an accordion inside a table.
  8. Comparison Table — feature matrix with a highlighted recommended column and per-plan buttons.
  9. Invoice Table — line items, subtotal/tax/total block, and print styles for clean PDF export.
  10. Minimal Table — hairline dividers, generous spacing, tabular numerals.
Vanilla JavaScript datatable with search, sorting, and pagination
Dark admin status table with load bars and status dots

At a glance

  • 10 designs, one folder each, single index.html per design
  • Plain HTML/CSS + vanilla JavaScript — no jQuery, no table plugins
  • Responsive patterns included (card-stack + scroll strategies)
  • Accessible: proper table semantics, focusable controls, aria labels on actions
  • System font stacks, tabular numerals for data columns
  • README with a design index and wiring notes

How to use

Copy a design’s markup and top-of-file CSS block into your project. For the datatable, replace the DATA array with your rows — sorting, search, and paging keep working. Preview everything on the live demo index or read the full write-ups on our free table templates page.

FAQ

Can I use these in commercial projects?

Yes — the pack follows the standard uiCookies license. Attribution details are on the license page.

Does the datatable handle large datasets?

It renders the current page only, so a few thousand rows in the array stay fast. For truly large data, keep the same UI and swap the filter/sort functions for server-side queries.

Aigars Silkalns

Designed & written by Aigars Silkalns

Aigars Silkalns is a Latvian entrepreneur and web developer who founded Colorlib, a hub for distinctive WordPress themes. Trained in technology and design, he began as a freelancer and launched Colorlib in 2013, earning acclaim for user-friendly, modern, responsive themes. A champion of open source, Silkalns shares insights on web trends and entrepreneurship. His mission is to make web design simple and accessible, empowering people worldwide to build professional sites with ease.

XLinkedInMore about uiCookies →

Free
Demo