> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Display Groups ## Article: Display Groups ## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/display-groups.md ## Article Content: import { Property, PropertyList, ExpandableSection } from "@wix/docs-ui/content"; # Display Groups
__Alpha:__ Editor React Components are currently in alpha. This feature is subject to change and may have bugs, issues, and limitations. We're actively improving it based on your feedback.
Display groups let you combine related properties into single controls, link properties together, or control display order in the editor's auto-generated panels. Without display groups, the editor renders individual controls for each property, sorted by property type. ## Where to define You can define `displayGroups` in [`editorElement`](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/editor-element.md) and in [`elements`](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/elements.md) of type `inlineElement`. Display groups fall into 3 categories: - **CSS custom properties**: Combine multiple CSS custom properties into a single compact shorthand control in the design panel, such as a border or font control. - **Manifest properties**: Control the order and grouping of data items, CSS properties, presets, or other display groups in panels. - **Text and array properties**: Coordinate CSS custom properties and data items for text editing, array management, and item display. > **Note**: [Display filters](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-filters.md) and display groups operate independently. Display filters remove properties before the editor panel receives them. Display groups organize whatever properties remain. ## Display group properties Each key in the `displayGroups` map is a custom name you choose for the group (for example, `outerPadding` or `cardBorder`), and each value is an object with the following properties: Determines the group behavior and the name of the sibling configuration key. For example, setting groupType: 'padding' means you must also add a padding key at the same level. See Group type categories for all available values.} /> ### Type-specific configuration Each group type requires additional configuration beyond the core fields. When you set a `groupType`, you must also add a sibling key with the same name that contains the type-specific configuration. For example, a `padding` group type requires a `padding` key with the property mapping: ```typescript displayGroups: { outerPadding: { displayName: 'Outer Padding', groupType: 'padding', padding: { top: 'myPaddingTop', right: 'myPaddingRight', bottom: 'myPaddingBottom', left: 'myPaddingLeft', }, }, } ``` For details on each type and its configuration options, see the type reference pages in [Group type categories](#group-type-categories). ## Group type categories The following group types are available, organized by category. Each type has its own configuration schema. | Category | Group Types | Description | |----------|------------|-------------| | [CSS Custom Properties](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/group-types/css-custom-properties-groups.md) | `background`, `margin`, `padding`, `border`, `borderTop`, `borderRight`, `borderBottom`, `borderLeft`, `borderInlineStart`, `borderInlineEnd`, `borderColor`, `borderWidth`, `borderStyle`, `borderRadius`, `font`, `textDecoration`, `gap` | Combine multiple CSS custom properties into a single compact shorthand control in the Design panel. Groups are type-safe: each slot only accepts properties with a matching `cssPropertyType`. | | [Manifest Properties](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/group-types/manifest-properties-groups.md) | `data`, `cssDataType`, `cssCustomProperties`, `presets`, `displayGroups` | Control the display order and grouping of manifest properties in editor panels. | | [Text and Array](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/group-types/text-and-array-properties.md) | `text`, `arrayItems`, `listItem` | Coordinate CSS custom properties and data items for text editing, array management, and item display. | ## See also - [CSS Custom Properties Groups](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/group-types/css-custom-properties-groups.md) - [Manifest Properties Groups](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/group-types/manifest-properties-groups.md) - [Text and Array Groups](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/editor-react-components/manifest-reference/editor-element/display-groups/group-types/text-and-array-properties.md)