Tree

Two List Transfer

Transfer between two lists where the receiver never collapses into a strip: an empty list keeps its height and an explaining caption, and every row has a transfer button.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • the source and target arrays
  • sourceTitle and targetTitle — the panel headings
  • emptyText, sendLabel and movedLabel — they take {item}, {from}, {to}, {sourceTitle}, {sourceCount}, {targetTitle} and {targetCount}

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
Two List Transfer — Transfer between two lists where the receiver never collapses into a strip: an empty list keeps its height and an explaining caption, and every row has a transfer button.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/sortable-004?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

How to use

<Sortable004 source={["SKU", "Supplier"]} target={["Name"]} />

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Left panel
sourceTitle · default: Available fields
Right panel
targetTitle · default: In the report
Accent
accent · default: theme colour
Surface
background · default: theme colour

FAQ

How do I add Two List Transfer with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does Two List Transfer depend on?
No npm packages beyond React and Tailwind CSS.
What can I change in Two List Transfer?
Adapt: the source and target arrays; sourceTitle and targetTitle — the panel headings; emptyText, sendLabel and movedLabel — they take {item}, {from}, {to}, {sourceTitle}, {sourceCount}, {targetTitle} and {targetCount}. Keep as installed: the local --vibeui-sortable-004-* palette — do not swap it for your theme tokens; the minimum panel height: a collapsed target is a target you cannot hit with a mouse; the caption in an empty panel instead of blankness — it explains what to do next.
Is Two List Transfer free?
Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/sortable-004.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

The component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-sortable-004-*. Client-side: "use client" for the sake of both lists' state. The panels are described by a single array and drawn by shared markup, so both sides behave alike. The minimum panel height is set explicitly, so an empty list stays a visible target for the mouse. The arrow button on every row names both sides of the transfer, and the role=status live region reports the result and what is left in both lists. The theme comes from the surrounding color-scheme through light-dark(): the component has no surface of its own by default, it sits directly on the page background. The empty-panel caption, the button label and the live-region phrase are lifted into props, the Russian values remain the defaults.

Tags

  • sortable
  • transfer
  • dual-list
  • a11y
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…