shadcn.io is not affiliated with official shadcn/ui
Newspaper Column Spread Features Block for React
A features section for a media-monitoring service set as a front page: a masthead band, a lead story beside a framed chart of its mentions by hour, three short stories in CSS columns with hairline column rules, and an In brief list.
Installation
Overview
A features section for React with Base UI, set as the front page of a daily paper. A compact header sits over a masthead band with the paper's name, its edition and the day's counts, then a lead story for Wirecopy, a media-monitoring service, with a framed chart of its mentions hour by hour beside it. Under that, three short stories run in CSS columns split by column-rule hairlines, each with a desk badge, a byline and a Continue link, and an In brief list of one-line headlines closes the page. The bands share the page's top rule and plus marks, and nothing moves: it is static type, a badge and the Guides line kit, in your theme's font and tokens, with no button. For press-monitoring, newsletter and reporting products, and for any launch page that wants to feel like a morning edition.
FAQ
How do I change the stories, the chart and the brief?
Edit the constants at the top of the file: STORIES for the three short stories, BRIEF for the one-liners, and HOURS for the chart's bars. The chart's caption (its total and its peak) is computed from HOURS, so the bars and the sentence under them always agree. The lead story and the masthead's counts are plain text in EDITION and the component.
How do the columns work?
The three stories sit in one box with CSS columns and a column-rule hairline in the border colour, so the line between them is the browser's own and always as tall as the shortest column. Each story is kept whole with break-inside-avoid. The stories are written to about the same length so one lands in each column; a much longer story would pull a neighbour down into its column. Below md the columns become one, with a rule between the stories.
Does anything move?
Only the header, which fades up once when the page loads (and not at all with reduced motion). The rest of the page is static: the Continue links go where you point them, and the chart is a drawing of the data above it.
Is the chart readable without seeing it?
The bars are hidden from assistive technology and the caption under the chart says what they show: the hours covered, the total and the peak with its hour. Each story is an article with a level-three headline under the section's level-two heading, so a screen reader's heading list reads as the page's outline.
How does it fit on a phone?
Everything is one column. The chart sits under the lead story with a rule between, it gets shorter, and the In brief list shows its first three lines so the page stays within about two and a half screens. Nothing scrolls sideways at 320 pixels.
Does it work right to left?
Yes. The columns and the masthead follow the reading direction, the Continue arrows mirror, and the chart keeps its hours in order from earliest to latest on any page because a time axis isn't mirrored. Counts such as the mentions and the outlets are isolated so their digits stay intact.
Related
- Pro
Magazine Editorial Features
Documents and objectsA product story set like a magazine feature: a headline, a drop-cap opening, two flowing columns with an inline bar-chart figure and its caption between the paragraphs, and a Key features aside in a card in card.
- 4Pro
Magazine Cover Split Features
Documents and objectsA release drawn as a magazine cover: a portrait cover with a huge version numeral over a small UI collage, beside a divider and a numbered list of what's inside, each with a New or Improved badge.
- Pro
Changelog Features
Timelines and stepsA release feed for a changelog tool that presents its features as release entries: a New, Improved and Fixed filter with counts, a version rail, and a collapsible What changed list on each.
- Pro
Availability Index Features
Headline-ledA feature index for a deploy tool: a large headline over a table of six features, each with a rollout meter and a channel badge, in bands that run from rail to rail.
- Pro
Metric Hero Strip Features
Metrics and chartsFour metric-over-feature columns for a data-pipeline tool: a giant tabular figure and label, then the feature that makes it true, in one divided band under a centred header.
- Pro
Boarding Pass Ticket Stub Features
Documents and objectsThree route cards for a migration tool, each shaped like a perforated ticket: a manual-to-automated route on the main panel and the time saved on a stub, with a notch at each end of the divider.