Skip to main content
twblazor
Home
  • Get started
  • Tailwind with Blazor
  • Why twblazor?
  • Theme
  • Class Merge
    • Configuring localization
    • RTL Provider
  • Breadcrumb
  • Card
  • Carousel
  • Collapse
  • Context Menu
  • Drawer
  • Footer
  • Menu
  • Navbar
  • On This Page
  • Separator
  • Sidebar
  • Stepper
  • Tabs
  • Tree List
  • Container
  • Flex
  • Grid
  • Text
  • Link
  • Button
  • Form
    • AutocompleteNew
    • Checkbox
    • Color Picker
    • Date Picker
    • Date Range Picker
    • Datetime Picker
    • Datetime Range Picker
    • File Upload
    • Input GroupNew
    • NumericNew
    • Masked InputNew
    • Radio Button
    • Range SliderNew
    • RatingNew
    • Select
    • Slider
    • Switch
    • Tag InputNew
    • Text EditorNew
    • Textfield
    • Time Picker
    • Time Range Picker
  • Toggle
  • Toggle Group
  • Alert
  • Avatar
  • Badge
  • Chip
  • Empty
  • Icon
  • Popover
  • Progress
  • Skeleton
  • Spinner
  • Tooltip
  • Data Table
  • SpreadsheetNew
  • Column Filter Editor
  • Pagination
  • Pick List
  • Barcode
  • QR Code
  • Calendar
  • Table
  • Attachment
  • Overview
    • Bar
    • Bullet
    • Column
    • Dot Plot
    • Dumbbell
    • Icon
    • Lollipop
    • Radial Bar
    • Range
    • Word Cloud
    • Area
    • Bump
    • Bump Area
    • Candlestick
    • Gantt
    • Horizon
    • Line
    • Slope
    • Small Multiples
    • Stream Graph
    • Funnel
    • Gauge
    • Marimekko
    • Nightingale
    • Pie
    • Treemap
    • Waffle
    • Waterfall
    • Circular Treemap
    • Convex Treemap
    • Dendrogram
    • Sunburst
    • Barcode
    • Beeswarm
    • Box Plot
    • Density Plot
    • Histogram
    • Radial Histogram
    • Ridgeline
    • Strip Plot
    • Violin Plot
    • Categorical Scatter
    • Contour
    • Hexagonal Binning
    • Quadrant
    • Scatter
    • Heatmap
    • Matrix
    • Parallel Coordinates
    • Radar
    • Arc Diagram
    • Chord Diagram
    • Flowchart
    • Network Diagram
    • Sankey
    • Euler Diagram
    • Venn Diagram
  • Bubble
  • Marker
  • Message
  • Dialog Service
  • Toast Service
API DocumentationAI Agents & Skills
Home Get Started

Data

TwPickList

TwPickList is a Blazor dual list-box component for moving items between SourceItems and TargetItems, with move-all buttons, AllowReorder and keyboard support.

Last updated 18 October 2026

Basic usage

Bind SourceItems and TargetItems to move items between the two lists. Click an item (or press Enter/Space) to select it, then use the chevron buttons to transfer the selection.
Available Fruits
  • Apple
  • Banana
  • Cherry
  • Mango
  • Peach
Selected Fruits
  • Strawberry
  • Blueberry
RAZOR
<TwPickList TItem="string"
            @bind-SourceItems="@availableFruits"
            @bind-TargetItems="@selectedFruits"
            SourceLabel="Available Fruits"
            TargetLabel="Selected Fruits"
            AriaLabel="Fruit picker" />
CSHARP
@code {
    private IEnumerable<string> availableFruits = ["Apple", "Banana", "Cherry", "Mango", "Peach"];
    private IEnumerable<string> selectedFruits = ["Strawberry", "Blueberry"];
}

Complex objects

Use TextField to display a specific property when binding to a list of complex objects, matching TwSelect's PropertyName.
Employees
  • Alice Johnson
  • Bob Smith
  • Carol Lee
Developers
  • David Kim
  • Priya Patel
RAZOR
<TwPickList TItem="Employee"
            @bind-SourceItems="@employees"
            @bind-TargetItems="@developers"
            TextField="@nameof(Employee.Name)"
            SourceLabel="Employees"
            TargetLabel="Developers"
            AriaLabel="Employee assignment" />
CSHARP
@code {
    private sealed class Employee
    {
        public int Id { get; set; }
        public string Name { get; set; } = string.Empty;
    }
    
    private IEnumerable<Employee> employees =
    [
        new() { Id = 1, Name = "Alice Johnson" },
        new() { Id = 2, Name = "Bob Smith" },
        new() { Id = 3, Name = "Carol Lee" }
    ];
    
    private IEnumerable<Employee> developers =
    [
        new() { Id = 4, Name = "David Kim" },
        new() { Id = 5, Name = "Priya Patel" }
    ];
}

Without reordering or move-all

Set AllowReorder="false" to hide the up/down buttons, or ShowMoveAllButtons="false" to hide the double-chevron transfer-all buttons.
Colors
  • Red
  • Blue
  • Green
  • Yellow
Chosen
  • No items
RAZOR
<TwPickList TItem="string"
            @bind-SourceItems="@availableColors"
            @bind-TargetItems="@selectedColors"
            AllowReorder="false"
            ShowMoveAllButtons="false"
            SourceLabel="Colors"
            TargetLabel="Chosen"
            AriaLabel="Color picker" />

Disabled

Set Disabled to prevent selection, transferring, and reordering.
Available
  • Locked A
  • Locked B
Selected
  • Locked C
RAZOR
<TwPickList TItem="string"
            SourceItems="@_disabledSource"
            TargetItems="@_disabledTarget"
            Disabled="true"
            SourceLabel="Available"
            TargetLabel="Selected"
            AriaLabel="Disabled picker" />

Keyboard navigation

Each list is a single Tab stop. Select items in a list, then use the buttons between the lists to move them. Every move is announced.
Key What it does
Tab or Shift+ plus Tab Moves between the two lists and the buttons.
Arrow Up or Arrow Down Moves to the previous or next item in the list.
Home or End Moves to the first or last item in the list.
Space or Enter Selects the focused item, or clears its selection.
Enter or Space On a button: moves the selected items across, moves every item across, or moves the selection up or down.

Theme configuration

Styling is controlled by TwBlazorTheme.Components (a TwPickListTheme), configured via the AddTwBlazor() options callback described on the Get Started page. Every property is a set of Tailwind classes, so changes are picked up by your own Tailwind build.
Property Type Controls
Container string
Column string
ColumnHeader string
Label string
ReorderButtons string
ReorderButton string
TransferButton string
TransferButtonColumn string
ListBox string
ListBoxDisabled string
Item string
ItemSelected string
EmptyState string

Full reference: TwPickListTheme on the API docs.

On this page

  • Basic usage
  • Complex objects
  • Without reordering or move-all
  • Disabled
  • Keyboard navigation
  • Theme configuration
twblazor

The Tailwind CSS component library for Blazor. Accessible, themeable and MIT licensed.

Discord (opens in a new tab) GitHub(opens in a new tab)

Get started

  • Install guide
  • Theming
  • Class merging
  • Localization

Guides

  • Tailwind CSS with Blazor
  • Why twblazor?
  • Right to left
  • AI agents and skills

Resources

  • API documentation (opens in a new tab)
  • llms.txt (opens in a new tab)
  • MIT License (opens in a new tab)

Community

  • Contributing (opens in a new tab)
  • Code of conduct (opens in a new tab)
  • Report an issue (opens in a new tab)

twblazor is and always will be free and open source.

An unhandled error has occurred. Reload