Skip to main content

A Collection of awesome Wagtail CMS stream-field blocks and Charts

Project description

wagtail_blocks wagtail

PyPI Build Documentation Status PyPI - License

Downloads Downloads Month Downloads Week

A Collection of awesome Wagtail CMS stream-field blocks and Charts.

Check out Awesome Wagtail for more awesome packages and resources from the Wagtail community.


You must have your Wagtail project up and running:

pip install wagtail_blocks

Add the following enteries to your in the INSTALLED_APPS section:


Sample Usage

from wagtail.fields import StreamField
from wagtail.admin.panels import FieldPanel

from wagtail_blocks.blocks import (

class HomePage(Page):
    body = StreamField([
        ('header', HeaderBlock()),
        ('list', ListBlock()),
        ('image_text_overlay', ImageTextOverlayBlock()),
        ('cropped_images_with_text', CroppedImagesWithTextBlock()),
        ('list_with_images', ListWithImagesBlock()),
        ('thumbnail_gallery', ThumbnailGalleryBlock()),
        ('chart', ChartBlock()),
        ('map', MapBlock()),
        ('image_slider', ImageSliderBlock()),
    ], blank=True, use_json_field=True)

    content_panels = Page.content_panels + [

For HomePage template, blocks should be rendered with IDs to function properly

{% for block in page.body %}
    {% include_block block with %}
{% endfor %}

Available Blocks

Check Showcase for Standard Blocks or Charts or Maps


  • Header (H1, H2, H3, H4, H5, H6)
  • List (Unordered List)
  • Image with Text Overlay
  • Cropped Images with Text
  • List with Images and Links
  • Thumbnail Gallery
  • Image Slider
  • Chart (Bar - Pie - Line - Area - Radar)
  • Map (Marker with rich text description)

Supported Versions

  • Python 3.8 and higher
  • Wagtail 4.1 and higher
  • Bootstrap 4

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_blocks-1.0.1.tar.gz (122.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page