Recurring process radial — Steps block
Prosteps-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-radialUsage
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.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe section’s heading |
| intro | string | Wordsa sentence or two under the heading |
| nodes* | Node[] | the steps of the cycle |
| centre | string | Wordsa few words at the centre of the cycle |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Node nodes[] · 7 props
| Prop | Type | Description |
|---|---|---|
| id* | string | Designthe node’s key |
| label* | string | Wordsthe node’s name, as shown |
| text | string | Wordsthe node’s text |
| next | string[] | Designthe ids of the steps that follow it |
| lane | string | Wordsthe lane it sits in, e.g. a team |
| from | number | the first period the step spans, from 0 |
| to | number | the last period the step spans, from 0 |
Options options · 1 props
| Prop | Type | Description |
|---|---|---|
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a 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).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your 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:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too 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.