Tables

Basic Table

Using the most basic table markup, here’s how .table-based tables look in Bootstrap.

NamePhone NumberDate of BirthActions
Vanessa Tucker864-348-0485June 21, 1961
William Harris914-939-2458May 15, 1948
Sharon Lessman704-993-5435September 14, 1965
Christina Mason765-382-8195April 2, 1971
Robin Schneiders202-672-1407October 12, 1966

Striped Rows

Use .table-striped to add zebra-striping to any table row within the <tbody>.

NamePhone NumberDate of BirthActions
Vanessa Tucker864-348-0485June 21, 1961
William Harris914-939-2458May 15, 1948
Sharon Lessman704-993-5435September 14, 1965
Christina Mason765-382-8195April 2, 1971
Robin Schneiders202-672-1407October 12, 1966

Condensed Table

Add .table-sm to make tables more compact by cutting cell padding in half.

Operation SystemUsersShare
Windows8.23240%
Mac OS3.32220%
Linux4.23234%
FreeBSD1.12112%
Chrome OS1.33115%
Android2.30120%
iOS1.16214%
Windows Phone5627%
Other1.18114%

Hoverable Rows

Add .table-hover to enable a hover state on table rows within a <tbody>.

NamePhone NumberDate of Birth
Avatar Vanessa Tucker864-348-0485June 21, 1961
Avatar William Harris914-939-2458May 15, 1948
Avatar Sharon Lessman704-993-5435September 14, 1965
Avatar Christina Mason765-382-8195April 2, 1971

Bordered Table

Add .table-bordered for borders on all sides of the table and cells.

NamePhone NumberDate of BirthActions
Vanessa Tucker864-348-0485June 21, 1961
William Harris914-939-2458May 15, 1948
Sharon Lessman704-993-5435September 14, 1965
Christina Mason765-382-8195April 2, 1971
Robin Schneiders202-672-1407October 12, 1966

Contextual Classes

Use contextual classes to color table rows or individual cells.

NamePhone NumberDate of BirthActions
Vanessa Tucker864-348-0485June 21, 1961
William Harris914-939-2458May 15, 1948
Sharon Lessman704-993-5435September 14, 1965
Christina Mason765-382-8195April 2, 1971
Robin Schneiders202-672-1407October 12, 1966

Always responsive

Across every breakpoint, use .table-responsive for horizontally scrolling tables.

#HeadingHeadingHeadingHeadingHeadingHeadingHeadingHeadingHeading
1CellCellCellCellCellCellCellCellCell
2CellCellCellCellCellCellCellCellCell
3CellCellCellCellCellCellCellCellCell

Explore AdminKit Pro

Color modeLight, dark, or the mode of the operating system.
Light
Dark
Auto

Sidebar color schemeChange the colors of the sidebar.
Default
Colored
Light

Sidebar layoutChange the layout of the sidebar.

Sidebar positionToggle the position of the sidebar.

LayoutToggle container layout system.