fetaUI
GitHub

Kanban Column

A 4% ink tray with a status dot, title and count, holding Kanban Cards. It can open a drop slot, show an empty hint, or collapse to its header.

FreeWeb and MobileMotion

Preview

npx shadcn add @fetaui/kanban-column
Playground

In progress

3 cards
DesignHAL-142

Redesign the checkout summary for mobile

Assigned to Maya ChenDue Oct 304 comments2 of 5 subtasks
BugHAL-139

Coupon field loses focus on iOS

Assigned to Sam KimDue Oct 289 comments1 of 3 subtasks
CopyHAL-131

Rewrite the empty states

Assigned to Ava MitchellDue Nov 22 comments0 of 4 subtasks
Default

In progress

3 cards
DesignHAL-142

Redesign the checkout summary for mobile

Assigned to Maya ChenDue Oct 304 comments2 of 5 subtasks
BugHAL-139

Coupon field loses focus on iOS

Assigned to Sam KimDue Oct 289 comments1 of 3 subtasks
CopyHAL-131

Rewrite the empty states

Assigned to Ava MitchellDue Nov 22 comments0 of 4 subtasks
Drop target

In progress

3 cards
DesignHAL-142

Redesign the checkout summary for mobile

Assigned to Maya ChenDue Oct 304 comments2 of 5 subtasks
Drop to move here
BugHAL-139

Coupon field loses focus on iOS

Assigned to Sam KimDue Oct 289 comments1 of 3 subtasks
CopyHAL-131

Rewrite the empty states

Assigned to Ava MitchellDue Nov 22 comments0 of 4 subtasks
Empty

Blocked

0 cards

Nothing blocked

Drag a card here to flag it

Collapsed

In progress

3 cards
Icons animation
Drop target
Motion

Installation

Terminal· bash
 npx shadcn add @fetaui/kanban-column

Accessibility

  • The column is a section named by its title.
  • With list, the cards form a list named by the title, so each child should be a list item.
  • Collapse lives in the column menu, and Expand is a labelled button with an expanded state.
  • The count reads as a number of cards.

Motion

  • The column fades and rises 8 over 400 ms, unless appear is false.
  • The drop slot fades in over 120 ms.
  • With reduced motion, only state changes remain.

Responsive behavior

  • 288 wide on Web and full width on Mobile.

Performance

  • A collapsed column unmounts its cards and keeps only the header.
  • The column and the drop slot each animate once, with the slot fading in over 120 ms.

Note for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Import KanbanColumn from @/components/fetaui/kanban-column. It composes Button, Icon Button and Dropdown Menu, and takes Kanban Cards as children.
  • It has no drag. Set dropIndex and over yourself from your drag code, or use Kanban for a working board. data-* props land on the section, so drag code can find it.
  • count is yours and the empty state keys off it: it shows when count is 0 and dropIndex is unset.
  • Rows in menu are added after Collapse, and menu={false} drops the menu. addPlacement picks which Add buttons show, icon replaces the status dot, and list makes the cards a named list. Use collapsed with onCollapsedChange to control it.

Related