Stage 06 · Component
Section plate
A number plate that follows you down the page and says where you are.
Live
The plate is live on this page. Scroll a little and it drops in at the top right, numbered with this page’s own sections.
Reasoning
Why it exists
A long single page needs a way back without a header bar eating the top of every screen. The plate takes the space of a sticker, shows the current section and opens into the full list on demand.
How it tracks
The current section is worked out from scroll position, not from intersection events, so it stays right after a jump link or a resize. It stays inert until the first section reaches the middle of the screen.
Leave it out when
The page has fewer than three sections or already has a visible menu. This page mounts a real one for its own sections: look at the top right corner.
Props
| Prop | Type | What it does |
|---|---|---|
sectionsrequired | readonly PlateSection[] | The id and label of each section, in page order. Numbers are derived. |
labelsrequired | PlateLabels | Navigation name, the position text and the contact link at the bottom. |
links | readonly PlateLink[] | Extra links listed after the sections, for places outside the page. |