--- title: Table description: Display your data in a structured tabular format. lastUpdated: 14 Nov, 2025 links: source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Table.tsx ---

#### 1. Install dependencies: ```sh npm install class-variance-authority ```
#### 2. Copy the code 👇 into your project:


## Examples ### Default

### With Checkbox Selection

### With Sticky Header

## API Reference The Table component is composed of several sub-components:
- `Table` - The main table wrapper - `Table.Header` - Table header section (``) - `Table.Body` - Table body section (``) - `Table.Footer` - Table footer section (``) - `Table.Row` - Table row (``) - `Table.Head` - Table header cell (``) - `Table.Cell` - Table data cell (``)