Responsive Tables

Mobile friendly tables that work across all screen sizes.

Full Table

The first way to make a table responsive is to wrap it with <div class="table-responsive"></div>. This way, the table will be horizontally scrollable and all data will be accessible on smaller screens. You could also append the following modifiers to the table-responsive to apply the horizontal scrolling on different screen widths: -sm, -md, -lg, -xl.

Name Email Access Actions
Carol Ray client1@example.com Trial
Helen Jacobs client2@example.com Business
Lisa Jenkins client3@example.com Disabled
Amber Harvey client4@example.com Disabled
Alice Moore client5@example.com Business

Partial Table

The second way is to use responsive utility CSS classes for hiding columns in various screen resolutions. This way you can hide less important columns and keep the most valuable on smaller screens. At the following example the Access column isn't visible on small and extra small screens and Email column isn't visible on extra small screens.

Name Email Access Actions
Danielle Jones client1@example.com Disabled
Lori Moore client2@example.com Disabled
Melissa Rice client3@example.com Business
Betty Kelley client4@example.com Business
Amber Harvey client5@example.com Disabled