Transfer List API
View componentThe 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.
| Prop | Type | Default |
|---|---|---|
| options# | { value: string; label: React.ReactNode; disabled?: boolean }[]Available options. | — |
| value | defaultValue# | string[]Controlled or uncontrolled selected values. | — |
| onValueChange# | (value: string[]) => voidCalled after moving values. | — |
| sourceTitle | targetTitle# | React.ReactNodePanel headings. | — |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
Source code
If you didn't find what you need here, read the component implementation .