Skip to content

Data Table

Sortable table built on table primitives (tap header to sort).

Terminal window
npx github:truongnat/rnui#cli add data-table

or directly via the shadcn CLI:

Terminal window
npx shadcn add https://<registry-base>/r/nativewind/data-table.json # or /uniwind/

npm dependencies installed automatically: lucide-react-native

components/ui/data-table.tsx
// See the source file for the API:
  • components/ui/data-table.tsx

Installs together with: utils, text, theme, table