StealThis .dev

News — Byline · Dateline · Read-time Meta

A self-contained editorial byline and meta component set for the fictional Meridian Standard, art-directed in a warm newsprint palette with Playfair Display headlines and Inter meta. It collects four byline layouts — simple author and date, author with portrait and role, multi-author, and agency credit — each carrying a dateline, published and updated timestamps, an estimated read-time, and a share and save icon row. A reading-time calculator estimates duration from a word count or pasted copy. Vanilla JS computes read time live, toggles the save state, and fires share toasts.

लैब में खोलें
html css vanilla-js
Targets: JS HTML

Code

Byline · Dateline · Read-time Meta

A newsroom-grade byline kit for The Meridian Standard, a fictional broadsheet set in a warm newsprint palette with hairline rules, a single red accent, and Playfair Display over Inter. A lead story anchors the page with a rich byline — author portrait, role, dateline, published and updated timestamps, an auto-computed read-time, and a save and share icon row — above a duotone captioned figure, a justified two-column body with a red drop cap, and an oversized pull quote.

Below the rule, a gallery shows four ways to credit a story: a simple author-and-date line, an author with portrait and role, a multi-author line, and an agency-wire credit. Each variant carries its own dateline and read-time, and every read-time on the page is calculated from the article copy at the standard newsroom pace, so the meta always matches the words it describes.

The reading-time calculator estimates how long a piece will hold a reader. Drag the words-per-minute slider, type a word count, or paste the copy itself — the script counts the words, derives minutes and seconds, and renders a live meta preview. The save button toggles a bookmarked state, the share controls copy a link or open a target, and a small toast confirms each action.

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