'use client'; import { Layout, Section, Article, Masthead, Rule, Folio, IndexBox, Factbox, Headline, Subhead, Kicker, BodyText, Byline, Dateline, Figure, PullQuote, Footer, BreakingNewsBanner, } from 'newspaperui-components'; import Link from 'next/link'; export default function LandingPage() { return ( {/* Breaking News Banner */} v0.1.0 released — 24 components, multi-language blocks, responsive grid, theme customization {/* Masthead */} {/* Main Content: 5 + 14 + 5 layout */}
{/* Left sidebar: Index + Quick links */}
Install
pnpm add newspaperui-components newspaperui-theme
  • 24 React components
  • CSS Grid + Multi-column
  • 4 font families
  • Warm off-white palette
  • Dark mode support
  • CJK ready (中/日)
  • 51 tests passing
{/* Center: Lead story */}
Design System · Open Source Print-Grade Typography Meets the Modern Web 24 components inspired by InDesign, built for React. Real multi-column flow, drop caps, small caps, old-style figures — the full newspaper toolkit.
By the NewspaperUI Team

Open Source — NewspaperUI brings the precision of professional newspaper typesetting to web development. Built on a 24-column CSS Grid foundation with CSS Multi-column text flow, it reproduces the dense, information-rich layouts that have defined print journalism for centuries.

The library's visual weight system — borrowed from InDesign's paragraph styles — drives all typography from a single data source. Change one value in the visual-weights mapping, and every Headline, Subhead, and BodyText component updates globally. This is design-token architecture taken to its logical conclusion.

Typography details that most web frameworks ignore are first-class citizens here: true OpenType small caps (not faked with text-transform), old-style figures that blend with body text, hanging punctuation, proper paragraph indentation (no space between paragraphs, first-line indent from paragraph two), and drop caps that actually work with CSS ::first-letter.

The multi-column flow is real CSS columns — text reflows naturally across 2, 3, or 4 columns with hairline rules between them. Pull quotes span all columns. Figures break cleanly. Orphans and widows are controlled. This is how InDesign works, translated to the browser.

Four preset themes ship out of the box: Classic NYT (warm off-white, Cormorant Garamond masthead), The Times (ink-blue accent), Modern Dark (warm brown-black), and Swiss Modern (Helvetica-clean). The Create page lets you customize every token and export a CSS file for your project.

Components should be few, precise, and unambiguous. Every prop maps to a real newspaper concept.

Multi-language support is built in from day one. Chinese layouts use Noto Serif SC with restrained red accents (masthead and kickers only). Japanese layouts support both horizontal (yokogumi) and traditional vertical (tategumi) writing modes. German blackletter mastheads use UnifrakturMaguntia.

The responsive system uses CSS media queries injected per-Section, so column counts adapt to viewport width without JavaScript. Font sizes use clamp() for fluid scaling between mobile and desktop. No runtime overhead, no layout shift.

{/* Right sidebar: Demo previews */}
Live Blocks Multi-language Demos {/* Mini Chinese preview */}
人民周报
历史性贸易协定昨日签署…
View Chinese Block →
{/* Mini English preview */}
The Quiet Collapse of the Middle Shelf
How a generation of mid-list authors lost their publishers…
View English Block →
{/* Mini Japanese preview */}
朝日新聞
歴史的通商協定が成立…
View Japanese Block →
{/* Quick links */} More
  • All 6 Blocks →
  • NYT Front Page →
  • Blackletter →
  • Theme Creator →
  • Documentation →
{/* Bottom section: Component showcase strip */}
  • Layout
  • Section
  • Article
  • Layer
  • Masthead
  • Rule
  • Footer
  • Sidebar
  • BreakingNewsBanner
  • Headline
  • Subhead
  • Kicker
  • BodyText
  • Quote
  • Byline
  • Dateline
  • Caption
  • AuthorCard
  • JumpLine
  • Image
  • Figure
  • Video
  • PullQuote
  • IndexBox
  • Factbox
  • RelatedArticles
{/* Footer */}