Ballmac UI home

Marginalia: magazine

An editorial five-page magazine: a masthead between double rules, a lead story, an article with reading progress, drop cap and margin notes, section pages with sort and load more, author pages and an issues shelf with subscriptions.

Open in v0 (opens in a new tab)

Installation

$ pnpm dlx shadcn@latest add @ballmac/template-publication

The page is added as a route in your app, with every block it uses.

What's inside

Pages
  • Home/publication
  • Article/publication/essays/the-unfinished-city
  • Section/publication/essays
  • Author/publication/authors/ines
  • Issues/publication/issues
Fonts
DM Serif Display, Lora, Public Sans (Google Fonts, loaded with next/font)
Files
13 files · 3 Ballmac blocks and components

Built with

Quality scorecard

7/7

Every applicable check passes

Measured in Chromium 153.0.8010.12 on October 19, 2026, on version 1.0.2, across 5 examples.

How we measure
  • Passed: Accessibility scan

    No serious or critical issues in light and dark, on a phone and a desktop (axe-core 4.13.0, WCAG 2.1 AA and best-practice rules).

  • Passed: Small screens

    No sideways scrolling at 360, 390 or 1280 px wide.

  • Passed: Reduced motion

    No endless animation to begin with.

  • Passed: Right to left

    Mirrors correctly in Arabic, Hebrew, Persian and Urdu layouts (11% of elements off the mirror, limit 15%).

  • Passed: Clean console

    No console errors or React hydration errors while loading.

  • Passed: Keyboard

    167 tab stops, each showing a visible change when it takes focus. 2 documented keys.

  • Not applicable: Loading, empty and error

    Does not show data or take submissions.

  • Passed: Automated tests

    Covered by templates-batch-c.test.tsx.

  • For information: Footprint

    12.5 KB of source (gzip) in 13 files. Installs lucide-react.

Automated checks find a subset of problems and do not replace testing with a screen reader and a keyboard in your own app. What they miss.

Dependencies

Use with AI

Installs a five-page magazine. Change stories and authors in publication-data.ts, the palette in publicationCss, and the duotone MagArt illustrations (or swap them for photographs). With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Marginalia: magazine (@ballmac/template-publication) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Magazines, long-form blogs and newsletters with an archive
  • Reading-first sites with margin notes and a strong masthead

Not for

  • A product blog inside a SaaS marketing site (use blog-1 and blog-post-1)

Registry JSON: https://ui.ballmac.com/r/template-publication.json

Free to use in personal and commercial projects.