#
  • Dashboard
  • dashboard4
    • Project
    • Ecommerce
  • apps
    • Calendar
    • Profile Page
      • Profile
      • Setting
    • Projects Page
      • Projects
      • Projects Details
    • To-Do
    • Team
    • Api
    • Ticket
      • Ticket
      • Ticket Details
    • Emails Page
      • Email
      • Read Email
    • E-shop
      • Cart
      • Product
      • Add Product
      • Product-Details
      • Product list
      • Orders
      • Orders Details
      • Orders List
      • Checkout
      • Wishlist
    • Invoice
    • Chat
    • File Manager
    • Bookmark
    • kanban board
    • Timeline
    • FAQ
    • Pricing
    • Gallery
    • Blog Page
      • Blog
      • Blog Details
      • Add Blog
  • Widgets
  • Component
  • Ui Kits
    • Alert
    • Badges
    • Buttons
    • Cards
    • Dropdown
    • Grid
    • Avatar
    • Tabs
    • Accordions
    • Progress
    • Notifications
    • Lists
    • Helper Classes
    • Background
    • Divider
    • Ribbons
    • Editor
    • Collapse
    • Shadow
    • Wrapper
    • Bullet
    • Placeholder
    • Alignment Things
  • Advanced UI12+
    • Modals
    • OffCanvas Toggle
    • Sweet Alert
    • Scrollbar
    • Spinners
    • Animation
    • Video Embed
    • Tour
    • Slider
    • Bootstrap Slider
    • Scrollpy
    • Tooltip & Popovers
    • Rating
    • Prismjs
    • Count Down
    • Count Up
    • Draggable
    • Tree View
  • Icons
    • Fontawesome
    • Flag
    • Tabler
    • Weather
    • Animated
    • Iconoir
    • Phosphor
  • Misc
  • Map & Charts
  • Map & Charts
    • Google Maps
    • Leaflet map
  • Chart
    • Chart js
    • Apexcharts
      • Line
      • Area
      • Column
      • Bar
      • Mixed
      • Timeline & Range-Bars
      • Candlestick
      • Boxplot
      • Bubble
      • Scatter
      • Heatmap
      • Treemap
      • Pie
      • Radial bar
      • Radar
  • Table & forms
  • Table
    • Basic Table
    • Data Table
    • List Js
    • Advance Table
  • Forms elements
    • Form Validation
    • Base Input
    • Checkbox & Radio
    • Input Groups
    • Input Masks
    • Floating Labels
    • Datetimepicker
    • Touch spin
    • Select2
    • Switch
    • Range Slider
    • Typeahead
    • Textarea
    • Clipboard
    • File Upload
    • Dual List Boxes
    • Default Forms
  • Ready to usenew
    • Form Wizards
    • Form Wizards 1
    • Form Wizards 2
    • Ready To Use Form
    • Ready To Use Tables
  • Pages
  • Auth Pages
    • Sign In
    • Sign In with Bg-image
    • Sign Up
    • Sign Up with Bg-image
    • Password Reset
    • Password Reset with Bg-image
    • Password Create
    • Password Create with Bg-image
    • Lock Screen
    • Lock Screen with Bg-image
    • Two Step Verification
    • Two Step Verification with Bg-image
  • Error pages
    • Bad Request
    • Forbidden
    • Not Found
    • Internal Server Error
    • Service Unavailable
  • Other pages
    • Blank
    • Maintenance
    • Landing Pages
    • Coming Soon
    • Sitemap
    • Privacy Policy
    • Terms & Conditions
  • Others
  • 2 level
    • Blank
    • Another level
      • Blank
  • Document
  • Support
  • 26 °C
  • EN
  • 5
  • avatar
  • Copyright © 2025 axelit. All rights reserved 💖

  • V1.0.0
  • Need Help

Dual List Boxes

  • Forms elements
  • Dual list boxes
Select by class
Available options
​
Selected options
​
    
    <TransferListBox
      leftItems={['One', 'Two', 'Three']}
      rightItems={selected}
      setRightItems={setSelected}
      addText="Add"
      removeText="Remove"
      addAllText="Add All"
      removeAllText="Remove All"
    />
      
    Select by class
    • Nothing yet
    Available options
    ​
    Selected options
    ​
      
      <TransferListBox
        leftItems={['One', 'Two', 'Three']}
        rightItems={selected1}
        setRightItems={setSelected1}
        leftTitle="Available numbers"
        rightTitle="Selected numbers"
        addText=">"
        removeText="<"
        addAllText=">>"
        removeAllText="<<"
      />
        
      Select by class
      • Nothing yet
      Available options
      ​
      Selected options
      ​
        
        <TransferListBox
          leftItems={['One', 'Two', 'Three']}
          rightItems={selected2}
          setRightItems={setSelected2}
        />
          
        Show the sort buttons
        Available options
        ​
        Selected options
        ​
          
          <TransferListBox
            leftItems={['One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine']}
            rightItems={selected3}
            setRightItems={setSelected3}
            leftTitle="Available options"
            rightTitle="Selected options"
            addText="🤌"
            addAllText="🤌"
            removeText="🤌"
            removeAllText="🤌"
          />
            
          All options
          OptionDefaultExcepted valuesExplanation
          enableDoubleClicktruebooleanIf double clicking a list item should move it between lists.
          showAddButtontruebooleanIf the "Add" button should be shown.
          showRemoveButtontruebooleanIf the "Remove" button should be shown.
          showAddAllButtontruebooleanIf the "Add All" button should be shown.
          showRemoveAllButtontruebooleanIf the "Remove All" button should be shown.
          availableTitle"Available options"stringTitle shown above the left (available) list.
          selectedTitle"Selected options"stringTitle shown above the right (selected) list.
          addButtonText"Add"stringText displayed in the "Add" button.
          removeButtonText"Remove"stringText displayed in the "Remove" button.
          addAllButtonText"Add All"stringText displayed in the "Add All" button.
          removeAllButtonText"Remove All"stringText displayed in the "Remove All" button.
          searchPlaceholder"Search..."stringPlaceholder text for search inputs.
          optionsundefinedstring[]Array of option names used to populate the lists.
          Public functions
          Function nameArgumentsExplanation
          addOptionoptionAdd a single option to the left list.
          addOptionsoptionsAdd multiple options to the left list.
          changeSelectedoptionToggle the selected state of the given option.
          actionAllSelectedSelect all items in the left list.
          actionAllDeselectedDeselect all items from the right list.
          redrawRedraw the lists (re-renders component).