MiHCM
data/@mihcm/ui·v0.21.0·stable

SortableList

Reorderable list powered by dnd-kit sortable primitives with pointer and keyboard sensors plus a renderItem slot for rich rows.

Live preview

Adjust the controls on the right; the preview and code update in real time.

Profile completionStep 1
Document uploadStep 2
Manager approvalStep 3
example.tsxtsx
import { SortableList } from '@mihcm/ui/SortableList';

export function Example() {
  return (
    <SortableList
  orientation="vertical"
    ></SortableList>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add SortableList
Copies the source into components/ds/SortableList.tsx. You own the file. Use --out to override the directory or --force to overwrite.