Sheet UI surface catalog.
Canonical inventory of the current `@ljoukov/sheet` surfaces. Each preview renders the actual exported component or the underlying sheet renderer, not a static mock.
Coverage
Use this route to check what the library already supports before adding exam-specific variants or consumer-specific wrappers.
12
Catalogued surfaces
6
Question input types
7
Feedback / runtime states
1
Adjacent surfaces
Sheet frame and review summary
Top-level worksheet surfaces that define the page shell and grading banner.
Sheet root
SheetFull worksheet surface that owns numbering, theming, section state, answer state, and optional review overlays.
Required inputs
Optional inputs
KS2 · History
The Roman Empire
Year 4 · History
Total marks
21
Over 2,000 years ago, one of the greatest empires the world has ever seen stretched across three continents. The Romans built mighty armies, beautiful cities, and roads that still exist today. But how did they end up in Britain — and what did they leave behind?
The Roman Empire was ruled from the city of Rome in Italy. At its peak, it covered parts of Europe, North Africa, and western Asia. The Romans first tried to invade Britain in 55 BC under Julius Caesar, but the full conquest came in 43 AD under Emperor Claudius. Roman soldiers were called legionaries and were among the best-trained soldiers in the ancient world.
What were Roman soldiers called?
From which city was the Roman Empire ruled?
In 122 AD, Emperor Hadrian visited Britain and ordered a massive wall to be built across the north of England. It stretched 73 miles (117 km) from coast to coast. The wall marked the northern frontier of the Roman Empire and kept out tribes from modern-day Scotland, called the Picts. Soldiers lived in forts along the wall and watched for attacks.
Fast Fact
Hadrian’s Wall took about 6 years to build and required thousands of soldiers and workers. Parts of it still stand today!
Which group of people did the wall keep out?
Explain why you think the Romans built Hadrian’s Wall rather than continuing to conquer further north. Give at least one reason.
The Romans changed Britain dramatically. They built straight roads to move armies quickly — many modern roads follow the same routes. They built bathhouses where people washed and socialised. Wealthy Romans lived in large country houses called villas, with mosaic floors and underfloor heating called a hypocaust. They introduced new foods like apples, pears, and even cats!
Why did the Romans build straight roads?
Describe THREE ways the Romans changed life in Britain. Use evidence from the theory above.
By 410 AD, the Roman Empire was struggling. Tribes called the Visigoths attacked Rome itself, and the Emperor told the people of Britain they would have to defend themselves. After nearly 400 years, Roman rule in Britain came to an end. The Romans left, but their language, buildings, and ideas stayed behind — shaping Britain forever.
Which group attacked Rome and contributed to the empire's collapse?
Do you think the Roman invasion of Britain was good or bad for the people living here? Use what you have learned to explain your answer.
Review summary
SheetTop-level grading banner that communicates marks, grading message, and whether teacher-review marks remain open.
Required inputs
Optional inputs
Olympiad · Mathematics
Hamilton 2023
Andrew Hamilton · sample student submission
Total marks
60
Sample worksheet seeded from the Hamilton 2023 combined grading file. Each section shows the original problem statement with Andrew Hamilton's transcribed notebook submission prefilled, including [unclear] markers where the source image was faint.
Susie thinks of a positive integer . She notices that, when she divides by , she is left with a remainder of . Find how many possible values of there are.
Student solution transcript
Since the remainder is , and
is a multiple of .
This means its factors greater than are [partly unclear]
So there are possible 's.
The key observation is correct: must be divisible by . The issue is the count. The condition should be , so is valid, and several larger factors are still missing from the list.
The two positive integers with are such that of of and of of differ by . Find all possible pairs .
Student solution transcript
is equivalent to multiplying by .
and
Since they differ by
and since ,
so
and hence
Since and are integers, , and so
Case 1:
Case 2:
Case 3:
Case 4:
So
This is essentially complete. You convert both percentage expressions correctly, reach , and recover the right four solution pairs. The only missing piece is making the discarded negative roots explicit in each case.
The th term of a sequence is the first non-zero digit of the decimal expansion of . How many of the first one million terms of the sequence are equal to ?
Student solution transcript
Thus for this to be true:
or
or
or [continuation to the next place value].
Then [faint / partial interval work]
and [unclear continuation].
[No final count is visible on the photographed page.]
The starting idea is right: the first non-zero digit is exactly when falls into intervals like , , and so on. The photographed work stops before those intervals are converted into full ranges for and counted.
In the parallelogram , a line through meets at , at and extended at . Prove that .
Student solution transcript
Now since is a parallelogram,
This means that
and
so
and
Since [equivalently, using the same transversal / parallel structure],
and
Therefore
so
Complete proof. You identify one similar-triangle pair to get , a second pair to get , and then multiply the results to reach the required identity.
Mickey writes down on a board consecutive whole numbers, the smallest of which is . He repeatedly replaces the largest two numbers with their difference until only one number remains. For which values of is the last remaining number ?
Student solution transcript
Now subtracting integers from each other and replacing by the difference doesn't change parity.
For final sum to be , sum must be even.
Now the largest numbers are consecutive and will be replaced by .
If is a multiple of , all larger numbers will have been replaced by [pairs of] 's and then 's [unclear wording], so final sum is .
If is more than a multiple of , [unclear continuation].
If is more than a multiple of , [unclear continuation; the photographed argument appears to continue but is not fully legible].
Two strong ideas are present: parity is preserved, and the largest consecutive numbers repeatedly collapse to . The missing part is the hard odd-case analysis, so the final set of valid values is not fully established from the visible work.
Find all triples which satisfy , where is prime and are positive integers.
Student solution transcript
Rearrange this equation, we get
Now since is prime, is prime [power], and
This must be divisible by .
Now
must be divisible by .
So
Now if , for
so and .
For ,
[continuation].
We have
so
This gives
If , again as then if , no solution.
as .
Thus there is no solution.
If , obviously only , and .
This gives
So
The factorisation is correct, and the casework for is mostly good. The gap is the special case , which produces the extra solution .
Question input types
All problem row variants currently handled by the shared sheet renderer.
Fill in the blanks
SheetInline sentence-completion row for short retrieval answers with one or two blank fields.
Required inputs
Optional inputs
Answer payload
answers[question.id] = Record<"0" | "1", string>KS2 · History
Fill Question
Single-blank retrieval prompt with inline paper styling.
Total marks
1
Focused demo of the fill question surface.
The Roman Empire was ruled from the city of Rome in Italy. At its peak, it covered parts of Europe, North Africa, and western Asia. The Romans first tried to invade Britain in 55 BC under Julius Caesar, but the full conquest came in 43 AD under Emperor Claudius. Roman soldiers were called legionaries and were among the best-trained soldiers in the ancient world.
Multiple choice
SheetSingle-select option row with roomy paper buttons and review-aware selection states.
Required inputs
Answer payload
answers[question.id] = stringSchema minimum is two options.
KS2 · History
Multiple Choice
Objective question row with roomy options and paper accents.
Total marks
1
Focused demo of the multiple choice surface.
The Roman Empire was ruled from the city of Rome in Italy. At its peak, it covered parts of Europe, North Africa, and western Asia. The Romans first tried to invade Britain in 55 BC under Julius Caesar, but the full conquest came in 43 AD under Emperor Claudius. Roman soldiers were called legionaries and were among the best-trained soldiers in the ancient world.
What were Roman soldiers called?
Lines / extended response
SheetFreeform long-answer row that can stay as a ruled textarea or render locked markdown output.
Required inputs
Optional inputs
Answer payload
answers[question.id] = string`renderMode = "markdown"` switches locked output to rendered markdown.
KS2 · History
Lines Question
Ruled writing area for longer student responses.
Total marks
2
Focused demo of the lines question surface.
In 122 AD, Emperor Hadrian visited Britain and ordered a massive wall to be built across the north of England. It stretched 73 miles (117 km) from coast to coast. The wall marked the northern frontier of the Roman Empire and kept out tribes from modern-day Scotland, called the Picts. Soldiers lived in forts along the wall and watched for attacks.
Fast Fact
Hadrian’s Wall took about 6 years to build and required thousands of soldiers and workers. Parts of it still stand today!
Explain why you think the Romans built Hadrian’s Wall rather than continuing to conquer further north. Give at least one reason.
Calculation row
SheetCompact numeric or symbolic answer row with a left label and a right-side unit.
Required inputs
Optional inputs
Answer payload
answers[question.id] = stringKS3 · Science
Calculation Question
Formula-led prompt with compact answer and unit treatment.
Total marks
1
Focused demo of the calculation question surface.
Iron is a strong, hard metal with a high melting point. It is magnetic, meaning it is attracted to magnets. Iron has a density of 7.88 g/cm³, which means it is much denser than water. These properties make iron ideal for making nails, girders, and machinery. Pure iron is actually quite soft — it is usually combined with carbon to make steel, which is much stronger.
Iron has a density of 7.88 g/cm³. Calculate the mass of an iron nail with a volume of 2 cm³.
Match pairs
SheetTwo-column matching row where the student selects a term, then assigns the paired meaning.
Required inputs
Answer payload
answers[question.id] = Record<string, string>Each pair needs both `term` and `match`.
KS2 · History
Match Question
Term-to-definition layout with two aligned columns.
Total marks
2
Focused demo of the match question surface.
The Romans changed Britain dramatically. They built straight roads to move armies quickly — many modern roads follow the same routes. They built bathhouses where people washed and socialised. Wealthy Romans lived in large country houses called villas, with mosaic floors and underfloor heating called a hypocaust. They introduced new foods like apples, pears, and even cats!
Spelling correction
SheetCorrection list that shows the misspelled word and captures the repaired spelling inline.
Required inputs
Answer payload
answers[question.id] = Record<string, string>Each word entry currently requires `wrong`.
KS2 · English
Spelling Question
Correction rows that keep prompt text and answer rhythm aligned.
Total marks
2
Focused demo of the spelling question surface.
Many English words change form depending on how they are used in a sentence. A noun names a thing or idea. A verb shows action or being. An adjective describes a noun. Understanding root words helps you spell and understand new words — for example, 'determine' is the root of 'determined' and 'determination'.
Correct the spelling of these words.
Question-level tutor feedback
Conversation surfaces for open notes, streamed responses, and attachment review.
Question feedback note
SheetFeedbackCardReview-note surface that combines a tutor note, optional thread, and inline reply composer.
Required inputs
Optional inputs
Your setup is right, but the final count still misses some divisors. Recount the factors greater than 43 and explain where 44 fits.
I think I forgot 44 and some of the larger factor pairs.
That is the right place to check. Recount in order so the missing values stand out.
Feedback attachments
SheetFeedbackThreadStudent or tutor turns can include image and file attachments alongside the threaded conversation.
Required inputs
Optional inputs
Here is the part of my working where I recounted the factors.
Good. The image makes the missing values easier to see. Compare the written list against the factors above 43.
Runtime feedback progression
SheetFeedbackCardThe tutor note can represent pending, thinking, responding, and resolved states while the conversation progresses.
Required inputs
Optional inputs
Your setup is right, but the final count still misses some divisors. Recount the factors greater than 43 and explain where 44 fits.
Your setup is right, but the final count still misses some divisors. Recount the factors greater than 43 and explain where 44 fits.
Can you check whether 44 should be included?
Thinking stream
I can keep the divisor idea and fix the count. The condition is n > 43, so 44 is allowed.
Your setup is right, but the final count still misses some divisors. Recount the factors greater than 43 and explain where 44 fits.
Please check the corrected count.
Response stream
Your setup is right: remainder 43 means n | 1980 and n > 43.
The missing factors are 44, 45, 396, 660, and 1980.
So there are 19 possible values of n.
The corrected count is complete and the conclusion now matches the divisor list.
I recounted the factors and there are 19 values.
Exactly. 44, 45, 396, 660, and 1980 were the missing values in the first list.
Standalone rendering surfaces
Shared adjacent components that are used alongside the worksheet flow.
Markdown surface
MarkdownStandalone markdown renderer for prose, maths, tables, and fenced code blocks with theme-aware styling.
Required inputs
Optional inputs
Worked example
The remainder is 43, so we know:
That means n must divide 1980.
Strategy
- Factorise
1980 - List factors greater than 43
- Check that each factor gives remainder 43
The cleanest final sentence is the one that repeats the corrected count.
const factors = [44, 45, 55, 60, 66];
console.log(factors.length);