skip to the page
superthread
compositionsjob sheet
system
superthread
version
2.15.1
date
24.11.26

job sheet

the one job on the page's paper: how long you have, what to do, why, and the step that starts it.

bunx --bun shadcn@latest add @mk/job-sheet

serves quanta, trisys, and orbit.

example

every part sits in a held slot, so a state that drops one moves nothing, and a click never shifts a target. paper reaches past the panel by its own padding, so the words share the panel’s left edge. the frames here use a 1100 px viewport, where the panel is at its full width.

light

dark

through the day

near a meeting the quiet line says what moved. the line is a slow read, so its slot holds whether it answers or not. in the meeting the cue turns into a fact, the primary prints as an outline, and the sheet keeps its height with the why gone.

light

dark

when it's wrong

the why’s slot holds InlineAnswers, so wrong? swaps the line for plain answers and the actions stay where they were. wrong day asks which day in the same slot. on a phone the answers take the quiet line’s room while they’re open. when there’s nothing left to do, the sheet gives way to clear.

light

dark

long titles

the title prints through FitTitle in the slot’s held height: a longer one steps down, and only one that can’t fit at 26/29 cuts, at a word. the slot never grows, so the actions stay put.

light

dark

on a phone

the title takes six lines of long and the why takes two. the primary takes what the row leaves, with its words on two lines when the step needs them, and a toggle keeps its words on one line beside it. on a sheet under 360 px, the toggle takes two lines in a column of its own and the primary keeps the rest.

light

dark

parts

JobSheet
the paper and its held rows. name it with aria-labelledby and the title’s id. it takes its own space above, so print it right after what stands over it.
JobSheetCue
the gap in plain words, or a fact in the job’s place. one line.
JobSheetTitle
the job, through FitTitle. pass href or link to the page that prints it whole.
JobSheetWhy
why this job, in one short sentence: one line at a full panel, two below it. it holds InlineAnswers when the job can be wrong.
JobSheetChanged
one quiet line for what moved. render it from the start, empty until the words arrive.
JobSheetActions
the row of actions at the foot.
JobSheetPrimary
the page’s one primary, at 48 px. reserve takes its longest word, so it holds its width when the word changes.
JobSheetToggle
a way of holding the whole page, such as only what can’t slip.