Skip to main content

string

A single-line text input. Use it for short content like titles, button labels, or links.

When to use

Use string for short text values. For longer, multi-line content use text instead.

Properties

PropertyTypeRequiredDescription
type"string"YesField type identifier
labelstringYesLabel shown in the builder
defaultstringNoDefault value (empty string if omitted)

Usage

{
"title": {
"type": "string",
"label": "Title",
"default": ""
}
}

Interactive Preview

Interactive Preview
Live Output
{
  "title": "Hello world"
}