> For the complete documentation index, see [llms.txt](https://docs.realmacsoftware.com/elements-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmacsoftware.com/elements-docs/elements-language/component/properties-json/general-structure.md).

# General Structure

All properties have the same general structure using the following object keys.

<table><thead><tr><th width="156">Key</th><th width="110">Value</th><th>Notes</th></tr></thead><tbody><tr><td><code>title</code></td><td>string</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/title.md">Title</a> for more information</td></tr><tr><td><code>id</code></td><td>string</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/id.md">ID</a> for more information</td></tr><tr><td><code>format</code></td><td>string</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/format.md">Format</a> for more information</td></tr><tr><td><code>visible</code></td><td>string</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/visible.md">Visible</a> for more information</td></tr><tr><td><code>enable</code></td><td>string</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/enabled.md">Enable</a> for more information</td></tr><tr><td><code>responsive</code></td><td>boolean</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/responsive.md">Responsive</a> for more information</td></tr><tr><td><code>info</code></td><td>string</td><td>A help tooltip displayed alongside the control</td></tr><tr><td><code>ai</code></td><td>object</td><td>See <a href="/elements-docs/elements-language/component/properties-json/general-structure/ai.md">AI</a> for more information</td></tr></tbody></table>

Many input controls also support a `subtitle` key inside the control's own object (for example `"text": { "default": "", "subtitle": "Helper text" }`) that displays helper text underneath the control — see each control's Supported Options for details.

### Code Example

This example shows a real-world control for a hero overlay. The slider only appears when the overlay is enabled and it outputs a Tailwind class.

```json
{
  "title": "Overlay Opacity",
  "id": "overlayOpacity",
  "format": "bg-opacity-[{{value}}%]",
  "visible": "showOverlay == true",
  "enable": "overlayStyle != 'none'",
  "responsive": false,
  "slider": {
    "default": 60,
    "min": 0,
    "max": 100,
    "round": true,
    "units": "%"
  }
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmacsoftware.com/elements-docs/elements-language/component/properties-json/general-structure.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
