One screen, every shape
thumbnail to enlarge it.
The point of the pattern is that a reader compares shapes in place instead of scrolling past four stacked figures, and that the picture they enlarge is the same picture they picked. It is CSS only, so it costs no script and degrades on a plain git host to the four figures shown one after another.
The input example, focused
Section titled “The input example, focused”Below is examples/input/app.jsx with a field focused, so the keyboard is
up. Nothing in that file mentions a display shape: the layout, the
keyboard layout, and whether the keyboard docks or takes the screen are
all decided from the room available.
Is this worth doing everywhere?
Section titled “Is this worth doing everywhere?”Against: every page that uses it needs a shot per shape, which is four
renders instead of one, and the switcher is only meaningful where the
shapes genuinely differ. A Button looks like a button everywhere.
For: it is exactly right for the pages about adapting to a display — keyboards, layout, round glass, and the boards themselves — where the whole subject is that the same code produces different pictures.
The shots are cheap to make (bun scripts/shoot.mjs <name> <profile> <app.jsx>) and the markup is a plain block of HTML, so adopting it page
by page costs nothing up front and can stop wherever it stops earning its
place.