Velocity X Components

Standard Data

Row Reorder List

A drag-to-reorder list of rows with a full keyboard equivalent — Alt+Up/Down or move buttons — and a spoken position announcement on every move, for ordered data like pipeline stages or priority queues.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add standard-row-reorder-list

Built for react. Needs react already installed as a peer dependency. An Astro-only project needs @astrojs/react wired up first — this won't run on its own in plain Astro.

Full docs for Row Reorder List →

Needs a licence key — subscribe here, then velocityx loginonce.

react v1.0.1 react
Row Reorder List
  1. New lead1 / 5
  2. Qualified2 / 5
  3. Proposal sent3 / 5
  4. Negotiation4 / 5
  5. Closed won5 / 5

Drag a row, or focus it and use Alt+Up / Alt+Down to reorder.

Props

NameTypeRequiredDefaultDescription
itemsarrayNo[]
getRowIdfunctionNo(item, index) => item.id ?? index
renderLabelfunctionNo(item) => item.label ?? String(item)
onReorderfunctionNo() => {}
labelstringNo"Reorderable list"
classNamestringNo""

No `Props:` JSDoc comment found — types are undocumented in source, only names/defaults are known.

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/standard-row-reorder-list/RowReorderList.jsx

Using the Row Reorder List component

Install it with velocityx add standard-row-reorder-list. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Standard Data.