Groups Tab
Groups Tab lets you organize your block’s attributes into collapsible sections. This creates a cleaner editing experience for complex blocks.
Why Use Groups?
Section titled “Why Use Groups?”- Organize related attributes — Logical grouping by function
- Reduce visual clutter — Collapsible sections hide complexity
- Improve UX — Users find what they need faster
Creating Groups
Section titled “Creating Groups”Step 1: Add a Group
Section titled “Step 1: Add a Group”- In the block editor, go to the Groups tab
- Click + Add Group
- Enter a group name (e.g., “Content”, “Settings”, “Advanced”)
Step 2: Assign Attributes
Section titled “Step 2: Assign Attributes”Drag attributes into the group:
- Find your attributes in the attribute list
- Drag them to the desired group
- Attributes appear in that section
Step 3: Configure Group Settings
Section titled “Step 3: Configure Group Settings”Each group has settings:
| Setting | Description |
|---|---|
| Name | Group label shown in editor |
| Initially Open | Start expanded or collapsed |
| Description | Help text for the section |
Group Examples
Section titled “Group Examples”Content Group
Section titled “Content Group”- title (text)
- content (textarea)
- featured_image (image)
Style Group
Section titled “Style Group”- background_color (color)
- text_color (color)
- padding (unit)
Settings Group
Section titled “Settings Group”- alignment (select)
- full_width (toggle)
Next Steps
Section titled “Next Steps”- Custom Categories — Organize blocks
- Custom Output Directory — Customize output paths