Transfer
A dual-panel list for moving items between source and target.
When to Use
- For assigning users to groups or roles
- When items need to be moved between two lists
- For permission or feature selection interfaces
Import
Examples
Basic
With Search
API
TransferProps
dataSource—TransferItem[]— All available itemstargetKeys—string[]— Keys of items in the right panelselectedKeys—string[]— Currently selected keysonChange—(targetKeys, direction, moveKeys) => void— Transfer handleronSelectChange—(sourceSelectedKeys, targetSelectedKeys) => void— Selection handlerrender—(item) => ReactNode— Item render functionshowSearch—boolean— Show search input (default:false)titles—[string, string]— Panel titlesoperations—[string, string]— Button labelspagination—boolean | { pageSize }— Enable paginationdisabled—boolean— Disable the transfer
TransferItem
key—string— Unique identifiertitle—string— Item display textdisabled—boolean— Disable the item