Skip to main content

A simple list of cards.

Project description

Wagtail Blocks: Cards

This Wagtail block can be used to add a series of cards. It is styled on the editor screen.




pip install wagtailblocks-cards

Then add `wagtailblocks_cards` to your installed apps.


A CardsBlock is just a ListBlock with extra styling on the editor screen. Use it the exact same way as a ListBlock.

from wagtailblocks_cards.blocks import CardsBlock


body = StreamField([
('cards', CardsBlock(MyCustomBlock()))

Replace `MyCustomBlock()` with a custom block of your choice.

Finally, template as usual.


You can also add a CardsBlock inside of a StructBlock or other structual block types for more control. You may want to inject more custom CSS to make it span the full width if you aren't using help text, or change the number of columns.

If [wagtailfontawesome]( is installed, this app will detect it and use [fa-clone]( by default.

Project details

Download files

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

Source Distributions

No source distribution files available for this release. See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page