Property Editor UI
Reference documentation for the propertyEditorUi extension type
The propertyEditorUi extension type registers a Property Editor UI in the Umbraco backoffice. A Property Editor UI is the client-side component that renders the editing interface for content editors to input and manage their data.
Manifest Structure
The manifest defines how the UI appears in the backoffice, which schema it works with, and what configuration options are available.
Basic Example
A minimal UI manifest specifies the element location and which schema to use:
import type { ManifestPropertyEditorUi } from '@umbraco-cms/backoffice/property-editor';
export const manifest: ManifestPropertyEditorUi = {
type: 'propertyEditorUi',
alias: 'My.PropertyEditorUi.TextBox',
name: 'My Text Box Property Editor UI',
element: () => import('./my-text-box.element.js'),
meta: {
label: 'My Text Box',
propertyEditorSchemaAlias: 'Umbraco.TextBox',
icon: 'icon-autofill',
group: 'common',
},
};Example with Settings
If your Property Editor UI has configurable settings, define them in the manifest:
Manifest Properties
The propertyEditorUi manifest can contain the following properties:
Required Properties
type
string
Must be "propertyEditorUi".
alias
string
Unique identifier for the UI.
name
string
Friendly name displayed in the backoffice.
element
function | string
Path to or import function for the web component element.
meta
object
Metadata object containing UI configuration (see Meta Properties).
Optional Properties
weight
number
Ordering weight. Higher numbers appear first in lists.
Meta Properties
The meta object contains the following properties:
Required Meta Properties
label
string
Display label shown in the UI picker.
propertyEditorSchemaAlias
string
The alias of the Property Editor Schema this UI works with.
icon
string
Icon identifier (e.g., "icon-autofill").
group
string
Group name for categorizing property editors.
The propertyEditorSchemaAlias in the manifest must match an existing Property Editor Schema alias. This connects the UI to the backend data handling and validation.
Optional Meta Properties
settings
object
Configuration settings for the UI (see Settings below).
supportsReadOnly
boolean
Indicates whether the UI supports read-only mode.
Settings Structure
The settings object defines what configuration options appear when creating or editing a Data Type:
Settings Properties Array
Each object in the properties array defines a configuration field:
alias
string
Yes
Unique identifier for this configuration property.
label
string
Yes
Display label for the configuration field.
description
string
No
Help text shown below the label.
propertyEditorUiAlias
string
Yes
The Property Editor UI to use for editing this configuration value.
config
object
No
Optional configuration to pass to the Property Editor UI.
weight
number
No
Ordering weight for the configuration field. Higher numbers appear first.
validation
object
No
Validation rules. Object with mandatory (boolean) and optional mandatoryMessage (string) properties.
propertyEditorDataSourceAlias
string
No
Alias of a data source to use with this configuration property.
Settings Default Data Array
Each object in the defaultData array provides default values:
alias
string
Yes
The alias of the configuration property.
value
unknown
Yes
The default value for this configuration.
Element Loading
The element property accepts three formats.
Import Function (Recommended)
The Import Function uses dynamic imports for better code splitting and lazy loading.
String Path
The String Path loads the element from a static file path.
Class Constructor
The Class Constructor directly provides the custom element class constructor.
Complete Example
Icon Names
The icon property uses Umbraco's built-in icon set. Common icon names include:
icon-autofill- Text and input-related editorsicon-list- List and collection editorsicon-calendar- Date and time editorsicon-picture- Media and image editorsicon-user- User and member-related editorsicon-link- Link and URL editorsicon-readonly- Read-only or display editors
While any string value is technically accepted, using unrecognized icon names may result in a missing or default icon being displayed.
Group Names
The group property categorizes property editors in the backoffice UI. Common group names include:
common- General-purpose editors (default if not specified)pickers- Content, media, and member pickerslists- List-based editors like checkboxes and dropdownsrichContent- Rich text and block-based editorsmedia- Media-specific editorsdate- Date and time editorspeople- User and member editorsadvanced- Advanced or specialized editors
While technically a free-form string, using these documented values ensures proper grouping in the UI.
Read-Only Support
Set supportsReadOnly: true in the meta object if your Property Editor UI implements read-only mode:
When enabled, your element will receive a readonly property that indicates whether it should display in read-only mode. Your implementation must handle this property appropriately.
Important Notes
The web component element specified in the element property must implement the UmbPropertyEditorUiElement interface. See the Property Editor UI Guide for implementation details.
Related Documentation
Property Editor UI Guide - Learn about implementing the web component
Property Editor Schema Extension Type - Reference for the Property Editor Schema extension type
Creating a Property Editor Tutorial - Step-by-step guide to building a custom property editor
Last updated
Was this helpful?