Contents
Garden HandbookComponent reference

Component reference

Every field, default, limit and error code for the 12 built-in components, one page each.

Each page shows the code on the left and the real rendered result on the right; on narrow screens, switch with Preview / Code. For when to use a component, see its usage page.

For every component: invalid YAML, or a top-level key the component does not support, reports garden-yaml on the whole block; a misspelled fence name reports garden-name.

ComponentUse it for
cardSummarize a paper, repository, or module in a card with metadata and numbered takeaways.
statDisplay 2 to 4 key numbers, units, and short captions side by side.
comparePlace two or three options side by side to contrast tradeoffs, or stack good and bad practices.
timelineOrder release milestones, incident steps, or build stages along a vertical sequence.
chartRender proportional horizontal bars with a built-in expandable data table underneath.
figurePair an SVG diagram with step buttons that highlight each region and show its explanation.
htmlRun a self-contained HTML, CSS, and JavaScript demo inside a sandboxed iframe.
interactiveLet readers drag sliders or switches to recalculate formulas and charts in real time.
fileAttach one or more files with automatic format and size badges, download links, and inline preview.
relationsPlace 3 to 6 elements on an ellipse or around a center node and connect them with solid or dashed, one-way or two-way labeled links.
listPair line icons with short observations in a compact card, or add headings and multi-paragraph notes for divided steps.
choicePresent two or three option cards with an icon, headline value, and preference label, plus an optional fallback button and selection reply.