Workflow canvas list — Kanban block

Pro

kanban-workflow-canvas-list · for app, automations pages

Workflow canvas list

Ordered steps with incoming conditions and last-run states, the merchant’s own only; suitable for long or complex automations.

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-workflow-canvas-list

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import KanbanWorkflowCanvasList from '@/components/trame/blocks/kanban/kanban-workflow-canvas-list.vue'

const props = {
title: "From cart to workshop",
intro: "How orders get processed, step by step.",
nodes: [
{
id: "received",
app: "Orders",
title: "Order received",
lastRun: {
state: "Done",
tone: "success",
at: "October 9, 2026 at 2:32 PM"
}
},
{
id: "check",
app: "Inventory",
title: "Check availability",
description: "Each SKU is checked against the workshop’s stock.",
lastRun: {
state: "Done",
tone: "success"
}
}
],
edges: [
{
from: "received",
to: "check"
},
{
from: "check",
to: "prepare",
condition: "All SKUs are available"
}
],
open: "step"
}
</script>

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

Props

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

PropTypeDescription
title*stringWordsthe section’s heading
introstringWordsa sentence or two under the heading
nodes*Node[]Dataunique steps; array order breaks ties between independent branches
edges*Edge[]Datadirected connections between existing step ids
openstringActionopens a step in the host
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Node nodes[] · 6 props
PropTypeDescription
id*stringDatathe node’s id
app*stringWordsthe service responsible for this step
title*stringWordsthe operation performed
descriptionstringWordsthe node’s description
iconstringPicturea picture: a root-relative path (/media/…) or an absolute URL
lastRunLastRunhow the step’s last run went, as recorded
LastRun nodes[].lastRun · 3 props
PropTypeDescription
state*stringWordsthe recorded run state, never inferred
tone'neutral' | 'success' | 'warning' | 'danger'the status colour
atstringWordsthe date as supplied by the run log
Edge edges[] · 3 props
PropTypeDescription
from*stringDatathe id of the step it starts from
to*stringDatathe id of the step it leads to
conditionstringWordsthe condition for taking this path, e.g. "If paid"
Options options · 3 props
PropTypeDescription
emptystringWordswhat an empty workflow says
footnotestringWordsa small line at the foot of the section
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
asseta picture’s address as your app serves it
Linkyour router’s link component
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: open
  • Reads steps from your app

A kanban section, for app, automations pages.

More kanban blocks

  • Board columns: records grouped by stage, side by side, so a team sees the flow and moves a record forward.
  • 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.
  • 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.
  • Workload lanes: Stages crossed with the first person field, for reviewing the team’s own workload by responsible person.

All 10 kanban blocks