Text Field

Text Field

The text field stores a single short string.

Best For

  • headings
  • labels
  • button text
  • eyebrow copy
  • short metadata

Schema Example

{ "name": "title", "label": "Title", "type": "text" }

Template Usage

<h2>{{ title }}</h2>

Label and CTA example:

<a href="{{ ctaUrl }}" class="btn-primary">{{ buttonText }}</a>

Use It When

Use text when the value should stay short, direct, and structurally simple.

Do Not Use It When

Do not use text for:

  • long paragraphs
  • rich editorial formatting
  • repeated structured rows

Use textarea, richtext, or repeater instead.

Technical Notes

  • keep text for short, structurally simple values
  • use separate fields for label and destination instead of overloading one string
  • avoid using one text field to store several semantic values at once
  • move to textarea or richtext as soon as authors need longer editorial control