Skip to main content

Tables

Responsive tables to display data of customer, products, and more.


Default table

idNameEmailProfession
1John Smithjohn@smith.comManager
2Jane Doejane@doe.comDesigner
3John Doejohn@doe.comDeveloper
4Jane Smithjane@smithBackend
5Travis Johnsontravis@johnson.comFrontend
<table class="table">
<thead>
<tr>
<th>id</th>
<th>Name</th>
<th>Email</th>
<th>Profession</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>John Smith</td>
<td>john@smith.com</td>
<td>Manager</td>
</tr>
</tbody>
</table>

With the background and alternate color row table

idNameEmailProfession
1John Smithjohn@smith.comManager
2Jane Doejane@doe.comDesigner
3John Doejohn@doe.comDeveloper
4Jane Smithjane@smithBackend
5Travis Johnsontravis@johnson.comFrontend
<table class="table">
<thead class="has-background">...</thead>
<tbody class="tbody">...</tbody>
</table>

Bordered table

idNameEmailProfession
1John Smithjohn@smith.comManager
2Jane Doejane@doe.comDesigner
3John Doejohn@doe.comDeveloper
4Jane Smithjane@smithBackend
5Travis Johnsontravis@johnson.comFrontend
<table class="table is-bordered">
...
</table>

Just bottom border in each row table

idNameEmailProfession
1John Smithjohn@smith.comManager
2Jane Doejane@doe.comDesigner
3John Doejohn@doe.comDeveloper
4Jane Smithjane@smithBackend
5Travis Johnsontravis@johnson.comFrontend
<table class="table is-bottom-bordered">
...
</table>

Smooth table design

idNameEmailProfession
1John Smithjohn@smith.comManager
2Jane Doejane@doe.comDesigner
3John Doejohn@doe.comDeveloper
4Jane Smithjane@smithBackend
5Travis Johnsontravis@johnson.comFrontend
<table class="table is-smooth">
...
</table>

Responsive table

To add a responsive table just cover it with a div with table-container class. It works for mobile and desktop.

idNameEmailProfessionAddressCountryCityPhone number
1John Smithjohn@smith.comManagerBronx 0001, Street Scouts BouleavardUnited StatesNew York000-000-0000
2Jane Doejane@doe.comDesignerBronx 0001, Street Scouts BouleavardUnited StatesNew York000-000-0000
3John Doejohn@doe.comDeveloperBronx 0001, Street Scouts BouleavardUnited StatesNew York000-000-0000
4Jane Smithjane@smithBackendBronx 0001, Street Scouts BouleavardUnited StatesNew York000-000-0000
5Travis Johnsontravis@johnson.comFrontendBronx 0001, Street Scouts BouleavardUnited StatesNew York000-000-0000
<div class="table-container">
<table class="table">
...
</table>
</div>

Table with input checkbox

idNameEmailProfession
1John Smithjohn@smith.comManager
2Jane Doejane@doe.comDesigner
3John Doejohn@doe.comDeveloper
4Jane Smithjane@smithBackend
5Travis Johnsontravis@johnson.comFrontend