---
title: Table
description: Use a Table to display data in rows and columns, with customizable styles and responsive layouts.
---
Default table styling uses the variables and styling from the [Text component](/components/text/).
## Types
### Default
```html
Default table
| Name |
Username |
Department |
Email |
| John Doe |
johdoe |
Development |
john@doe.com |
| Jane Doe |
jandoe |
Development |
jane@doe.com |
| John Smith |
johsmi |
Marketing |
john@smith.com |
| Jane Smith |
jansmi |
Marketing |
jane@smith.com |
```
### Zebra
```html
Zebra table
| Name |
Username |
Department |
Email |
| John Doe |
johdoe |
Development |
john@doe.com |
| Jane Doe |
jandoe |
Development |
jane@doe.com |
| John Smith |
johsmi |
Marketing |
john@smith.com |
| Jane Smith |
jansmi |
Marketing |
jane@smith.com |
```
## Borders
`env-table--borders-*` Valid values `around`, `right`, `bottom`, `left`
```html
Table with borders
| Name |
Username |
Department |
Email |
| John Doe |
johdoe |
Development |
john@doe.com |
| Jane Doe |
jandoe |
Development |
jane@doe.com |
```
## Sizing
### Small
```html
Small table
| Name |
Username |
Department |
Email |
| John Doe |
johdoe |
Development |
john@doe.com |
| Jane Doe |
jandoe |
Development |
jane@doe.com |
```
### Large
```html
Large table
| Name |
Username |
Department |
Email |
| John Doe |
johdoe |
Development |
john@doe.com |
| Jane Doe |
jandoe |
Development |
jane@doe.com |
```
## Contextual styling
### Hover effect
```html
Table with hover effect
| Name |
Username |
Department |
Email |
| John Doe |
johdoe |
Development |
john@doe.com |
| Jane Doe |
jandoe |
Development |
jane@doe.com |
| John Smith |
johsmi |
Marketing |
john@smith.com |
| Jane Smith |
jansmi |
Marketing |
jane@smith.com |
```
### Colors Deprecated
Table with colored rows and cells is deprecated and will be removed.