Use stable option values to identify items. selectionChange supplies selected items; orderChange proposes the new array. Apply that array to items to accept a reorder. Filtering changes the visible subset, not the source collection. dragDrop is optional; buttons and keyboard offer the same operation.
These inputs require a model or function, not a checkbox. Edit the same-named field in the Source component and bind it in the template; data already used by this preview appears in the state above.
Use stable option values to identify items. selectionChange supplies selected items; orderChange proposes the new array. Apply that array to items to accept a reorder. Filtering changes the visible subset, not the source collection. dragDrop is optional; buttons and keyboard offer the same operation.
Use Tab to reach items and reorder buttons. Enter or Space selects an item or activates a reorder button. These controls remain available when dragDrop is false.
Key
Action
Tab
Move through item buttons and the available reorder or transfer buttons.
Enter
Select the focused item or activate the focused reorder/transfer button. Dragging is not required.
Space
Select the focused item or activate the focused reorder/transfer button. Dragging is not required.
Inputs, models and Outputs are extracted from the installed Core package. Named public types link to their definitions. Templates below include executable examples.
Inputs
Configure the component with [property]="value". Your application supplies these values; the component does not replace the state you pass in.
Name
Type
Default
Template binding
Description
ariaLabel
string
'Ordered items'
[ariaLabel]
Accessible name of the control or region.
dragDrop
boolean
false
[dragDrop]
Enable optional pointer drag/drop; keyboard and button operations remain available.
emptyFilterLabel
string
'No matching items'
[emptyFilterLabel]
Text displayed when filtering produces no matching entries.
Reports a pointer/keyboard drop with item, list locations and indexes. Apply the associated state proposal to accept it.
orderChange
T[]
(orderChange)="onOrderChange($event)"
Proposes the complete reordered array. Replace items or tiles to accept it.
selectionChange
T[]
(selectionChange)="onSelectionChange($event)"
Proposes selection together with the affected key and interaction source. Apply payload.selection to selection.
Templates
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.
import type { NeuTransferItem } from '@neural-ui/core/pick-list';
import { NeuOrderListItemDirective } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export declare class NeuOrderListItemDirective<T = NeuTransferItem> {
readonly neuOrderListItem: import("@angular/core").InputSignal<"" | readonly T[]>;
}
context.d.ts
import type { NeuOrderListItemContext } from '@neural-ui/core/pick-list';
import { NeuOrderListItemDirective } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
readonly templateRef: TemplateRef<NeuOrderListItemContext<T>>;
Each example demonstrates a different template. Switch between Demo and Code to inspect its implementation, imports and state.
NeuOrderListItemDirective
NeuOrderListItemDirective
NeuOrderListItemDirective
Events: 0
Public Types
Open a type to inspect its definition and interface fields.
NeuListLocation.d.ts
import type { NeuListLocation } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export type NeuListLocation = 'source' | 'target';
NeuListMove.d.ts
import type { NeuListMove } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export type NeuListMove = 'up' | 'down' | 'top' | 'bottom';
NeuOptionAccessor.d.ts
import type { NeuOptionPath } from '@neural-ui/core/option-api';
import type { NeuOptionAccessor } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionAccessor<T, R = unknown> = Exclude<keyof T, string> | NeuOptionPath<T> | ((option: T) => R);
NeuOptionDisabledAccessor.d.ts
import type { NeuOptionAccessor } from '@neural-ui/core/option-api';
import type { NeuOptionDisabledAccessor } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionDisabledAccessor<T> = NeuOptionAccessor<T, boolean>;
NeuOptionFilterConfig.d.ts
import type { NeuOptionAccessor } from '@neural-ui/core/option-api';
import type { NeuOptionFilterMatchMode } from '@neural-ui/core/option-api';
import type { NeuOptionFilterStrategy } from '@neural-ui/core/option-api';
import type { NeuOptionFilterConfig } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export interface NeuOptionFilterConfig<T> {
readonly fields?: readonly NeuOptionAccessor<T, unknown>[];
readonly locale?: string;
readonly matchMode?: NeuOptionFilterMatchMode;
readonly strategy?: NeuOptionFilterStrategy;
}
NeuOptionFilterMatchMode.d.ts
import type { NeuOptionFilterMatchMode } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionFilterMatchMode = 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals';
NeuOptionFilterStrategy.d.ts
import type { NeuOptionFilterStrategy } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionFilterStrategy = 'client' | 'server';
NeuOptionLabelAccessor.d.ts
import type { NeuOptionAccessor } from '@neural-ui/core/option-api';
import type { NeuOptionLabelAccessor } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionLabelAccessor<T> = NeuOptionAccessor<T, string>;
NeuOptionPath.d.ts
import type { NeuOptionPath } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionPath<T> = Extract<keyof T, string> | `${Extract<keyof T, string>}.${string}`;
NeuOptionValueAccessor.d.ts
import type { NeuOptionAccessor } from '@neural-ui/core/option-api';
import type { NeuOptionValueAccessor } from '@neural-ui/core/option-api';
// Public declaration (reference only)
export type NeuOptionValueAccessor<T, V> = NeuOptionAccessor<T, V>;
NeuOrderListItemContext.d.ts
import type { NeuOrderListItemContext } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export interface NeuOrderListItemContext<T> {
readonly $implicit: T;
readonly index: number;
readonly selected: boolean;
}
NeuPickListDropEvent.d.ts
import type { NeuListLocation } from '@neural-ui/core/pick-list';
import type { NeuPickListDropEvent } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export interface NeuPickListDropEvent<T> {
readonly currentIndex: number;
readonly from: NeuListLocation;
readonly interaction: 'pointer' | 'keyboard';
readonly item: T;
readonly originalEvent: MouseEvent | TouchEvent | KeyboardEvent | null;
readonly previousIndex: number;
readonly to: NeuListLocation;
}
NeuPickListItemContext.d.ts
import type { NeuListLocation } from '@neural-ui/core/pick-list';
import type { NeuPickListItemContext } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export interface NeuPickListItemContext<T> {
readonly $implicit: T;
readonly location: NeuListLocation;
readonly selected: boolean;
}
NeuPickListMoveAllScope.d.ts
import type { NeuPickListMoveAllScope } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export type NeuPickListMoveAllScope = 'filtered' | 'all';
NeuTransferItem.d.ts
import type { NeuTransferItem } from '@neural-ui/core/pick-list';
// Public declaration (reference only)
export interface NeuTransferItem {
data?: unknown;
disabled?: boolean;
label: string;
value: string;
}
Use the supported public tokens listed below. Surrounding layout belongs to your application; validate the result in light and dark modes and narrow containers.
Specific tokens
This component uses shared theme tokens rather than dedicated component hooks.
Shared tokens used
Override these on a local wrapper to affect this example. An override on :root affects other components that use the same token.