Components
Table
Composable table primitives for data display.
Use Table to lay out tabular data with consistent header, body, and footer sections.
| Name | Role |
|---|---|
| Tile UI | Design system |
| shadcn | Registry |
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from '@tile-ui/vue';
export default function TableDemo() {
return (
<Table>
<TableHeader>Registry install
pnpm dlx shadcn@latest add @tile-ui/tablePackage usage
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from '@tile-ui/vue';
<Table>
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>
</TableRow>
</TableHeader>
<TableBody>
<TableRow>
<TableCell>Tile UI</TableCell>
</TableRow>
</TableBody>
</Table>Highlights
- Header, body, footer, and caption
- Row, head, and cell primitives
- Pairs with Pagination
Registry dependencies
| Item | Purpose |
|---|---|
table |
Component source and module styles |
core |
Framework-agnostic logic helpers |
styles |
Shared SCSS tokens and globals |
API reference
Table
No custom props.
TableHeader
No custom props.
TableBody
No custom props.
TableFooter
No custom props.
TableRow
No custom props.
TableHead
No custom props.
TableCell
No custom props.
TableCaption
No custom props.