Article Card
A linked article teaser: image, tag, date, title, excerpt. A composition of the Card surface, a Badge and the card title step, not a new primitive, and it restyles none of them.
import from ~/components/patterns/ArticleCard
A pattern, not a primitive
The card is assembled from parts that already exist. The surface and its hover are Card's interactive variant; the tag is a Badge; the heading is the card title step. Patterns live here, apart from the primitives, because they carry an editorial decision (which fields a teaser shows and in what order) that a single component should not.
The image is a slot, not a source. The card owns
the aspect ratio and the clip; the caller owns loading, sizing and art direction by passing
an <img> into it.
Anatomy
Convenience: src / alt
In a grid
Guidance
Do
Don't