---
title: Report
description: The standard components of json-render-report.
---

Report components. A `Report` is the root and holds `Chapter` elements. See the [overview](/components) for how to read the tables.

## Report

The report. Must be the root element. Children must be Chapter components. Takes child elements.

<img src="/gallery/report-Report.png" alt="Report rendered in LibreOffice" width="800" height="451" />

Report in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `title` | `string` | no | The report title: the cover slide, the first line of the document and the page heading. At most 90 characters. |
| `subtitle` | `string` | yes | At most 140 characters. |
| `author` | `string` | yes | At most 80 characters. |

```json
{
  "type": "Report",
  "props": {
    "title": "Quarterly review",
    "subtitle": "Q3 2026",
    "author": "Finance team"
  },
  "children": []
}
```

## Chapter

One topic: a slide in the deck, a heading with its content in the document, a section on the web page. Keep it to one idea and about five blocks. Takes child elements.

<img src="/gallery/report-Chapter.png" alt="Chapter rendered in LibreOffice" width="800" height="451" />

Chapter in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `title` | `string` | no | Under 8 words. It is a slide title and a document heading. At most 90 characters. |
| `notes` | `string` | yes | Speaker notes on the slide. Ignored in the document. At most 2000 characters. |

```json
{
  "type": "Chapter",
  "props": {
    "title": "Revenue grew 24%",
    "notes": null
  },
  "children": []
}
```

## Paragraph

A paragraph of body text. Has no children: use `"children": []`.

<img src="/gallery/report-Paragraph.png" alt="Paragraph rendered in LibreOffice" width="800" height="451" />

Paragraph in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `text` | `string` | no | At most 600 characters. |

```json
{
  "type": "Paragraph",
  "props": {
    "text": "Growth came mostly from the enterprise tier."
  },
  "children": []
}
```

## BulletList

A bulleted or numbered list. At most 6 items of about 12 words each fit a slide. Has no children: use `"children": []`.

<img src="/gallery/report-BulletList.png" alt="BulletList rendered in LibreOffice" width="800" height="451" />

BulletList in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `items` | `string[]` | no | 1 to 7 items, each at most 160 characters. |
| `ordered` | `boolean` | yes |  |

```json
{
  "type": "BulletList",
  "props": {
    "items": [
      "Enterprise revenue up 31%",
      "Churn down to 2.1%"
    ],
    "ordered": false
  },
  "children": []
}
```

## Table

A table with a header row. At most 6 columns and 10 rows. Has no children: use `"children": []`.

<img src="/gallery/report-Table.png" alt="Table rendered in LibreOffice" width="800" height="451" />

Table in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `columns` | `string[]` | no | 1 to 6 items, each at most 40 characters. |
| `rows` | `string[][]` | no | 1 to 10 items, each at most 6 items, each at most 60 characters. |
| `striped` | `boolean` | yes |  |

```json
{
  "type": "Table",
  "props": {
    "columns": [
      "Region",
      "Revenue"
    ],
    "rows": [
      [
        "EMEA",
        "$4.2M"
      ],
      [
        "Americas",
        "$6.8M"
      ]
    ],
    "striped": null
  },
  "children": []
}
```

## Chart

A chart. Native and editable in the deck, a table of the same numbers in the Word document, an SVG chart on the web. Has no children: use `"children": []`.

<img src="/gallery/report-Chart.png" alt="Chart rendered in LibreOffice" width="800" height="451" />

Chart in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `type` | `enum` | no | One of `bar`, `line`, `pie`, `doughnut`, `area`. |
| `title` | `string` | yes | At most 80 characters. |
| `labels` | `string[]` | no | 1 to 12 items, each at most 30 characters. |
| `series` | `{ name: string; values: number[] }[]` | no | One value per label. Pie and doughnut charts use only the first series. 1 to 4 items. |

```json
{
  "type": "Chart",
  "props": {
    "type": "bar",
    "title": "Revenue by quarter",
    "labels": [
      "Q1",
      "Q2",
      "Q3",
      "Q4"
    ],
    "series": [
      {
        "name": "Revenue",
        "values": [
          4.1,
          4.8,
          5.6,
          6.9
        ]
      }
    ]
  },
  "children": []
}
```

## Image

A picture with alt text. Has no children: use `"children": []`.

<img src="/gallery/report-Image.png" alt="Image rendered in LibreOffice" width="800" height="451" />

Image in LibreOffice 26.8.3.1.

| Prop | Type | Nullable | Description |
| --- | --- | --- | --- |
| `src` | `string` | no | An https URL or a data: URI. Local paths are not allowed. |
| `alt` | `string` | no | At most 200 characters. |

```json
{
  "type": "Image",
  "props": {
    "src": "https://picsum.photos/800/450?random=1",
    "alt": "A mountain lake at sunrise"
  },
  "children": []
}
```
