Data

Table API

Table provides a responsive wrapper plus semantic table primitives for dashboards, CMS lists, and build data.

Preview

RouteStatusLoad
/docsReady
Build82%

Import

import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@axonyx/react";

Props

PropTypeDefaultDescription
wrapClassNamestringundefinedClass applied to the responsive table wrapper.
density"sm" | "md" | "lg""md"Adjusts table cell padding for compact or roomy data views.
zebrabooleanfalseApplies alternating row surfaces for longer admin and CMS tables.
classNamestringundefinedClass applied to the table element.

CSS contract

.ax-table-wrap
.ax-table
.ax-table__header
.ax-table__cell
th
td