Recurring process radial — Steps block

Pro

steps-recurring-process-radial · for landing, home pages

Recurring process radial

A circular numbered map and a readable legend for recurring work; the merchant’s own only.

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/steps-recurring-process-radial

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import StepsRecurringProcessRadial from '@/components/trame/blocks/steps/steps-recurring-process-radial.vue'

const props = {
title: "A method that keeps the back-and-forth easy to follow",
intro: "A sample structure to adapt to the merchant’s real process.",
nodes: [
{
id: "preparer",
label: "Prepare the brief",
text: "Gather what’s needed.",
lane: "Your team",
from: 0,
to: 0
},
{
id: "relire",
label: "Review together",
text: "Weigh the needs against the constraints.",
lane: "The workshop",
from: 1,
to: 2
}
],
centre: "Shared work"
}
</script>

<template>
<StepsRecurringProcessRadial 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[]the steps of the cycle
centrestringWordsa few words at the centre of the cycle
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Node nodes[] · 7 props
PropTypeDescription
id*stringDesignthe node’s key
label*stringWordsthe node’s name, as shown
textstringWordsthe node’s text
nextstring[]Designthe ids of the steps that follow it
lanestringWordsthe lane it sits in, e.g. a team
fromnumberthe first period the step spans, from 0
tonumberthe last period the step spans, from 0
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
  • Subtle motion: one short reveal; still under reduced motion
  • Real buttons and links, a visible focus

A steps section, for landing, home pages; it uses clsx, motion, tailwind-merge.

More steps blocks

  • Horizontal: 3 or 4 short steps along one line with numbered dots, a vertical rail on a phone: the quick how-it-works.
  • Process diagram gantt: A bounded schedule across the supplied periods, scrollable on phones; the merchant’s own only.
  • Process diagram lanes: Responsibilities grouped by the supplied lane and period; the merchant’s own only.
  • Progress bar: a short flow in stages, a segmented bar with the duration of each: order, setup or delivery in 4 stages.
  • Staircase: 4 or 5 stages of a service as one bold graphic: full-width bands deepening in the brand’s tints, the title at the left and a huge number that steps further right on each band.
  • Sticky media: 3 to 5 steps that each have their own picture: the heading and the picture of the step in view stay in place while the steps scroll beside them with oversized numbers.
  • Vertical rail: 4 to 6 steps with detail, a heading beside a rail of numbered badges and small time tags: a process to read.
  • Workflow branches diagram: Explicit connections show forks and rejoins, with a text equivalent; the merchant’s own only.

All 14 steps blocks