Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Magazine Editorial Features Block for React

A 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.

Framework
UI library

Preview

Preview width

Installation

Part of Pro
Pro unlocks the code and one-line install of every Pro button and text effect, plus the MCP for your AI editor.
Have Pro already? Sign in to open it.Opens here as soon as you're Pro.

Overview

An editorial feature section for React with Base UI, shown for Columnist, a publishing tool. A headline and a one-line standfirst open a long read: the first paragraph starts with a drop cap, set by our Drop Cap Text, and the body flows into two columns from sm with a hairline between them. Halfway down, an inline figure spans both columns: a small bar chart of how long a forty-page draft takes to open in each release, in a frame with + marks on its corners and a caption under it. Beside the story, a "Key features" aside is a card in card: a muted shell with + marks around a raised panel, with a badge, four features and a link. One column on a phone, with the aside under the story. It's built from Drop Cap Text, Badge and Guides, with CSS transitions for the entrance and your theme's tokens for every colour. For launch essays, founder notes, engineering write-ups and long-form announcements.

FAQ

How do I change the story?

Edit LEDE for the opening paragraph and BODY for the paragraphs before and after the figure; each is a plain array of strings, so the story can come from your CMS. The drop cap is the first letter of LEDE itself, so the text stays whole for screen readers, search and copying.

How is the figure made, and is it accessible?

The bars are plain HTML in a list: each release is a row with its name and its value in words ("300 ms"), so nothing depends on the drawing. The bars are decorative and hidden from screen readers, and the figure's caption says what is measured. Edit RELEASES; the bar widths and the highlighted fastest release come from the numbers.

How do the columns and the full-width figure work?

The body uses CSS multi-column layout from sm up, and the figure uses column-span: all, so the text above it balances into two columns, the figure runs across both, and the text below flows into two more. Below sm the container is one column and the figure simply sits between paragraphs.

Why is the aside a card in a card?

A raised panel inside a muted shell keeps it separate from the story in both a light and a dark theme without a coloured fill. It is a labelled aside landmark with its own heading, so a screen reader can jump to it or skip it, and its features are a real list.

What moves, and what happens with reduced motion?

The headline and the aside fade up once when the page loads, with a CSS transition, and the drop cap inks in from the top as the page loads. With reduced motion the transitions are off, the cap is simply there and the section appears at once.

How does it fit on a phone?

Everything stacks in one column: headline, story, the figure between its paragraphs, then the aside. The figure's rows keep their name, bar and value on one line down to 320 pixels, and nothing scrolls sideways.

  • Pro

    Magazine Cover Split Features

    Documents and objects

    A 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

    Chapter Outline Features

    Documents and objects

    A course outline laid out like a book's contents: eight numbered chapters in two ruled columns, each a collapsible row that opens to three sections, with read times and the reader's place.

  • Pro

    A magazine-style testimonial: a compact header with a Shine Button, then one long quote in two serif columns that open with a drop cap, on a page framed by hairline corners with + marks, with an em-dash byline and the publication it appeared in.

  • Pro

    Glossary Term Grid Features

    Documents and objects

    A glossary: an A to Z rail of anchor links where only letters with a term are active, and eight terms in two columns of shared hairlines, each with its part of speech, a definition and a See also link.

  • Pro

    A features section that tells five years of an edge runtime as year tabs on one rail: what shipped, a cold start before and after in rolling digits, and a five-bar history of regions.

  • Pro

    Three 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.