Skip to content
Foldocs
On this pageExample
Components

Type table

Document properties, types, defaults, and descriptions consistently.

Use TypeTable for a compact API reference. Each TypeTableItem becomes one row and remains part of the deterministic document tree used by static output, search, and Markdown serialization.

Example

PropertyTypeDefaultDescription
titlestringDisplayed page title.
draftbooleanfalseExcludes the page from production output.
mdx
<TypeTable>
  <TypeTableItem
    name="title"
    type="string"
    description="Displayed page title."
  />
  <TypeTableItem
    name="draft"
    type="boolean"
    default="false"
    description="Excludes the page from production output."
  />
</TypeTable>

Item properties

PropertyTypeDescription
namestringProperty name.
propertystringAlias used when name is omitted.
typestringDisplayed type expression.
defaultstringDisplayed default value.
descriptionstringHuman-readable behavior or constraints.

Last updated Aug 2, 2026