1A section head over cards: media, title, body, one action. Two story
2cards and three product cards are the same structure with different
3content. Both are available in the specimen.
4
5Use this when every item needs media and should be visible at once.
6Use Feature List Grid for text and icons, or Feature Slider when the
7items need more room and can share a single media panel.
8
9## API
10
11Import `CardGrid` from `@/components/brand-system` (the Workshop import
12forwards to the same implementation).
13
14Pass `headline`, optional `lead`, `columns` (2 or 3), and `items`.
15Each item has a stable `id`, a `media` node, `title`, `body`, and an
16optional `action` node. The action can be DocsLink, a system button,
17DownloadAction or CommandCta. It is not a whole-card link: command tabs
18and copy controls cannot sit inside another interactive element.
19
20Use `mediaAspectRatio="1 / 1"` for square editorial illustrations, as on
21the Agent CLI page. It reserves a square media well at every breakpoint.
22Omit it to retain existing media sizing and the default 4:3 image ratio.
23Image sizing applies only to a direct image, not icons nested inside
24coded illustrations.
25
26The grid does not decide what an action does. DownloadAction keeps
27desktop OS detection; CommandCta keeps platform selection and copying.
28Do not replace either with a dead button to make a specimen easier.
29
30## Rules
31
32R-01 sets mono titles and sans prose. R-03 keeps square media. R-06 puts
33the action last. R-08 leaves the page ground alone. R-11 gives each
34card six or four columns of twelve. Below 980px they stack, with
35hairlines separating the rows.
36
37Image framing is deliberately absent. Images inside the system do not
38inherit the production site's radius and shadow.