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

Documentation

Methods

A quiet two-column presentation of methods or services with optional text links.

All components Marketing Brickwork 4.3.1

Try it

Methods

Open full-page preview

Two named methods with one text link.

How we work

Inspect

01 / understand

Find the constraints before changing the interface.

Read the method

Compose

02 / build

Make pages from stable parts.

Use for a consultancy process or product approach, not for whole-card navigation.

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/_methods.html" %}

your_app/views.py

Python

context = {'heading': 'How we work', 'items': [{'heading': 'Inspect', 'stages': '01 / understand', 'body': 'Find the constraints before changing the interface.', 'url': '/method/inspect/', 'link_label': 'Read the method'}, {'heading': 'Compose', 'stages': '02 / build', 'body': 'Make pages from stable parts.'}]}

Guide

Add it to your project

  1. Use the public include path "brickwork_marketing/components/_methods.html" from the installed django-brickwork package.
  2. Supply method records from context.
  3. Provide url and link_label together to render the per-method link.
  4. Include with optional heading.

View this component's source for the installed release

Options

Public API

Option Type Default Required Description
heading string Not set No Section heading rendered as an `<h2>` by this marketing component. Constraint: Keep it in outline order beneath the page hero h1.
items list of {heading, stages?, body?, url?, link_label?} Not set No Method records: `{heading, stages?, body?, url?, link_label?}`. Constraint: Every record needs `heading`. `link_label` renders only with `url`; keep stages as structured sequence data rather than HTML.
items[].heading string Not set No Entry heading rendered for this record. Constraint: No additional template constraint beyond the documented type.
items[].stages string Not set No Optional ordered stages shown in a method entry. Constraint: No additional template constraint beyond the documented type.
items[].body string Not set No Optional explanatory text for this record. Constraint: No additional template constraint beyond the documented type.
items[].url string Not set No Destination that makes the record’s documented link area interactive. Constraint: No additional template constraint beyond the documented type.

Behaviour

Accessibility and responsive behaviour

Accessibility
Uses h2 and h3 hierarchy. The visible text link is a real anchor.
Responsive
One column below sm, two from sm.
Without JavaScript
Static HTML; no JavaScript required.

Need help?

Troubleshooting

Stage labels render as plain text instead of a sequence.

Supply the item `stages` collection, not an HTML string; the component owns the ordered-stage markup.

Explore next

Used in examples

Documentation