Text

A simple single-line text input field for short text content.

The Text field is the most commonly used field type. It’s perfect for titles, names, labels, and any short text that doesn’t need multiple lines. Users will see a standard text input box in the Gutenberg sidebar where they can type their content. The value is stored as a string and can be easily displayed in your block’s render template.

Preview in Attributes Manager

Text field. Preview in Gutenberg Editor

Preview in Gutenberg Editor

Technical Information:

PropertyValue
Gutenberg UIText input
Data Typestring
Default Value"" (empty string)
Best ForShort text content
Common UsesTitles, names, labels, IDs, CSS classes