Components · Forms · Transfer
Back to Transfer typesTransfer
Use for choosing a subset of items from a larger pool - two side-by-side list panels with checkboxes, moved between with center arrow buttons, when a multi-select dropdown would be too cramped to compare both sides at once.
Properties
Size, and the left/right panel titles are properties of the same component, not two unrelated lists - change them below to check this widget's style and states in the Live Preview.
Live Preview
Both types compared side by side, each in all 8 states - Hover shows a static hover background on the first source item, Focus shows a focus ring on the right-arrow button, Loading/Empty/No Results replace each panel's rows with a contextual message, Error shows a retry banner above the panels, and Disabled dims the whole widget. One matrix is rendered at the chosen Size, with the panel titles shown as configured above.
When to use
Any time a user needs to pick a subset of items out of a larger pool, and seeing both the available and chosen items side by side helps them decide.
Validation
Both panels are always visibly populated - the left panel starts full of options - so a required Transfer isn't about the widget looking "empty," it's specifically about nothing having been moved into the right/target panel yet.
- Required marking - place the red asterisk on the target panel's own title ("Granted *"), not on the widget as a whole, since that's the panel whose emptiness actually matters.
- Validation timing - validate on submit - there's no meaningful blur point for a widget built around repeated multi-item moves, and flagging it after every single move would fire while the user is still mid-selection.
- Error message - "Move at least one item to the right to continue," not "This field is required" - name the action (move an item) and the direction, since the source panel being full can otherwise read as the field already being satisfied.
- Recovery - anchor the error under the target panel's header and clear it the moment an item lands there, so the fix is visibly tied to the panel that caused it.
Component Guide
Overview
Transfer shows two side-by-side list panels with checkboxes, moved between with center arrow buttons - used for choosing a subset of items from a larger pool when seeing both the available and chosen items at once helps the user decide, unlike a multi-select dropdown that hides one side.
When to Use
- Permission or role assignment - moving specific permissions into an assigned list.
- Building a subset from a larger pool - a playlist builder, a team member picker.
- Choosing visible columns or tags - column visibility chooser, a tag selector.
When Not to Use
- A single value chosen from a list - use Select - Transfer is for choosing several items, not one.
- A small option set - a handful of items rarely justifies two full panels; use Checkbox group instead.
- Hierarchical, nested data - use Tree Select so the structure itself stays visible, rather than flattening it into two plain lists.
Best Practices
- Support search/filter within each panel once the pool of items grows beyond a quick scan.
- Show a live count of selected items in each panel's header.
- Keep the moved-to panel's order meaningful (e.g. order added) rather than silently re-sorting it.
Do and Don't
Do
Both sides named for what membership means, with counts, so the user can see the result of the move without counting rows.
Don't
"List A" and "List B" never say which side is the one that takes effect, so moving an item is a guess.
Accessibility
- Each row's checkbox is independently focusable and labeled with the item's name.
- The arrow buttons that move items between panels have accessible names ("Move selected to chosen"), not just an arrow glyph.
- Moving items announces the change (e.g. via an aria-live region) so screen-reader users know the panels updated.
Related Components
Checkbox, Tree Select, Select.
{
"component": "Transfer",
"category": "Forms",
"summary": "Transfer shows two side-by-side list panels with checkboxes, moved between with center arrow buttons - used for choosing a subset of items from a larger pool when seeing both the available and chosen items at once helps the user decide, unlike a multi-select dropdown that hides one side.",
"whenToUse": [
"Permission or role assignment - moving specific permissions into an assigned list.",
"Building a subset from a larger pool - a playlist builder, a team member picker.",
"Choosing visible columns or tags - column visibility chooser, a tag selector."
],
"whenNotToUse": [
"A single value chosen from a list - use Select - Transfer is for choosing several items, not one.",
"A small option set - a handful of items rarely justifies two full panels; use Checkbox group instead.",
"Hierarchical, nested data - use Tree Select so the structure itself stays visible, rather than flattening it into two plain lists."
],
"bestPractices": [
"Support search/filter within each panel once the pool of items grows beyond a quick scan.",
"Show a live count of selected items in each panel's header.",
"Keep the moved-to panel's order meaningful (e.g. order added) rather than silently re-sorting it."
],
"doAndDont": {
"do": "Both sides named for what membership means, with counts, so the user can see the result of the move without counting rows.",
"dont": "\"List A\" and \"List B\" never say which side is the one that takes effect, so moving an item is a guess."
},
"accessibility": [
"Each row's checkbox is independently focusable and labeled with the item's name.",
"The arrow buttons that move items between panels have accessible names (\"Move selected to chosen\"), not just an arrow glyph.",
"Moving items announces the change (e.g. via an aria-live region) so screen-reader users know the panels updated."
],
"relatedComponents": [
"Checkbox",
"Tree Select",
"Select"
]
}