Measured entry

reui-sortable

tableminimal-flat

A client-side React primitive for reordering lists, grids, or table rows with pointer, touch, and keyboard input. It ships as shadcn registry source copied into your app and wraps dnd-kit with Radix Slot composition. It also expects the project cn helper and utility-class styling.

Specimen
Harness screenshot of reui-sortable at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of reui-sortable at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of reui-sortable at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for reui-sortable
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal48.1 KB (113.6 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A capable sortable primitive for teams already committed to dnd-kit, but it is not a standalone table and the default harness mount crashes because required controlled props are absent. It needs a shadcn-style setup and an integration wrapper before it is usable.

Use it if

  • You need controlled drag reordering for rows or cards and can supply stable item identifiers.
  • You want mouse, touch, and keyboard sensors behind one composable API.
  • You need drag handles, disabled items, or a custom overlay while keeping item rendering in your code.

Skip it if

  • You need a complete data table with columns, sorting, selection, and pagination included.
  • You want a drop-in component that renders safely without controlled values and callbacks.
  • You cannot accept the dnd-kit and Radix dependencies for a single reorder interaction.
  • You need a package that works without project aliases, a cn helper, or utility CSS conventions.

Install

Installation record for reui-sortable
Declared dependencies@dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities, radix-ui, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, install the dnd-kit core, sortable, and utilities packages plus radix-ui. Add a cn class-merging helper, configure the source alias or replace that import, provide the utility classes used by the component, and render it from a client-capable React boundary with controlled item state.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Alternatives

Other published entries for the table pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.