Plan split — Kanban block

Pro

kanban-plan-split · for app, projects pages

Plan split

An editable plan: the groups and tasks as a folding tree beside their bars on a day, week, month or quarter grid, which the team drags, resizes or moves with the keys to reschedule the merchant’s own tasks.

Documentation

Installation

One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).

pnpm dlx shadcn-vue@latest add @trame/kanban-plan-split

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import KanbanPlanSplit from '@/components/trame/blocks/kanban/kanban-plan-split.vue'

const props = {
title: "Spring launch plan",
intro: "Drag a bar to move a task, pull its ends to change its dates, or pick it and use the arrow keys.",
rows: [
{
id: "research",
label: "Research"
},
{
id: "interviews",
parentId: "research",
label: "Customer interviews",
start: 1772409600000,
end: 1773187200000,
progress: 100,
status: "Done"
}
],
scale: "week",
today: "2026-03-18",
reschedule: "tasks.reschedule"
}
</script>

<template>
<KanbanPlanSplit v-bind="props" />
</template>

Props

Each prop says who changes it: Words, Picture, Action, Design, Data.* required.

PropTypeDescription
titlestringWordswhat the plan is ("Spring launch plan")
introstringWordsa sentence or two under the heading
rows*Row[]Datathe plan’s groups and tasks, in order: a row whose id is another row’s parentId is a group (its bar is the span of its tasks); `start` and `end` are the first and last day in epoch milliseconds (UTC midnight, both days included); a task without them is not scheduled yet
scale'day' | 'week' | 'month' | 'quarter'the time scale the board opens on; week by default
todaystringDatatoday’s date (YYYY-MM-DD) as the host knows it, so the server and the page agree
reschedulestringActionsaves a task’s new dates: without it, or when the page lacks it, the plan is read-only
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Row rows[] · 12 props
PropTypeDescription
id*stringDatathe item’s id
parentIdstringDatathe id of the item it belongs under, if any
label*stringWordsthe item’s name
startnumberaxis coordinate in the same unit as range, e.g. epoch milliseconds or trace milliseconds
endnumberaxis coordinate where it ends, in the same unit as start
datesstringWordsits dates, as the host writes them
baselineBaselinethe original schedule, to compare with
progressnumberhow far along it is, 0 to 100
ownersOwner[]Datawho is in charge of it
statusstringWordsits status, in the host’s words
tone'neutral' | 'info' | 'success' | 'warning' | 'danger'the status colour
detailstringWordsone more line about it
Baseline rows[].baseline · 3 props
PropTypeDescription
start*numberwhere it started, in the same unit as the item’s start
end*numberwhere it ended, in the same unit as the item’s end
datesstringWordsthe original schedule in the host’s words
Owner rows[].owners[] · 6 props
PropTypeDescription
idstring | numberDatathe record’s id in the tool that answers it
name*stringWordsthe person’s name
rolestringWordstheir role or job title
companystringWordswhere they work
avatarstringPicturea picture: a root-relative path (/media/…) or an absolute URL
urlstringDesigna page about them
Options options · 1 props
PropTypeDescription
mood'inverse' | 'brand' | 'warm' | 'tint' | stringa band of the page that redefines the theme surfaces inside it
What it asks your app for

The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).

MemberWhat it is for
hrefthe address an action leads to, or null to hide what leads there
actruns a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error }
canwhether the page has this action
cartCountthe cart badge’s number
cartDrawerwhether your app has a cart drawer
cartOpenwhether the cart drawer is open
labelyour word for an interface key, or undefined to keep the block’s own

The words it says itself, in English and French; label(key) replaces any of them:

KeyEnglishFrench
newsletter.alreadyYou are already subscribed.Vous êtes déjà inscrit.
newsletter.doneDone: you are subscribed.C’est noté : vous êtes inscrit.
newsletter.invalidCheck the email address.Vérifiez l’adresse e-mail.
newsletter.tooManyToo many attempts, try again in a moment.Trop de tentatives, réessayez dans un moment.

Features

  • Every word in the server HTML
  • Same markup in Vue and React
  • Theme tokens only: every theme, light and dark
  • Shows what you give it, invents nothing
  • No motion; still under reduced motion
  • Real buttons and links, a visible focus
  • Asks your app through actions: plan.reschedule
  • Reads tasks from your app

A kanban section, for app, projects pages; it uses @lucide/vue, @vueuse/core, class-variance-authority, clsx, reka-ui, tailwind-merge.

Built with

The components this block is made of; each one installs on its own too.

More kanban blocks

  • Board compact: many small cards (a title, one chip, an owner) on narrow columns.
  • Board stacked: a phone-first board: the stages stacked as folding sections, one column wide.
  • Board stage ledger: Wide horizontal stage rows with a count rail and wrapping cards, for reviewing the merchant’s own records without horizontal scrolling.
  • Board tinted collapsible: a sales pipeline whose stages are tinted and whose finished or empty stages fold into a strip.
  • Held up columns: a release or production board where some cards are held up and the reason must be seen.
  • Workflow canvas list: Ordered steps with incoming conditions and last-run states, the merchant’s own only; suitable for long or complex automations.
  • Workflow canvas read only tree: A short branching automation in connected cards, indented on phones; run states are the merchant’s own only.
  • Workload lanes: Stages crossed with the first person field, for reviewing the team’s own workload by responsible person.

All 10 kanban blocks