Group Table header rows and preserve native table header semantics.

How to use

Use TableHeader as the header region of a Table, containing header TableRows and TableHeads while preserving native table semantics.

  • Place it inside Table, and use TableRow to organize TableHead cells.

  • It provides header-region semantics only. Configure sorting, column widths, and selection through the corresponding TableHead and DataTable APIs.

Import

import { TableHeader } from '@snowui-design-system/components';

Usage

Header columns

API Reference

Property Type Default Example Description
children Snippet — <TableHeader>Content</TableHeader> Header rows with no parameters. Compose TableHead cells in TableRow to preserve thead semantics.
No data