Kanban Board
A recipe: your columns and cards, your items by column as the value — Sortable lists, linked in a group. No component of its own.
Usage
Basic
Space lifts a card, the arrow keys move it, Space drops it, Escape puts it back.
To do 3
- Write the release notes
- Plan the next sprint
- Update the dependencies
In progress 2
- Design the settings page
- Fix the login redirect
Done 1
- Set up the CI
import { Component, ViewEncapsulation, signal } from '@angular/core';import { ScFrame, ScSortable, ScSortableGroup, type ScSortableGroupAnnouncement, type ScSortableGroupValue, ScSortableItem,} from '@semantic-components/ui';How it is made
scSortableGroup holds the value — your items by column, replaced on each move. Each column is a list of it, [scSortable]="column.id", its cards scSortableItems: dragged from column to column, or lifted by the keyboard and carried across. The group's items(column) is what to draw, its move(item, column, index) a «Move to…» menu's.
import { ScSortableGroup, ScSortable, ScSortableItem } from '@semantic-components/ui';<div scSortableGroup #board="scSortableGroup" [(value)]="tasks" [announce]="announce"> @for (column of columns; track column.id) { <h3 [id]="column.id">{{ column.title }}</h3> <ul [scSortable]="column.id" [attr.aria-labelledby]="column.id"> @for (task of board.items(column.id); track task.id) { <li [scSortableItem]="task" aria-describedby="help">{{ task.title }}</li> } </ul> }</div>Accessibility
- Each card is a Tab stop: Space lifts it, the arrows move it — down a column and across to the next — Space drops it, Escape puts it back.
- Each step is announced, in your words: the group's
announcegets the card, its column, its place and the count. - Say how it works beside the board (aria-describedby on the cards), and name each column (aria-labelledby its heading).
Examples
Rich cards
Space lifts a card, the arrow keys move it, Space drops it, Escape puts it back.
To do 2
- Customer interviewsResearchHighALAda Lovelace
- Pricing page copyMarketingCopyLowGHGrace Hopper
In progress 1
- Onboarding flowDesignMediumATAlan Turing
Done 1
- Billing migrationBackendHighKJKatherine Johnson
import { Component, ViewEncapsulation, signal } from '@angular/core';import { ScAvatar, ScAvatarFallback, ScBadge, ScButton, ScFrame, ScMenu, ScMenuContent, ScMenuItem,From a flat list
Space lifts a card, the arrow keys move it, Space drops it, Escape puts it back.
To do 2
- ISS-1 Crash on empty search
- ISS-4 Dark mode contrast
In progress 1
- ISS-2 Slow dashboard
Done 1
- ISS-3 Typo in footer
ISS-1 → todo ISS-2 → doing ISS-3 → done ISS-4 → todo
import { Component, ViewEncapsulation, computed, signal } from '@angular/core';import { ScFrame, ScSortable, ScSortableGroup, type ScSortableGroupAnnouncement, type ScSortableGroupValue, ScSortableItem,} from '@semantic-components/ui';Add and limit
Space lifts a card, the arrow keys move it, Space drops it, Escape puts it back.
To do 2
- Draft the agenda
- Book the room
In progress 3 / 3
- Review the budget
- Call the venue
- Send invites
Done 0
import { Component, ViewEncapsulation, signal } from '@angular/core';import { ScButton, ScFrame, ScInput, ScSortable, ScSortableGroup, type ScSortableGroupAnnouncement, type ScSortableGroupValue, ScSortableItem,