Context Provider Data Types

The dataType field declares the type of a context item, configuration input, function parameter, or function response. Use the same type in the manifest and provider component.

Supported data types

Context provider manifests support the following values:

dataTypeRuntime valueCommon uses
textstringNames, IDs, and labels.
richTextRichTextFormatted text.
numbernumberCounts, quantities, and dimensions.
booleanValuebooleanToggles and flags.
textEnumstring1 value from a fixed set of options.
arrayItemsarrayLists of items.
dataobjectNested structured data.
functionfunctionCallable behavior exposed by the provider.
imageImageImage data.
videoVideoVideo data.
vectorArtVectorArtIcons and vector graphics.
audioAudioAudio data.
linkLinkNavigation links.
a11yA11yAccessibility attributes.
localDatestringISO local date.
localTimestringISO local time.
localDateTimestringISO local date and time.
webUrlstringValidated web URL.
emailstringValidated email address.
phonestringValidated phone number.
hostnamestringValidated hostname.
guidstringUnique identifier.
directionstringText direction.
menuItemsarrayNavigation menu items.
filterobjectWQL filter.
sortarrayWQL sort definition.
regexstringRegular expression pattern.

For the matching TypeScript types and their runtime shapes, see Editor React Types.

Rich text

A richText value uses a RichText object:

Copy

For a link item, the optional link field restricts the link types that a Wix user can select in the editor.

FieldRequiredDescription
linkTypesNoAllowed link types. Defaults to all supported types.
appIdsNoApp IDs available for dynamicPageLink and pageLink values.
hideInnerRouteNoWhether a dynamic page link can target only a top-level page.
Copy

The runtime value uses the Link type from @wix/editor-react-types.

Runtime types

Most manifest data types have a matching TypeScript type in @wix/editor-react-types. Import the matching types instead of recreating their shapes:

Copy

The filter and sort data types aren't defined in @wix/editor-react-types.

See also

Last updated: 2 November 2026

Did this help?