Calm motion: animations on this site only fade, with no movement
Production counter
Good and scrap pieces against the target, with big buttons for a station
Counts the output of a station on a tablet at the line. Scrap is a piece that fails and goes to waste. The buttons are big, so an operator with gloves can hit them.
Basic
Good142of 200
Scrap3Yield 97.9%
v-model:goodandv-model:scraphold the counts. "+1 Good" and "+1 Scrap" add one each.targetis the number of good pieces for the shift. A bar shows how far the good count is.- The yield is the good pieces as a percent of all pieces.
- "Undo the last count" takes back the last taps, one at a time.
- After each tap, a hidden status line says both counts, so a screen reader user hears the result.
localesets the format of the numbers. Change the words withlabelsor a label pack:title,good,scrap,addGood,addScrap,undo, and the functionstarget,yield, andsaid.
Usage
ts
import { BlessProductionCounter } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
target | number | — | how many good pieces the shift must make |
locale | string | "en" | |
labels | Partial<{ title: string; good: string; scrap: string; addGood: string; addScrap: string; undo: string; target: (n: string) => string; yield: (percent: string) => string; said: (good: string, scrap: string) => string; }> | — | |
good | number | 0 | |
scrap | number | 0 |
Events
| Name | Payload | Description |
|---|---|---|
update:good | [value: number] | |
update:scrap | [value: number] |