Table
Data table with row hover effects and semantic markup.
Installation
Install Table from the Fluid Effect UI registry.
Basic
| Name | Role | Status |
|---|---|---|
| Alice | Engineer | Active |
| Bob | Designer | Away |
| Carol | Manager | Active |
Empty
| Name | Role | Status |
|---|---|---|
No members yetPeople you invite show up here. | ||
API Reference
Types come from the public API. A dash indicates no default is documented here.
Table props
Public source| Prop | Type | Default |
|---|---|---|
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
TableHeader
Public source
| Prop | Type | Default |
|---|---|---|
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
TableBody
Public source
| Prop | Type | Default |
|---|---|---|
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
TableRow
Public source
| Prop | Type | Default |
|---|---|---|
index | number | — |
active | boolean | — |
selected | boolean | — |
nextSelected | boolean | — |
keepRule | boolean | — |
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
TableHead
Public source
| Prop | Type | Default |
|---|---|---|
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
scope | "colgroup" | "col" | "row" | "rowgroup" | 'col' |
TableCell
Public source
| Prop | Type | Default |
|---|---|---|
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |
TableEmpty
Public source
| Prop | Type | Default |
|---|---|---|
columns | number | Required |
rows | number | 3 |
title | string | View.Content<Msg, R> | — |
description | string | View.Content<Msg, R> | — |
action | View.Content<Msg, R> | — |
children | View.Children<Msg, R> | — |
className | string | — |
shape | ShapeVariant | 'rounded' |
size | SizeVariant | 'default' |
surface | number | 1 |