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

NewsSection

Marketing · src/components/NewsSection/NewsSection.tsx

The newest few stories: one lead and up to three more.

Three is a cap, and the list is sliced. A home page news block that grows with the feed pushes everything below it off the page, and the point of this section is a glance rather than an archive.

The lead's picture goes through pubPicture, which labels a generated image unless told otherwise, and links the frame with aria-hidden so the headline stays the single announced link.

Import

import { NewsSection } 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
lead NewsItem The lead story. Its image, when present, sets the two-column layout.
items NewsItem[] At most three are rendered.
title React.ReactNode
href string
allLabel React.ReactNode
lang string
id string
className string

Exported types

NewsItem