AdaptTable for Mantine

Mobile cards in Mantine

Below the mobile breakpoint every row becomes a Mantine card. Same columns, same row content, same query state — there is nothing to configure and no second layout to build.

paginationMode="auto" resolves to infinite scroll on phones and a pager on desktop. Per column, mobileLabel and hideOnMobile tune what a card shows.

Unlabeled identity fields span the card; labeled details share the available width. Column renderers keep native avatars, badges and progress indicators. Set forceMobile to false to keep a horizontally scrolling table on phones.

Each card is a Mantine Card, and compact density switches it to the tighter Mantine padding — the phone layout inherits your theme rather than approximating it.

The code

import { DataTable } from "@adapttable/mantine";

export function People({ rows, columns }) {
  return (
    <DataTable
      data={rows}
      columns={columns}
      rowKey={(row) => row.id}
      paginationMode="auto"
      mobileBreakpoint={768}
    />
  );
}

Install

pnpm add @adapttable/mantine @adapttable/core @mantine/core @mantine/hooks

The same feature in the other kits

More Mantine features

Reference: mobile. More of this kit: AdaptTable for Mantine, or the live demo.