TransferList
Move items between two lists
Import
Source
Docs
Package
Usage
Frameworks
Libraries
Native scrollbars
By default, TransferList uses ScrollArea to render list.
If you want to use native scrollbars instead, set div
as a list component:
Frameworks
Libraries
Custom item component
To customize item appearance, replace default item component:
- Add additional props to data
- Build a component which will consume your data object
- Provide custom component via
itemComponent
prop - Customize search with
filter
function
Employees to hire
Employees to fire
Initial selection
Set initial selected items with initialSelection
prop.
Value should be a tuple of two arrays which contain values from data:
Frameworks
Libraries
Grouping items
Responsive styles
Set breakpoint
prop to specify at which breakpoint TransferList will collapse to 1 column:
Feedback
Your feedback is most valuable contribution to the project, please share how you use Mantine, what features are missing and what is done good
Leave feedback