Skip to main content
brickwork
GitHub Log in Get started
Display
Theme
Density
Direction
Brand

Documentation

Pricing tier

One self-contained pricing plan card.

All components Marketing Brickwork 4.3.1

Try it

Recommended plan

Open full-page preview

A highlighted plan with an accessible action.

Most popular

Team

For growing product teams.

£29 /month

  • Unlimited projects
  • Priority support
Use directly in a custom pricing layout or through pricing_table.

Use it

Working invocation

This code creates the configuration shown above. Copy the template and the required Python context together.

templates/your_app/component.html

Django template

{% include "brickwork_marketing/components/_pricing_tier.html" %}

your_app/views.py

Python

context = {'name': 'Team', 'description': 'For growing product teams.', 'price': '£29', 'period': '/month', 'features': ['Unlimited projects', 'Priority support'], 'highlighted': True, 'badge': 'Most popular', 'cta_label': 'Choose Team', 'cta_href': '/signup/'}

Guide

Add it to your project

  1. Use the public include path "brickwork_marketing/components/_pricing_tier.html" from the installed django-brickwork package.
  2. Include with required name and price.
  3. Pass features from context.
  4. Mark only the recommended plan highlighted; its CTA becomes primary and may show badge.

View this component's source for the installed release

Options

Public API

Option Type Default Required Description
name string Not set Yes Plan name rendered as an `<h3>` inside the surrounding pricing section. Constraint: Supply it with `price`; a tier is a child of an h2-bearing pricing section.
price string Not set Yes Display price for this tier. Constraint: No additional template constraint beyond the documented type.
period string Not set No Optional cadence beside the price. Constraint: No additional template constraint beyond the documented type.
description string Not set No Short explanatory text under the displayed name. Constraint: No additional template constraint beyond the documented type.
features list of strings Not set No List of plain-text benefits shown with decorative check icons. Constraint: Every item is plain text; rich markup belongs in a composed custom tier.
cta object {label, url} Not set No Wins over flat fields. Constraint: Use either this object or `cta_label` plus `cta_href`. If both are supplied, this object wins.
cta_label string Not set No Visible label for the template-authorable CTA. Constraint: Supply `cta_href` too; ignored when `cta` is present.
cta_href string Not set No Destination for the flat CTA; pair it with `cta_label`. Constraint: Supply `cta_label` too; ignored when `cta` is present.
highlighted boolean False No Recommended plan styling and primary CTA. Constraint: No additional template constraint beyond the documented type.
badge string Not set No Renders only when highlighted is true. Constraint: Only renders when `highlighted` is truthy.

Behaviour

Accessibility and responsive behaviour

Accessibility
Plan name is h3; feature icons are decorative.
Responsive
No intrinsic breakpoint; parent controls columns.
Without JavaScript
Static HTML; no JavaScript required.

Need help?

Troubleshooting

The badge does not appear.

Set `highlighted` truthy as well as `badge`; badges intentionally do not appear on ordinary tiers.

Explore next

Used in examples

Documentation