Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Expandable

<Expandable> collapses nested fields or secondary content.

Collapses a list of nested fields, usually inside <ParamField> or <ResponseField>:

<ResponseField name="domain" type="object">
  The domain object.
  <Expandable title="Properties">
    <ResponseField name="domain" type="string">Full domain name.</ResponseField>
    <ResponseField name="verified" type="boolean">Whether it's verified.</ResponseField>
  </Expandable>
</ResponseField>
domainobject

The domain object.

Properties
domainstring
Full domain name.
verifiedboolean
Whether it's verified.
titlestring
Button text; defaults to "Show N properties".
defaultOpenbooleanDefault false
Open by default (open also works).