Skip to main content

Tabbed StructBlock

A new UI for StructBlocks

As custom blocks grow in fields it becomes necessary to group and hide some of the block fields. Tabbed StructBlock allows such grouping into a tabbed UI.

Installation

  1. Install the package with pip install wagtail-tabbed-structblock.
  2. Add to INSTALLED_APPS as wagtail_tabbed_structblock.

Usage

  1. Import the class with from wagtail_tabbed_structblock.blocks import TabbedStructBlock.
  2. Create your StructBlock as usual extending TabbedStructBlock.
  3. Define the tabs in the Meta class of the block as shown in the example below.
from wagtail import blocks

from wagtail_tabbed_structblock.blocks import TabbedStructBlock


class ExampleBlock(TabbedStructBlock):
    title = blocks.CharBlock()
    content = blocks.RichTextBlock()


    class Meta:
        tabs = {
            'Header': ('title',),
            'Body': ('content',)
        }

The tabs property of the Meta class is a dictionary composed of the title of the tab and a tuple of the fields you want to include on that tab.

Metadata

Release files for wagtail-tabbed-structblock 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-tabbed-structblock 0.0.11
File Size Uploaded
wagtail_tabbed_structblock-0.0.11.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-tabbed-structblock 0.0.11
File Interpreter ABI Platform
wagtail_tabbed_structblock-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 41.1 kB

Release files / wagtail_tabbed_structblock-0.0.11.tar.gz

Download URL wagtail_tabbed_structblock-0.0.11.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c7e5eb064137078db8b5e0dd3ae8a33bb5e677c6c1b1616953d2a3294bf4bfa8
BLAKE2b-256 checksum
How to use checksums
d236337627f782bfed4425eeffee6a558fa2c8da22d755e120b7078dfee75106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release files / wagtail_tabbed_structblock-0.0.11-py3-none-any.whl

Download URL wagtail_tabbed_structblock-0.0.11-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1184fb311c07d7bfe61808bbe21329e5d0f861040dc99f28ad62210c8db78379
BLAKE2b-256 checksum
How to use checksums
ba10eccb1d88e85608c49e5faaeafe694293b46cff96664ff687ef4db4c09de1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page