Skip to content

BlogPost

Generated from front/ui/catalogue/examples/BlogPost.json

section · static (no JavaScript) · no children. All components: component playground.

One blog post: back link, date and byline, title (h1), lead, topics, an optional clip with a caption (native controls), the Markdown body, an optional gallery of captioned screenshots and an optional Markdown footer. Use it once, as the lead of a post page.

Rendered from the example props below with the real component. Theme: coffee · oncall · nightsky · gravity · poland · ulam · platform · open on its own

{
"component": "BlogPost",
"props": {
"id": "post",
"title": "Living Course: 10 minutes → 15 minutes",
"lead": "One number changes in a runbook.",
"date": "2026-10-16",
"author": "Mateusz Wojczal",
"tags": [
"Living Course"
],
"backHref": "/blog/",
"markdown": "10 minutes → 15 minutes. One number in a runbook.\n\n- compares the new source with the previous one\n- points to the lesson that relies on it",
"video": {
"src": "/blog/living-course/clip.mp4",
"poster": "/blog/living-course/poster.jpg",
"width": 720,
"height": 900,
"caption": "In the clip: the diff and one accepted proposal."
},
"imagesHeading": "In pictures",
"images": [
{
"src": "/blog/living-course/review.webp",
"alt": "Review of a source update.",
"width": 1200,
"height": 917,
"caption": "Review of a source update."
}
]
}
}
Prop Type Required Notes
id string Anchor id. max length 40, default "post"
title string yes Section title. max length 160
lead string Standfirst under the title. max length 400
date string yes Publication date, YYYY-MM-DD. max length 10
author string Author name for the byline. max length 80
tags array of string Topics. max 6 items
backHref string (href) yes Link back to the list of posts. max length 2048
markdown string yes Post body in Markdown. max length 60000
video object
video.src string (href) yes MP4 URL. max length 2048
video.poster string (href) Poster image URL. max length 2048
video.width integer yes Width in px. ≥ 1
video.height integer yes Height in px. ≥ 1
video.caption string Says what the clip shows (also its text alternative). max length 600
imagesHeading string Heading of the screenshot gallery. max length 120
imagesIntro string Sentence under the gallery heading. max length 300
images array of objects Screenshots. max 20 items
images[].src string (href) yes Image URL. max length 2048
images[].alt string yes Text alternative. max length 300
images[].width integer yes Intrinsic width in px. ≥ 1
images[].height integer yes Intrinsic height in px. ≥ 1
images[].caption string Caption. max length 300
footer string Markdown after the gallery (related posts). max length 4000

What a text-only client, an unknown renderer or a plain-text channel shows for the example above.

Living Course: 10 minutes → 15 minutes
One number changes in a runbook.
10 minutes → 15 minutes. One number in a runbook.
- compares the new source with the previous one
- points to the lesson that relies on it

A node whose props fail the schema never breaks the page: the renderer shows the plain-text fallback instead (and logs the issues in development).

{
"date": "yesterday",
"title": "No body or back link"
}

Issues:

  • /backHref is required
  • /markdown is required

Rendered as:

No body or back link

axe-core: 25 rules passed, 0 violations, 1 need manual review. Run at build time on the server-rendered HTML in jsdom. Colour contrast and layout rules need a browser and are covered by the Playwright axe scans of the reference frontend.