← ui-lab

Reorder List

A keyboard-operable reorderable list. Each item carries a move-up and a move-down button (disabled at the ends of the list); activating one swaps the item with its neighbour. It is the accessibility-first counterpart to drag-based sorting — the order changes entirely through named buttons.

Preview

  • Intro
  • Verse
  • Chorus
  • Bridge

Installation

npx shadcn@latest add https://ui.publictheta.com/r/reorder-list.json

Conformance

This component conforms to the @publictheta/ui-spec reorder-list specification. Run the suite against any implementation with pnpm conformance.