---
title: "Table title"
description: "This component populates the titles for each table column. They’re ordered by width."
sidebar_label: "Table title"
slug: /reference/components/table-title
---

import ComponentDemo from '@site/src/components/ComponentDemo';

# Table title

This component populates the titles for each table column. They’re ordered by width.

**Package:** `@terreno/ui`  
**Categories:** Component  
**Props interface:** `TableTitleProps`  
**Story source:** [`demo/stories/Tabletitle.stories.tsx`](https://github.com/flourishhealth/terreno/blob/master/demo/stories/Tabletitle.stories.tsx)

## Live demo

<ComponentDemo name="Table title" />

## Props

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `title` | `string` | Yes | The text content of the table title. |
| `align` | `union` |  | Most titles should be left aligned, but some may be centered, such as badges or booleans. It should match the alignment of the column. |
