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

Work order card ​

A work order with the product, the quantity, the due time, and the state

A work order tells a station what to make, how many, and by when. Put the cards on a board of a line or on the screen of a station.

Basic
WO-2026-0091 Running

Desk mic kit, black

Assembly line 2 · Due 16 Nov, 15:00

128 of 200 pcs
WO-2026-0092 Queued

Pop filter

Line 1 · Due 17 Nov

0 of 500 pcs
WO-2026-0088 Blocked

USB-C cable kit

Packing

120 of 300 pcs
  • number, product, and target are required. done is how many are made, and unit is the unit (default pcs).
  • station and due show under the product, as text.
  • state is queued (default), running, paused, blocked, or done. It shows as a mark and a word. A running order has an accent top edge, and a blocked one is dashed and red.
  • The progress is a native progress element, named such as "128 of 200 pcs".
  • The buttons follow the state: Start for a queued order, Pause for a running one, Resume for a paused or blocked one, and Finish. They emit start, pause, and finish. A done order has no buttons.
  • locale sets the format of the numbers. Change the words with labels or a label pack: the five states, start, pause, resume, finish, and the functions due and progress.

Usage ​

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

API ​

Props

NameTypeDefaultDescription
number*string—
product*string—
target*number—how many to make
donenumber0how many are made
unitstring"pcs"
duestring—the due time, as text
stationstring—the station or the line
stateBlessWorkOrderState"queued"
localestring"en"
labelsPartial<Record<BlessWorkOrderState, string> & { start: string; pause: string; resume: string; finish: string; due: (time: string) => string; progress: (done: string, target: string) => string; }>—

Events

NamePayloadDescription
pause[]
start[]
finish[]

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