Skip to content

Introduction

expo-modern-table is a data table component for Expo and React Native. It is a finished, themeable UI — not a headless toolkit — built on FlashList, Reanimated and Gesture Handler, and it runs on iOS, Android and the web.

You give it rows and column definitions; a useTable hook handles search, sorting, filters, pagination and selection on the device, or just the state when your API does the work.

const table = useTable(orders, columns, 20);
return <ModernTable columns={columns} {...table.getTableProps()} />;

Layout

Horizontal scrolling with sticky (pinned) columns, flex / min / max widths, drag to resize and reorder columns, show / hide columns, three row densities.

Data

Locale-aware sorting, global search that folds accents and Turkish letters, text / select / boolean / range filters, computed columns, client-side or server-side pagination.

Rows

Selection with select-all and a bulk-action bar, inline cell editing, drag-to-reorder, expandable detail rows, grouping and a summary (footer) row.

States

Loading, refetching, error-with-retry and empty states, pull to refresh and infinite scroll.

Design

Light and dark themes, token overrides, custom fonts, replaceable icons and a complete translations map (English and Turkish included).

Production details

Memoized rows, shared sticky animations, an indexed search, accessibility labels and roles, CSV export, and preferences you can persist.

  • You show real data on mobile: orders, reports, inventories, leaderboards, transactions, admin panels — anything with more than a handful of columns or rows.
  • You want a polished default that already handles sticky columns, gestures, empty states and theming, instead of assembling it from primitives.
  • You need the same table on phones, tablets and the web (react-native-web).
  • A small, static table in an app that already uses React Native Paper — Paper’s DataTable has no extra dependencies.
  • A completely custom design, or table logic shared with a React web app — the headless TanStack Table gives you state and logic and leaves rendering (and virtualization, gestures) to you.

See the comparison for a feature-by-feature look.

The package is 0.x: the API is settling and breaking changes are possible before 1.0, but they are called out in the changelog. It is used in production at MyExamy.