One list, reordered with the arrow buttons. ply-pick-list is the two-pane control that moves rows between lists.
Unlock it plus 108 pro blocks, widgets & layouts — $99 one-time. Lifetime updates, 14-day money-back guarantee.
draft → review → ship
<ply-order-list [items]="steps" [(ngModel)]="order" aria-label="Steps"></ply-order-list>
TypeScript
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
// Install: npx ply-ui-cli add order-list
// Paths are relative to aliases.components (default: src/app/components)
import { OrderListComponent, OrderListItem } from './order-list/order-list.component';
@Component({
selector: 'app-order-list-example',
imports: [
OrderListComponent,
FormsModule
],
template: `...`
})
export class OrderListExampleComponent {
readonly steps: OrderListItem[] = [
{ label: 'Draft', value: 'draft' },
{ label: 'Review', value: 'review' },
{ label: 'Ship', value: 'ship' },
];
order = ['draft', 'review', 'ship'];
}Install
npx ply-ui-cli add order-list
npx ply-ui-cli add order-list
For AI agents
Copy a prompt with the registry name, CLI install, and import — or add the Ply MCP server.
npx -y ply-ui-mcp
Ply provides standalone components. Import the exact elements you want to use into your component.
// Install: npx ply-ui-cli add order-list
// Paths are relative to aliases.components (default: src/app/components)
import { OrderListComponent, OrderListItem } from './order-list/order-list.component';
@Component({
selector: 'app-your-component',
imports: [
OrderListComponent
],
template: `...`
})
export class YourComponent {} API for order-list — generated from JSDoc in the library source.
| API | Member | Type | Default | Description |
|---|---|---|---|---|
OrderListItem | label | string | — | — |
OrderListItem | value | string | — | — |
OrderListItem | disabled | boolean | — | — |
ply-order-list | class | string | '' | Extra host classes merged via `cn()`. |
ply-order-list | items | OrderListItem[] | [] | Rows in their initial order. |
ply-order-list | aria-label | unknown | 'Order' | Accessible name of the list. |
ply-order-list | (orderChange) | string[] | — | Fires with the values in the new order. |
Content