<table-saw> Web Component
@zachleat/table-saw
A small web component for responsive <table> elements.
Demo GitHub337 npm- Popularity
- npm99k
cdn (12mo)7k
- Versions
- 10 versions in1.1.1
New - Audit
-
0 reports
0 deps - Issues
-
0
4 - PRs
-
0
3
A lightweight structural-only zero-dependency web component wrapper for <table> to render wide tables in small viewports. Automatically creates a two-column layout at small screens with table headers repeated throughout.
Works with Container Queries or Media Queries. Easily customize the ratio of the two-column layout in markup.
Heavily inspired by Filament Group’s Tablesaw Stack jQuery plugin (I also worked on that project). Read the August 2014 post: Tablesaw: A Flexible Tool for Responsive Tables.
Update: here’s a bonus video on how we use it on CloudCannon:


