A hostname according to IANA standards. Use it for a field that names a host without a scheme or
path, such as the server a component talks to. For example, 'www.example.com'.
In your component code, import the Hostname type from @wix/editor-react-types:
At runtime it's a plain string:
Your code either consumes a value of type Hostname or produces one:
In your manifest, declare the field with the hostname dataType:
Declare a hostname field in one of these ways, depending on where the value comes from:
Last updated: 2 November 2026