Contents
Garden HandbookComponent reference

Component reference

Fields, defaults, limits, and error codes for the garden fences. figure is deprecated in favor of compose.

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.

Link cards, source chips, and local images have no field pages. Their usage pages are linked from Components Overview.

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.
composeDraw an explanation diagram of cards, arrows, and notes. Click a step to open its note.
figureDeprecated. Old annotated diagrams still render. New ones use compose.
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.