shadcn.io is not affiliated with official shadcn/ui
Split Panel Kanban Board CTA Block for React
A reverse split CTA for a project board: a working three-lane board ruled by solid hairlines and flush to the rail, beside the headline, a status line and a Shine Button. Each card's button moves it on and the counts, status and message follow.
Installation
Overview
Let visitors use the product before they sign up, for React with Base UI. A reverse split between solid rails puts a small board at the start, flush to the rail: Todo, In progress and Done lanes ruled by solid hairlines, with + marks where the header's line meets the rail and the divider. Four cards sit in their own rows and each has a "Move on" button that moves it one column along and "Reopen" once it is done. Past a solid divider that meets the top rule, the headline, a short paragraph, a live status line and a Shine Button sit at the end; the copy comes first in the page, so on a phone it leads and the lanes become one column of cards. The count over each column and the status line ("Draft the launch post moved to In progress. 2 of 4 done.") follow every move, and when all four are done the status line invites them to start a board of their own. The product is Pennant, a made-up project tool. It's built from Badge, Button, Shine Button and Guides, with CSS transitions and your theme's tokens. For project tools, task managers, workflow products and any pitch about moving work along.
FAQ
How do I change the cards and the columns?
Edit COLUMNS and TASKS at the top of the file. Each task has a title and the column it starts in, as an index into COLUMNS. Each card has its own row, so the board is the same height whatever is where; keep to four to six tasks so it stays a glance. The counts, the status sentence and the "all done" message all work from the data, so there is nothing else to update.
Why does each card keep its row instead of stacking in its column?
A column that stacks its cards changes height every time a card leaves or arrives, and the text beside the board jumps with it. Here every card keeps a row and only changes column, so nothing around the board ever moves. Below the sm breakpoint the rows become a single column of cards, each with its column as a label.
How do keyboard and screen reader users use the board?
The board is a list named "Board", and each card is a list item. Each card's button is a real button with a name that says what it does, such as "Move on “Fix the login redirect” to Done", so a screen reader user can tell the cards apart and hear where one will go. After a move, a polite status line says where the card went and how many are done. The column headers and the empty cells are decoration and are hidden; each card announces its own column instead.
Can the cards be dragged?
No: the buttons are the only way to move one, which keeps it usable from a keyboard, a switch or a screen reader without extra code. If you add drag and drop to a real board, keep a button like this one beside it, so the same move is possible without a pointer.
Related
- Pro
Split Panel Inbox Zero CTA
Product previewsA split CTA for an email app: the headline, a status line and a Shine Button beside a working inbox panel that runs flush to the rail and the section's foot. Archive any of five messages and the row folds away, the count follows, and an Inbox zero state appears at the end.
- Pro
Split Panel Calendar Grid CTA
Pickers and togglesA split call to action beside a week-by-time availability grid on a framed card: pick a free slot and the Shine Button names it.
- Pro
Split Panel Product Mockup CTA
Product previewsA split call to action for a browser extension: the pitch and a Shine Button at the start, its popup with working bookmarks in a hairline frame at the end, and a closing band of three ruled benefits.
- Pro
Split Numbered Module List CTA
Lists and stepsA split CTA for a course: the pitch, a ruled row of totals and a Shine Button beside a numbered accordion whose modules are full-width rows ruled by solid hairlines, each opening to its lessons and durations.
- Pro
Split Kanban Board Hero
Product windowsA reverse split hero for a sprint planner: a wide board window that runs flush to the start rail and fades at its foot, with a card mid-drag over a drop slot, then a divider and the copy with a Shine Button.
- Pro
Showcase CRM Pipeline Hero
Product windowsA showcase hero for a CRM: the headline at the start with a Shine Button at the end, and a four-stage deal pipeline below, in a band between the rails that fades out below the fold.