zachleat/table-saw: A small web component for responsive `table` elements.
Now, this is how you design a web component. It’s a progressive enhancement.
Wrap your existing table
element inside table-saw
and it will behave responsively. If anything goes wrong with the JavaScript, the fallback is the regular table that’s already in your markup.
I just wish the installation didn’t assume that you’re using npm …it’s not really “zero dependency” if it depends on that.