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

Documentation

Outcomes

Equal columns of outcome copy with one optional section foot link.

All components Marketing Brickwork 4.3.1

Try it

Outcomes

Open full-page preview

Three result statements with one follow-up link.

What changes

Clear contracts

Templates expose supported inputs.

Consistent pages

Shared components carry layout rules.

See the approach

Use for concise result statements where actions belong at section level.

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

your_app/views.py

Python

context = {'heading': 'What changes', 'items': [{'heading': 'Clear contracts', 'body': 'Templates expose supported inputs.'}, {'heading': 'Consistent pages', 'body': 'Shared components carry layout rules.'}], 'url': '/approach/', 'link_label': 'See the approach'}

Guide

Add it to your project

  1. Use the public include path "brickwork_marketing/components/_outcomes.html" from the installed django-brickwork package.
  2. Supply item records from context.
  3. Pass url and link_label together for the single foot link.
  4. Do not add per-column links: use methods or feature grid for that interaction model.

View this component's source for the installed release

Options

Public API

Option Type Default Required Description
heading string Not set No Section heading; its semantic level is set by this component. Constraint: No additional template constraint beyond the documented type.
items list of {heading, body?} Not set No Ordered structured records rendered by the component; supply them from view context rather than trying to construct a list in a template. Constraint: Each record must use the documented keys for this component; an omitted or empty list does not fabricate a placeholder.
items[].heading string Not set No Entry heading rendered for this record. 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.
url string Not set No Destination for the optional component-level link. Constraint: No additional template constraint beyond the documented type.

Behaviour

Accessibility and responsive behaviour

Accessibility
h2 and h3 hierarchy; the foot action is a labelled anchor.
Responsive
One column below sm; equal auto-fit columns from sm.
Without JavaScript
Static HTML; no JavaScript required.

Need help?

Troubleshooting

The section-level link is absent.

Supply both `url` and `link_label`; a destination without visible link text is intentionally not rendered.

Explore next

Used in examples

Documentation