Staaarter

Editorial Issue Bento

Magazine mosaic with a cover story photo, an issue-number tile, an editor's note, and three article teasers. Suited to a publication or newsletter's latest-issue section.

By Staaarter Team
Bento
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its media-slot dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/editorial-issue-bento.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/bento/bento9.tsx instead.

Usage

The file also exports bento9Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Bento9, bento9Demo } from "@/components/blocks/bento/bento9";

export default function Page() {
  return <Bento9 {...bento9Demo} />;
}

Props

PropTypeDefaultDescription
coverCoverStorynoneCover story tile, spanning two columns and two rows, with category and page count on the scrim.
issueIssueFigurenoneInverted tile beside the cover, e.g. the issue number.
editorsNotestringnoneShort italic paragraph in the bordered publication-note tile.
articlesArticleTile[]noneSoft tiles, each with a headline and a one-line dek.
classNamestringnoneExtra classes for the outer section element.

Types

type CoverStory = {
  photo: MediaSlotImage;
  category: string;
  headline: string;
  pageCount: string;
};

type IssueFigure = { value: string; label: string };

type ArticleTile = { headline: string; dek: string };

Behavior notes

  • Purely presentational: the editor's note and article teasers are static demo copy, not pulled from a CMS or an RSS feed.
  • The grid is five columns on large screens (not the default four) so the cover, issue figure, note, and three article tiles all pack evenly without a ragged row; passing more or fewer than three `articles` will change how the grid fills the remaining cells.
  • None of the article tiles link anywhere; they are inert teaser cards, matching every other static About/Bento block's non-functional CTAs.