Kanban
A board whose cards move by native drag & drop (and from each card’s three-dot menu, so the keyboard works too); moves glide on FLIP, the column counts roll and the quick-add grows in place.
Real scenarios
The component as it is used in a product — not a specimen grid.
The design team’s sprint
Drag a card into another column — it glides on FLIP, the placeholder breathes where it will land and the column counts roll. No keyboard? Every move also lives in the card’s three-dot menu, and each move reports back through a toast (the nx-move event riding the board).
Backlog
2 cards-
Wire the settings page
-
Dark-theme audit of invoices
This week
2 cards-
Kanban block for the design system
-
Persian digits in the analytics card
Shipped this month
2 cards-
Print stylesheet for the invoice
-
Roving tab stops in the calendar
Without move-action the board owns its state client-side and tells you through events; pass move-action="moveCard" and the columns you hand in become the single truth.
The support intake lane
quick-add grows a card in place — type and press Enter. The three-dot menu also carries each card’s own actions (open, duplicate, delete).
New
1 cards-
«The bot answers in the wrong register»
Triaged
1 cards-
Refund stuck for order #981
Waiting on the customer
0 cards- No cards yet
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| columns | array | [] | Each column: ['id' => …, 'title' => …, 'tone' => …, 'cards' => [['id' => …, 'title' => …, 'meta' => …, 'tone' => …, 'assignee' => ['name' => …], 'actions' => […]]]] — the columns you pass are the truth. |
| moveAction / addAction | string | null | Livewire method names: moveCard($card, $from, $to, $index) and addCard($column, $title); without them everything stays client-side and nx-move / nx-card-action events fire. |
| quickAdd | bool | true | The quick-add form under each column. |
| height / label / locale | string | null | The board height, its accessible name and the built-in words’ locale. |
Snippet
<x-nx::kanban height="30rem" :columns="[
['id' => 'todo', 'title' => 'انبار', 'tone' => 'info', 'cards' => [
['id' => 'c1', 'title' => 'سیمکشی صفحهٔ تنظیمات', 'meta' => 'FR-104 · 2 دیدگاه', 'tone' => 'info'],
]],
['id' => 'doing', 'title' => 'این هفته', 'tone' => 'warning', 'cards' => []],
]" x-on:nx-move="$wire.ping('جابهجا شد')" />