# Application Kanban and Board: Drag State Board

A kanban board frozen mid drag with a dashed pickup ghost, a tilted lifted card over an insertion indicator, and a move status line.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/drag-state-board
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Kanban and Boards](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/drag-state-board.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-kanban-boards-drag-state-board
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, badge
- Installs to: `@/components/blocks/application-pro/kanban-boards/drag-state-board`

## About this block

Drag State Board is the Acme sprint board captured in the middle of a
drag: the card ACM-294 is being pulled from In Progress into Review. The
source column keeps a dashed ghost where the card was picked up, the
moving card renders lifted with a slight tilt and a primary ring inside
the target column, and an insertion indicator marks exactly where it will
land. A status pill in the header names the move and a footer line spells
out the keyboard hints.

The board is three const arrays for the static columns plus a single
dragged card object reused in both the ghost and the lifted tile, so the
pickup source and the in transit card always read the same title and id.
The target column takes a primary tint and a count that shows its live
total plus one, the visual language a drag layer needs to feel anchored.

## When to use

Reach for this block when you are documenting or demoing drag behavior on
a board, or building the drag layer itself and need a static reference for
the pickup, transit, and drop states. Wire it to your drag and drop
handlers and swap the dragged card for the live selection.

A natural flow around it on an Application Pro page:

**Before**

- [Board header toolbar](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards)
- [Board filters bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards)

**After**

- [Card detail blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards)
- [Activity](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the sprint board mid move. Other drag states:

- **Reorder within a column.** A ghost and insertion line shown between
  two cards in the same stage.
- **Cross board move.** A card lifted out of one board and dropping into
  another swimlane.
- **Invalid drop.** The lifted card tinted destructive when it hovers a
  column that rejects it.

> Tip: keep the pickup ghost and the lifted card visually linked; a viewer
> should read them as one card in two places, never as two cards.

## More in Application Kanban and Boards

- [Blocked Cards Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/blocked-cards-board)
- [Board Automation Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/board-automation-panel)
- [Board Column Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/board-column-card)
- [Board Filters Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/board-filters-bar)
- [Board Header Toolbar](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/board-header-toolbar)
- [Board Template Picker](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/board-template-picker)
- [Card Aging Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/card-aging-board)
- [Card Checklist Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/card-checklist-panel)
- [Card Composer Column](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/card-composer-column)
- [Card Detail Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/card-detail-blueprint)
- [Collapsed Columns Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/collapsed-columns-board)
- [Column Policy Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/column-policy-board)
- [Kanban Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/kanban-board)
- [Swimlane Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/swimlane-board)
- [WIP Limit Board](https://www.shadcn-ui-blocks.com/blocks/application-pro/kanban-boards/wip-limit-board)
