Skip to content
Calm motion: animations on this site only fade, with no movement

Work instructions ​

The steps of a job with a picture for each step

Guides an operator through a job at a station, one step at a time. For the steps of a form, use the stepper.

Basic
Desk mic kit · WO-2026-0091Step 1 of 4

Check the parts

The parts in a row on a mat

Lay out one capsule, one USB board, one metal body, and six M2 screws. Return any part with a scratch.

  • steps is the list of steps. Each step has a title and a body. It can also have an image with its alt text, and a caution.
  • A caution shows in a box with the word "Caution" before the body, so the operator reads it first.
  • v-model is the index of the step on the screen. A bar on top shows the done steps and the current one, and a line counts them, such as "Step 2 of 4".
  • The Back and Next buttons are big, for gloves. On the last step, Next becomes Finish and emits finish.
  • When the step changes, the focus moves to its title, so a screen reader reads the new step.
  • job names the job on top. Change the words with labels or a label pack: title, back, next, finish, caution, and step (a function).

Usage ​

ts
import { BlessWorkInstructions } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
jobstring—the job, for the title
steps*BlessInstructionStep[]—
labelsPartial<{ title: string; step: (n: number, total: number) => string; back: string; next: string; finish: string; caution: string; }>—
modelValuenumber0the index of the step on the screen

Events

NamePayloadDescription
update:modelValue[value: number]
finish[]

Released under the MIT License. Character names and artwork belong to their owners.