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

TransferList

Dual-pane shuttle: unassigned on the left, assigned on the right, four move buttons in the middle. Per-side filter and multi-select. Web only.

Live preview

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

Available
Showing 6 of 6
Assigned
2 items
example.tsxtsx
import { TransferList } from '@mihcm/ui/TransferList';

export function Example() {
  return (
    <TransferList
  leftLabel="Available"
  rightLabel="Assigned"
  layout="responsive"
  actionsPlacement="between"
  allowMoveAll
  items={demoItems.slice(0, 8)}
    ></TransferList>
  );
}

Install

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

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