AdaptTable for Chakra

Right-to-left Chakra data table

An Arabic table mirrors the entire layout — search, sort arrows, pinned columns and the pager. Not just translated strings: a genuinely flipped axis.

The filters popover anchors and flips from the correct edge; that is the part only a real RTL page can show.

locale="ar" sets the strings and the direction. The table and the popover are Chakra.

locale="ar" flips the Chakra table and its Popover, which anchors from the inline-end edge the way the rest of a Chakra RTL app does.

The code

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

export function People({ rows, columns }) {
  return (
    <DataTable
      data={rows}
      columns={columns}
      rowKey={(row) => row.id}
      locale="ar"
      filtersMode="popover"
    />
  );
}

Install

pnpm add @adapttable/chakra @adapttable/core @chakra-ui/react @emotion/react

The same feature in the other kits

More Chakra features

Reference: i18n-rtl. More of this kit: AdaptTable for Chakra, or the live demo.