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

NewsSection

Marketing · src/components/NewsSection/NewsSection.tsx

@deprecated Use PostList with variant="section". Kept for 1.x.

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

No rendering: the delivery ships no preview case for this one

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