Skip to content

Data Table UI Kit — Sortable, Searchable & Paginated Table Components (HTML/CSS/JS)

2 downloads 23 views Updated 9 hours ago
Data Table UI Kit — Sortable, Searchable & Paginated Table Components (HTML/CSS/JS)
Price
Free
No cost
Downloads
2
Category
UI Design
Last update
Nov 25, 2026
License
MIT / Free use
Reviewed by our team before publishing

About this code

Data Table UI Kit — Sortable, Searchable & Paginated Table Components (HTML/CSS/JS)

Stop building tables from scratch. This Data Table UI Kit gives you three production-ready, good-looking data tables — searchable, sortable, paginated, selectable and theme-aware — powered by one small, well-commented JavaScript helper. Zero dependencies, no build step, no framework. Just copy the files and your table works.

Perfect for admin dashboards, order management pages, customer lists, inventory panels, and any project where a plain HTML table is not enough. All sample data uses Indian names, cities and ₹ rupee formatting, so it feels at home in Indian projects.

Features

  • Live search — type and the rows filter instantly across name, city, SKU, status and more, with a "Showing 1–5 of 12 rows" counter.
  • Click-to-sort columns — click any header to sort ascending/descending, with clear ▲ / ▼ indicators; numbers sort numerically, text alphabetically.
  • Pagination built in — Prev / Next controls with "Page 1 of 3", automatically disabled on the first and last page.
  • Row selection + bulk actions — checkboxes, select-all for the current page, a bulk-action bar with Export selected to CSV and Delete selected (with confirmation).
  • Status & stock badges — colour-coded pills for Paid / Pending / Shipped / Cancelled and In Stock / Low Stock / Out of Stock, in light and dark themes.
  • Dark / light theme toggle — one click switches the whole page; your choice is remembered in localStorage. All colours are CSS variables, so re-branding is a one-line change.

What's inside

  • index.html — demo page with three live tables: Orders (search + sort + paginate), Customers (row selection + bulk actions + rows-per-page), Products (stock badges + theme toggle).
  • table.css — complete styling for all three tables, badges, pagination and both themes.
  • table.js — the reusable initDataTable() helper plus realistic Indian sample data (₹ amounts, Indian names & cities).
  • README.txt — setup guide, full config reference, and a step-by-step on copying any table into your own project.

How to use it in your project

Copy table.css and table.js, give your table the class dt, add data-sort="field" to sortable headers, and call initDataTable({ tbody, rows, columns, ... }) with your data. Full examples and every config option are documented in README.txt. Works in any modern browser — no server, no libraries, no build step.

Need a Custom Website or Mobile App?

Downloading free code is just the start. Yadu Tech builds complete websites and mobile apps for businesses — design, development, deployment, all done for you.

👉 Chat on WhatsApp

Features & includes

Full source code
Easy setup
Clean, modular code
Responsive design

You might also like

More in UI Design
NavKit — Responsive Navigation UI Kit with Navbar, Sidebar, Bottom Nav & Breadcrumbs (HTML/CSS/JS)
Free
UI Design • 5d ago

NavKit — Responsive Navigation UI Kit with Navbar, Sidebar, Bottom Nav & Breadcrumbs (HTML/CSS/JS)

NavKit is a free, dependency-free navigation UI kit for websites and web apps — seven production-ready navigation components in one clean pa...

3 43
Free
ModalKit — Modal & Popup UI Kit (Dialogs, Confirm Boxes & Lightbox)
Free
UI Design • 1w ago

ModalKit — Modal & Popup UI Kit (Dialogs, Confirm Boxes & Lightbox)

ModalKit is a complete modal & popup UI kit for any website — 8 production-ready modals, dialogs and popups in one small package. Zero depen...

1 70
Free
ToastKit UI — Toast & Notification Component Kit (HTML/CSS/JS)
Free
UI Design • 2w ago

ToastKit UI — Toast & Notification Component Kit (HTML/CSS/JS)

ToastKit UI — Toast & Notification Component Kit Toast notifications jo user ko pareshan nahi, guide karti hain. ToastKit UI is a lightweigh...

1 121
Free
Data Table UI Kit — Sortable, Searchable & Paginated Table Components (HTML/CSS/JS)
Free
Download