Task workspace.
A sortable board and aligned backlog, with guarded saves and a way back.
A LITTLE MOMENTUM
Make room for the next step.
Sample tasks. Changes last for this session.
Drag a handle to reorder. Select the same handle to choose a column and position.
Planned
Ready when there is room.
- Accessibility
- Interface
Refine the empty state
- Documentation
Document the loading states
In progress
Keep the active work small.
- Engineering
Build the settings form
- Interface
Tune the focus transitions
Done
Small steps, finished.
- Foundations
Set the spacing scale
Live interface · sample data · state resets on reload
GET STARTED
Source you can customise.
npx shadcn@latest add https://ui.bld8.dev/r/task-workspace.jsonInstall into an existing application, or download the complete starter below.
Download the starter, unzip it and run the commands below. Choose Next.js or React + Vite. Both include the same BLD8 packages and editable source. No BLD8 npm installation is needed.
npm install
npm run devNext.js opens on http://localhost:3000; Vite opens on http://127.0.0.1:5173. Use the port printed by the dev server if the default is occupied. Node 22.13+ and React 19 are used. Import TaskWorkspace from @bld8/blocks in your own composition.
Moving between Next.js and Vite? Keep the UI source and review the application-specific changes.
NOTES TO SELF
A clear starting point.
Board and Backlog share the same ordered tasks. Drag a handle, or select it to choose a destination and position. Escape cancels dragging. New tasks join Planned; In progress has a limit of three. Default changes are in memory for this session. Supply onSave with AbortSignal and expectedRevision to save an atomic board order through your application. Rejected saves restore the previous order and offer retry; cancellation ignores late responses. The host owns authentication, revision checks and persistence. No backend or collaborative live service is included.
Original BLD8 source uses MIT. Personal and commercial use are allowed; preserve the copyright, licence and applicable third-party notices when sharing source.
Licence and usage Source manifestPublic API
Generated from the same public TypeScript exports as the agent documentation. The host owns the service contracts described above.
TaskWorkspace
| Prop | Type | Default |
|---|---|---|
disabled | boolean | undefined | false |
error | string | undefined | — |
initialRevision | number | undefined | 1 |
initialTasks | WorkspaceTask[] | undefined | taskSamples |
loading | boolean | undefined | false |
onRetry | (() => void) | undefined | — |
onSave | ((tasks: WorkspaceTask[], context: TaskWorkspaceSaveContext) => Promise<TaskWorkspaceSaveResult>) | undefinedCommit a complete board order atomically, checking expectedRevision on your server. | — |
Tables come from the public TypeScript declarations. Related types and function parameters are shown alongside their component. A dash means no default is declared at the public function boundary.