structyl

Transfer List API

View component

The full prop reference for the Transfer List component. Moves options between available and selected lists.

Import

tsx
import { TransferList } from '@structyl/styled';

Props

TransferList

Two-list transfer control.

PropTypeDefault
options#{ value: string; label: React.ReactNode; disabled?: boolean }[]

Available options.

value | defaultValue#string[]

Controlled or uncontrolled selected values.

onValueChange#(value: string[]) => void

Called after moving values.

sourceTitle | targetTitle#React.ReactNode

Panel headings.

className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library