Skip to main content
Version: Next

TransferList API

import { TransferList } from '@editora/ui-react';

Props​

PropTypeDescription
addActionLabelstring
availableEmptyLabelstring
availableLabelstring
descriptionstring
disabledboolean
elevationTransferListElevation
errorstring
labelstring
namestring
onChange(detail: TransferListChangeDetail) => void
onValueChange(value: string[]) => void
options (required)TransferListOption[]
radiusnumber | string
removeActionLabelstring
selectedEmptyLabelstring
selectedLabelstring
selectionIndicatorTransferListSelectionIndicator
showActionCountsboolean
showActionLabelsboolean
showPanelCountsboolean
sizeTransferListSize
toneTransferListTone
valuestring[]
variantTransferListVariant

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-transfer-list>​

TransferList renders the ui-transfer-list custom element from @editora/ui-core, which can also be used without React.

Attributes: add-action-label, available-empty-label, available-label, description, disabled, elevation, error, label, name, options, radius, remove-action-label, selected-empty-label, selected-label, selection-indicator, show-action-counts, show-action-labels, show-panel-counts, size, tone, value, variant

Events: change