AdaptTable for Base UI

Right-to-left Base UI 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 Base UI.

locale="ar" flips the Base UI table; the popover still shifts rather than flips, and its swipe direction on the drawer is already mirrored for right-to-left.

The code

import { DataTable } from "@adapttable/base-ui";

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

Install

pnpm add @adapttable/base-ui @adapttable/core @base-ui/react

The same feature in the other kits

More Base UI features

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