Article

Long text in one reading column, each part under a heading a link can jump to: a blog post's body, a guide or a policy.

Part 1

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

A second paragraph follows the first, with the same width and spacing.

Part 2

A list of points follows this line.

  • Point 1
  • Point 2
  • Point 3
A pull quote set larger than the words around it.
import { Article, type ArticleSection } from "@produkto/ui/Article";

const sections: ArticleSection[] = [
  {
    id: "preview-part-one",
    title: "Part 1",
    children: (
      <>
        <p>
          A paragraph of text sits here. It runs for a few lines so the reading
          width and the line height can be judged.
        </p>
        <p>
          A second paragraph follows the first, with the same width and spacing.
        </p>
      </>
    ),
  },
  {
    id: "preview-part-two",
    title: "Part 2",
    children: (
      <>
        <p>A list of points follows this line.</p>
        <ul>
          <li>Point 1</li>
          <li>Point 2</li>
          <li>Point 3</li>
        </ul>
        <blockquote>
          A pull quote set larger than the words around it.
        </blockquote>
      </>
    ),
  },
];

const Example = () => <Article sections={sections} />;

export default Example;

Usage

import { Article, type ArticleSection } from "@produkto/ui/Article";
const sections: ArticleSection[] = [
  { id: "part-1", title: "Part 1", children: <p>…</p> },
  { id: "part-2", title: "Part 2", children: <p>…</p> },
];

<Article layout="contents" contentsLabel="On this page" sections={sections} />

Examples

Opening as a page

opening="page" makes the article the page itself, as a blog post or a policy opens: its title the page's h1 at the headline size over its date, centred in the narrow band, then intro and the parts.

Your headline goes here

Last updated on 13 Oct 2026

A short line about the page goes here.

Part one

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

Part two

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

import { Article, type ArticleSection } from "@produkto/ui/Article";

const part = (n: string): ArticleSection => ({
  id: `page-part-${n}`,
  title: `Part ${n}`,
  children: (
    <p>
      A paragraph of text sits here. It runs for a few lines so the reading
      width and the line height can be judged.
    </p>
  ),
});

const Example = () => (
  <Article
    description="Last updated on 13 Oct 2026"
    intro={<p>A short line about the page goes here.</p>}
    opening="page"
    sections={["one", "two"].map(part)}
    title="Your headline goes here"
  />
);

export default Example;

With contents

A list of the parts stays beside the text and marks the one being read.

Part one

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

A second paragraph follows the first, with the same width and spacing.

Part two

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

A second paragraph follows the first, with the same width and spacing.

Part three

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

A second paragraph follows the first, with the same width and spacing.

Part four

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

A second paragraph follows the first, with the same width and spacing.

import { Article, type ArticleSection } from "@produkto/ui/Article";

const part = (n: string): ArticleSection => ({
  id: `contents-part-${n}`,
  title: `Part ${n}`,
  children: (
    <>
      <p>
        A paragraph of text sits here. It runs for a few lines so the reading
        width and the line height can be judged.
      </p>
      <p>
        A second paragraph follows the first, with the same width and spacing.
      </p>
    </>
  ),
});

const Example = () => (
  <Article
    layout="contents"
    contentsLabel="On this page"
    sections={["one", "two", "three", "four"].map(part)}
  />
);

export default Example;

Heading beside text

Each part's heading beside its words, for terms, policies and pages read in parts.

Part one

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

Part two

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

Part three

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

import { Article, type ArticleSection } from "@produkto/ui/Article";

const part = (n: string): ArticleSection => ({
  id: `split-part-${n}`,
  title: `Part ${n}`,
  children: (
    <p>
      A paragraph of text sits here. It runs for a few lines so the reading
      width and the line height can be judged.
    </p>
  ),
});

const Example = () => (
  <Article layout="split" sections={["one", "two", "three"].map(part)} />
);

export default Example;

With a pulled quote

A blockquote in a part's words is set large behind a rule, and a figure's caption sits small under its picture.

Part one

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

A line pulled from the text goes here.

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

Part two

A caption for the picture goes here.

A paragraph of text sits here. It runs for a few lines so the reading width and the line height can be judged.

import { Article, type ArticleSection } from "@produkto/ui/Article";
import { Image } from "@produkto/ui/Image";

const sections: ArticleSection[] = [
  {
    id: "quote-part-one",
    title: "Part one",
    children: (
      <>
        <p>
          A paragraph of text sits here. It runs for a few lines so the reading
          width and the line height can be judged.
        </p>
        <blockquote>A line pulled from the text goes here.</blockquote>
        <p>
          A paragraph of text sits here. It runs for a few lines so the reading
          width and the line height can be judged.
        </p>
      </>
    ),
  },
  {
    id: "quote-part-two",
    title: "Part two",
    children: (
      <>
        <figure>
          <Image
            alt=""
            className="aspect-video w-full rounded-2xl object-cover"
            src="https://picsum.photos/id/1048/1200/675"
          />
          <figcaption>A caption for the picture goes here.</figcaption>
        </figure>
        <p>
          A paragraph of text sits here. It runs for a few lines so the reading
          width and the line height can be judged.
        </p>
      </>
    ),
  },
];

const Example = () => <Article sections={sections} />;

export default Example;

API Reference

Article

ArticleProps · blocks/Article/Article.types.ts
PropTypeDefault
sectionsArticleSection[]-
layoutArticleLayout"column" | "contents" | "split""column"
openingArticleOpening"band" | "page""band"
introReactNode-
contentsLabelstring-
idstring-
eyebrowstring-
titleReactNode-
descriptionReactNode-
alignSectionAlign"start" | "center" | "end""start"
mutedbooleanfalse
classNamestring-

ArticleSection

used by sections
PropTypeDefault
idrequiredstring-
titlerequiredstring-
childrenrequiredReactNode-