>

Components

Table

Documentation and examples of tables using Perfect UI.

Basic

Using the most basic table markup, here's how the tables look. All the examples are responsive - the tables allow them to be scrolled horizontally with ease.

To create a table, simply add the `.table` class.

To make your table responsive, simply add `.table-responsive` to its parent.

# First Last Handle Action
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Bordered

Add border on all sides of the table and cells.

To create a bordered table, simply add the `.table-bordered` class.

# First Last Handle Action
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Striped

Add zebra-striping to any table row.

To create a striped table, simply add the `.table-striped` class.

# First Last Handle Action
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Hoverable

To create a hoverable table, simply add the `.table-hoverable` class.

# First Last Handle Action
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

These hoverable rows can also be combined with the striped variant:

# First Last Handle Action
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Borderless

A table without borders.

To create a borderless table, simply add the `.table-borderless` class.

# First Last Handle Action
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Headless

A table can render without a table header if no `<thead>` is supplied.

1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter

Selection

Rows can be selectable by making first column as a selectable column.

Simply add a `checkbox` in the first column.

First Last Handle Action
Mark Otto @mdo
Jacob Thornton @fat
Larry the Bird @twitter

Pagination

Example with pagination using Lists .

First Last Handle Action
Mark Otto @mdo
Jacob Thornton @fat
Larry the Bird @twitter

Perfect UI © 2024


No results found