Skip to main content

EditorialCard

EditorialCard — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

EditorialCard — Prism component.

Accessibility

When the whole card is actionable, expose a single accessible name and make it reachable with Tab + Enter. Decorative imagery uses empty alt.

Import

const { EditorialCard } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
imagestringThumbnail image URL; a placeholder renders when absent.
imageAltstring
eyebrowReact.ReactNode
titleReact.ReactNode
descriptionReact.ReactNode
metaReact.ReactNode[]Metadata chips shown as a dot-separated row (e.g. ["8 min read","Design"]).
actionsReact.ReactNodeAction nodes (Buttons) shown at the bottom.
layout"stack" | "row""stack" (image on top) or "row" (image beside body).
onPress(e: React.SyntheticEvent) => void
hrefstring
classNamestring