Atelier UI

Search components…

Search components…

Transfer List

Dual listbox with search, checkbox selection and move selected/all buttons between Available and Chosen.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

TransferListProps

Also accepts all props of Omit<React.ComponentProps<"div">, "onChange" | "defaultValue">

PropTypeDefaultDescription
items* requiredTransferListItem[]——
chosenstring[]—Controlled ids in the "Chosen" list (order preserved)
defaultChosenstring[][]—
onChosenChange(ids: string[]) => void——
titles[string, string]["Available", "Chosen"]—

Install

$ npx shadcn@latest add https://chromotion.dev/r/transfer-list.json

More like this