Hostname

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'.

Component

In your component code, import the Hostname type from @wix/editor-react-types:

Copy

At runtime it's a plain string:

Copy

Usage

Your code either consumes a value of type Hostname or produces one:

Manifest

In your manifest, declare the field with the hostname dataType:

Copy

Declaration

Declare a hostname field in one of these ways, depending on where the value comes from:

Last updated: 2 November 2026

Did this help?