Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Tables & Lists

Kanban

Tables & Lists

Kanban React component for Tailwind CSS v4

Editable GridList
Live props
Behavior
limitBehavior
Appearance
showCounts
showTotals
size
variant
cardVariant
Layout
columnWidth288px
mobileNav
Content
currency
locale
State
readOnly
loading
Code
import { Kanban } from "@/components/ui/kanban"

<Kanban />
  1. Home
  2. Components
  3. Tables & Lists
  4. Kanban
Pro

Kanban React component for Tailwind CSS v4

v1.0.0·Added in 1.0.0

A React kanban board for tasks, orders and pipelines: drag cards with mouse, touch or keyboard, WIP limits, inline add and a phone layout.

Drag a card with the mouse (it lifts after 8px, tilts 2 degrees and casts a floating shadow) to reorder it in its column or drop it in another; the cards below slide apart, a dashed outline marks where it lands, the column under it gets a ring and columns that refuse it dim. Near the board's edges the board scrolls sideways and a long column scrolls on its own. Every card is a Tab stop: Space picks it up, Up / Down move it in its column, Left / Right jump to the nearest spot in the neighbouring column, Space or Enter drops, Escape puts it back; Enter on a resting card opens it, and a screen reader hears where it is ("Northwind Logistics moved to Negotiation, position 2 of 4"). The ⋯ button on a card (shown on hover or focus, always on touch; Shift + F10 or the Menu key opens it too) has Move to, a submenu of columns, as the way to move without dragging. Column counts read 3 or 3 / 5 with a WIP limit: at the limit the count turns amber, over it red with a one-time pulse and a line of text; limitBehavior="block" refuses drops into a full column instead. + Add card opens a composer: Enter adds (and keeps it open for the next card), Shift + Enter makes a new line, Escape cancels. On a phone the board shows one column at a time with the next one peeking and snaps between them; the chip row on top jumps to a column and lights the one in view; a long press (250ms, with a haptic tick) lifts a card so swipes still scroll, and Move to opens as a bottom sheet. Reduced motion drops the tilt, the pulse and the sliding.

Kanban is a Pro React component in the React table and list components category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add kanban, together with Avatar, Badge, Button, Date utils, Dropdown Menu and 11 more and the npm packages @dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities, lucide-react and motion.

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add kanban

Kanban is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans

Usage

Import Kanban from @/components/ui/kanban.

import { useState } from "react"
import { Kanban, type KanbanColumnData, type KanbanItem } from "@/components/ui/kanban"

const columns: KanbanColumnData[] = [
  { id: "lead", title: "New lead", tone: "info" },
  { id: "offer", title: "Proposal sent", limit: 5 },
  { id: "won", title: "Won", tone: "success" },
]

export function Pipeline() {
  const [deals, setDeals] = useState<KanbanItem[]>([
    { id: "c02", columnId: "offer", title: "Northwind Logistics", amount: 48920, dueDate: "2026-09-26", tags: [{ label: "VIP", tone: "warning" }] },
    { id: "c05", columnId: "won", title: "Summit Builders", amount: 103400, assignees: [{ name: "Daniel Reed" }] },
  ])
  return (
    <div className="h-[560px]">
      <Kanban
        columns={columns}
        value={deals}
        onValueChange={(next) => setDeals(next)}
        locale="en-US"
        onAddCard={(columnId, title) => ({ id: crypto.randomUUID(), columnId, title })}
        labels={{ empty: "Drop deals here" }}
      />
    </div>
  )
}

