Skip to main content

EditorialCard

A thumbnail + headline + metadata + actions card for editorial/listing content.

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

A thumbnail + headline + metadata + actions card for editorial/listing content.

Accessibility​

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

Install and import​

npx shadcn@latest add @prism/editorial-card
import { EditorialCard } from '@/components/prism/EditorialCard';

In a no-build prototype, read it from the bundle instead: const { EditorialCard } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
imagestring—Thumbnail 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.ReactNode—Action 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—