> From the [Strife developer docs](https://strife.app/docs/reference/fields/hint). Every page is listed in [llms.txt](https://strife.app/docs/llms.txt).

# Hint

The Hint field displays a collapsible help block inside the editor to guide content authors. It is a UI-only element, it does not store data in the database and does not require a propertyName.

#### Settings

Unlike other fields, the Hint field does not store a value and therefore does not use a `propertyName`. The settings below configure what the hint displays and where it appears in the editor.

<table><thead><tr><th width="232">Option</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>Icon</td><td>The icon displayed next to the label. Pick any icon name from the Icons reference.</td><td></td></tr><tr><td>Label</td><td>The header text shown next to the icon.</td><td></td></tr><tr><td>Collapsed text</td><td>A short summary shown when the hint is collapsed. Limited to two lines in the UI.</td><td></td></tr><tr><td>Expanded text</td><td>The full body of the hint shown when expanded.</td><td></td></tr><tr><td>Tab group</td><td>Scopes the hint to one or more tabs in the template. If left empty, the hint appears at the top level.</td><td></td></tr></tbody></table>

#### Define with JSON

When defining templates using JSON, this field is represented using:

* **Component Name:** `str-hint`
* **Type:** `hint`
* Reference ID: `str-hint|hint`

```json
{
  ...
  "editor": {
    "name": "str-hint",
    "type": "hint",
    "attributes": {
      "icon": "info",                //Icon name — see Icons reference
      "label": "Content Hint",
      "collapsedText": "A short summary shown when collapsed.",
      "expandedText": "The full body of the hint, shown when the user expands the block.",
      "tabGroup": ["tabGroup-content"]  //Array of "<tabGroupPropertyName>-<tabValue>" strings
    }
  },
  ...
}
```

> [!NOTE]
> Because the Hint field does not store data, omit `propertyName`, `label`, `description`, and all other base settings that apply to data-storing fields.

#### Live preview

The Hint field is UI-only and contributes nothing to document data. It has no live preview output.
