Installation
Features
- Drag and drop between columns with @dnd-kit
- Virtualized lists for large datasets with @tanstack/react-virtual
- Infinite scroll per column
- Integrated filtering and search
- Optimistic updates with automatic rollback on error
- Fractional indexing for scalable ordering
- Customizable card and column rendering
- URL sync for filters and search
Basic Usage
Hook Options
Column Definition
The
value property is used when the column id differs from the actual value stored in your data.
For example, if your column has id: "in-progress" but your database stores status: "DOING",
set value: "DOING". When a card is moved to this column, the hook will use value for optimistic updates.
If value is omitted, the column id is used instead.Card Move Parameters
When a card is moved,onCardMove receives:
insertAfterId pattern is designed for scalability:
- Frontend sends only the reference ID (not the order)
- Backend queries the real neighbors to calculate the correct order
- Works correctly even with filters applied