StealThis .dev

News — Masthead / Nameplate Variants

A nameplate variant gallery for a fictional daily, built on an editorial newsprint design system in Playfair Display and Inter. Five distinct mastheads — a classic centered broadsheet with a Latin motto and flanking date and price, a lean left-aligned modern wordmark, a condensed all-caps tabloid over a red banner, a heavy gothic plate with small-caps strips, and an airy tracked magazine treatment — each frame a live front-page preview with hairline rules, edition lines, and a dateline. Vanilla JS switches variants and edits the paper name live.

In Lab öffnen
html css vanilla-js
Targets: JS HTML

Code

Masthead / Nameplate Variants

A working masthead kit for The Meridian Courier, a fictional daily. A live preview sheet carries a full nameplate — an upper strip with the edition, weather, and volume line, a centered wordmark flanked by a Latin motto and an Est. line, and a lower strip with the dateline, slogan, and cover price — all framed by hairline and double rules. Beneath it sits a real front page (drop-cap lede, captioned duotone “press photos”, and an oversized pull quote) so each nameplate is judged in context rather than in isolation.

A gallery of five plates renders the same paper name in five distinct treatments: a classic centered broadsheet, a lean left-aligned modern wordmark with a single red rule, a loud condensed all-caps tabloid over a red edition banner, a heavy gothic plate set in small-caps with leaf ornaments, and an airy, widely-tracked magazine treatment. Tapping any plate — or the segmented switcher in the control bar — applies that masthead to the live edition and scrolls it into view.

Editing the paper-name field rewrites the live wordmark and every gallery preview in real time, with whitespace collapsed and a sensible default restored if the field is cleared. The script is dependency-free: it ticks the dateline to today, keeps the segmented control and gallery selection in sync via aria-selected and an active class, and surfaces a small toast() for each action.

Illustrative UI only — masthead, headlines, bylines, and articles are fictional; not a real news publication.