Props

  • columns
    KanbanColumnData[]

    The columns in order: { id, title, textValue?, tone?, color?, limit?, description?, total?, disabled?, collapsed? }. tone / color paint the header dot, limit is the WIP limit, total overrides the summed amounts (null hides it), disabled accepts no drops. Collapsed columns are not in v1.

  • value
    KanbanItem[]

    The cards in order (controlled): { id, columnId, title, textValue?, description?, tags?, assignees?, dueDate?, priority?, amount?, cover?, meta?, disabled? }. A card whose columnId does not exist is not rendered (a dev warning names it). If you do not update value after onValueChange, the card springs back.

  • defaultValue
    KanbanItem[]

    The starting cards while uncontrolled.

  • onValueChange
    (items: KanbanItem[], move?: KanbanMoveEvent) => void

    The whole new array after a drop, a Move to or an added card; move is undefined for added cards.

  • onMove
    (event: KanbanMoveEvent) => (void | boolean)

    Runs before a move commits with { itemId, fromColumnId, toColumnId, fromIndex, toIndex }. Return false to cancel it and the card flies back. Dropping on the same spot fires nothing.

  • renderCard
    (item: KanbanItem, state: { dragging: boolean; overlay: boolean }) => ReactNode

    Replaces the default card. The board still wraps it in the draggable, focusable surface and puts the ⋯ menu at its top end; overlay is true for the lifted copy.

  • onCardClick
    (item: KanbanItem) => void

    A click, a tap or Enter on a card (not after a drag). Open the deal or task here.

  • onAddCard
    (columnId: string, title: string) => (void | KanbanItem | Promise<unknown>)

    Shows + Add card under every column. Return the new card (or a promise of it) and the board inserts it at the end of the column; a promise shows Add loading and keeps the text if it rejects.

  • getColumnActions
    (column: KanbanColumnData) => MenuEntry[]

    The column ⋯ menu, in the dropdown-menu MenuEntry shape (a bottom sheet on phones).

  • getCardActions
    (item: KanbanItem) => MenuEntry[]

    The card ⋯ menu. Move to (a submenu of the other columns) is added in front unless readOnly.

  • limitBehaviordefault "warn"
    "warn" | "block"

    What a column limit does. warn: the count turns amber at the limit and red past it, with a pulse and a line of text. block: a full column refuses drops (it dims while you drag) and its Move to entry is disabled.

  • showCountsdefault true
    boolean

    The card count next to each column title ("3 / 5" with a limit) and in the phone chips.

  • showTotalsdefault true
    boolean

    The sum of the cards' amounts in each column header, in currency. A column's own total wins.

  • columnWidthdefault 288
    number

    Column width in px on wide boards. Boards narrower than 576px show one column at 85% of the width with the next one peeking.

  • sizedefault "md"
    "sm" | "md"

    Card padding and text: md 12px padding and 14px titles, sm 10px and 13px for dense overview boards.

  • variantdefault "tile"
    "tile" | "plain"

    Columns as flat gray tiles, or transparent with a hairline between them.

  • cardVariantdefault "surface"
    "surface" | "outline"

    Cards as raised white (dark: #1A1A1A) panels, or outlined with no fill.

  • currencydefault "USD"
    string

    ISO 4217 code for card amounts and column totals ("$48,920" in en-US).

  • mobileNavdefault true
    boolean

    The chip row above a phone board: one chip per column with its count, tap to jump, the column in view lights up.

  • readOnlydefault false
    boolean

    No drag, no + Add card and no Move to; cards still open and custom card actions stay.

  • loadingdefault false
    boolean

    Three skeleton cards per column with the real card shape (three placeholder columns without columns).

  • localedefault ""
    string

    Intl locale for counts, amounts and due dates. Empty uses the UIProvider locale, then the browser's.

  • labels
    Partial<KanbanLabels>

    Every string, merged over DEFAULT_KANBAN_LABELS: region, nav, addCard, addCardPlaceholder, add, cancel, back, empty, emptyBoard, loading, moveTo, sheetTitle, cardActions ({item}), columnActions ({column}), cardCount(count), limit ({limit}), overLimit(count, limit), full, instructions, pickedUp / moved / dropped / cancelled ({item} {column} {n} {total}), movedTo, due / overdue ({date}), assignees ({names}), priority { low, medium, high, urgent }.

  • classNames
    Partial<Record<"nav" | "navItem" | "board" | "column" | "header" | "dot" | "title" | "count" | "total" | "menu" | "description" | "list" | "card" | "cardBody" | "cover" | "cardTitle" | "cardDescription" | "tags" | "cardFooter" | "cardMenu" | "empty" | "footer" | "add" | "composer" | "overlay", string>>

    Extra classes for the inner parts. Full-bleed phone boards pass nav: "-mx-4 px-4" and board: "-mx-4 px-4 scroll-px-4".

  • className
    string

    Extra classes for the root. The board fills its container's height; give the container one so columns scroll on their own.

Parts

  • KanbanCard

    component

    The default card: 16:9 cover, a two-line title, description, a meta line, tags, then due date (red once overdue), priority icon, amount and up to three assignee avatars. Use it inside renderCard to wrap or extend it; inside a board it reads the board's size, variant, currency and locale. Props: { item: KanbanItem; size?; variant?; currency?; locale?; labels?; overlay?; classNames? }.

  • KanbanColumn

    component

    One column on its own (a backlog in a side panel, a dashboard widget), with drag, add and menus. Props: KanbanProps & { column: KanbanColumnData }.

  • DEFAULT_KANBAN_LABELS

    constant

    The English strings, to spread under a translation. Type: KanbanLabels.

  • KanbanColumnData

    type

    One column: id, title, textValue, tone or color for the header dot, limit (the WIP limit), description, total (undefined sums the amounts, null hides it) and disabled (accepts no drops).

  • KanbanItem

    type

    One card: id, columnId, title, textValue, description, tags, assignees, dueDate (a Date or an ISO day), priority, amount (summed into the column total), cover (a 16:9 image url), meta and disabled (cannot be dragged).

  • KanbanMoveEvent

    type

    What onMove receives: itemId, fromColumnId, toColumnId, fromIndex and toIndex.

  • KanbanPriority

    type

    "low" | "medium" | "high" | "urgent".

Examples

Task board with a WIP limit

To do / In progress / In review / Done with priorities; "In progress" holds 3 and limitBehavior="block" refuses a fourth.

Orders with covers

A shop's orders by status: 16:9 product covers, amounts in dollars and the carrier as meta.

Phone frame

Below 576px of board width: snap columns with a peek, the chip nav, long-press drag and Move to.

Read-only overview

readOnly, size="sm", variant="plain" and outlined cards: a dense board for a dashboard.

Add cards inline

onAddCard returns a promise of the new card; Add shows a spinner for the fake 500ms save.

Loading skeleton

Three skeleton cards per column in the real card shape while the board loads.

Custom cards

renderCard draws support tickets; drag, keyboard and the ⋯ menu stay the board's.

KanbanCard on its own

The default card outside a board, surface and outline.

Dependencies

@dnd-kit/core@dnd-kit/sortable@dnd-kit/utilitieslucide-reactmotionavatarbadgebuttondate-utilsdropdown-menuempty-statemotionnumber-formatrelative-timeskeletontagtextareatonesui-configuse-controllable-stateuse-locale

Files

  • components/ui/kanban.tsx

FAQ

Is the React Kanban component free?

The preview, props and docs are free; copying the source needs a Pro plan. See plans.

How do I install Kanban?

Run npx wingo-ui@latest add kanban. It also adds the Wingo UI items it builds on (Avatar, Badge, Button, Date utils, Dropdown Menu and 11 more) and the npm packages @dnd-kit/core, @dnd-kit/sortable, @dnd-kit/utilities, lucide-react and motion. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/kanban.

How does Kanban behave on phones?

On a phone the board shows one column at a time with the next one peeking and snaps between them; the chip row on top jumps to a column and lights the one in view; a long press (250ms, with a haptic tick) lifts a card so swipes still scroll, and Move to opens as a bottom sheet.

See also

Deal PipelineListTagAvatarDropdown MenuEmpty State

Used in

Deal Pipeline

More React table and list components

Data TableAudit LogEditable GridMembers tablePermissions MatrixTable
All 11 React table and list components

Articles using this component

  • React CRM Template: Pipeline, Forecast, Company Pages

    Build it: screens and apps · Oct 16, 2026 · 11 min read

  • React Kanban Board: Drag, WIP Limits, Phone Layout

    Component guides · Oct 16, 2026 · 9 min read

  • dnd kit Mobile: Touch Drag That Lets the Page Scroll

    Component guides · Oct 9, 2026 · 11 min read

PreviousEditable GridNext List

Sales pipeline

limits warn

Drag a deal, or use ⋯ → Move to

New lead, 3 cards

3$9,380
  • Bistro 21

    Digital menu and point of sale

    New
    Due Sep 30Sep 30Medium priority$1,700
  • Greenleaf Realty

    CRM for 12 real estate agents

    New
    Due Sep 29Sep 29High priority$7,200
  • Emma Carter Consulting

    Bookkeeping subscription

    Due Oct 2Oct 2Low priority$480

Qualified, 3 cards

3$4,240
  • Studio Pixel

    Licenses for the design team

    Recurring
    Due Sep 27Sep 27Medium priority$1,380
  • Bright Smile Dental

    Online booking and SMS reminders

    Due Oct 5Oct 5Medium priority$2,240
  • Old Mill Bakery

    Win back an inactive account

    Due Sep 22Sep 22Low priority$620

Proposal sent, 4 cards, limit 5

4 / 5$78,670
  • Northwind Logistics

    A fleet of 40 licenses

    #Q-2026-118

    VIPRecurring
    Due Sep 26Sep 26Urgent$48,920
  • Acme Corp

    Upgrade to the Business plan

    Recurring
    Due Sep 25Sep 25High priority$12,480
  • North Workshop

    Accounting integration

    Due Oct 1Oct 1Medium priority$9,870
  • West Side Books

    Inventory and point of sale

    Due Sep 23Sep 23Medium priority$7,400

Negotiation, 2 cards

2$126,000
  • Summit Builders

    2027 master agreement

    VIP
    Due Sep 30Sep 30Urgent$103,400
  • Greenleaf Pharmacy

    A chain of 4 pharmacies

    Due Sep 24Sep 24High priority$22,600

Won, 2 cards

2$19,500
  • Northwind Logistics

    Premium support, 12 months

    Recurring
    $15,000
  • Studio Pixel

    Company website

    $4,500