<table-saw> Web Component
@zachleat/table-saw
A small web component for responsive <table> elements.
Demo GitHub338 npm- Popularity
- npm56k
cdn7k
- Versions
8 versions in
1.0.7- Audit
-
0 reports
0 deps - Issues
-
1
2 - 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:


