@redrob-labs/ui v1.8.0 · Redrob Group Design System 2026

PostList

Publishing · src/components/PostList/PostList.tsx

The list under an IndexHeader; variant="section" is the homepage's news band (a lead story, three headlines, a link to News), laid out across rather than down.

Import

import { PostList } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
variant 'index' | 'section' section is the homepage's news band and takes NewsSectionProps: lead is then the newest story, items three headlines, href the News index.
items PubStory[]
lead boolean | PubStory Pass false on a page where the first item must not be promoted. With variant section, the lead story.
title string
href string
allLabel string
id string
lang 'en' | 'ko'
group 'year' 'year' breaks the rest into year sections with real headings.
className string