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

Documentation

Case list

A ruled list of case studies or results, with optional proof figures and whole-row destinations.

All components Marketing Brickwork 4.3.1

Try it

Linked cases

Open full-page preview

Rows with a proof value and accessible destination.

Selected work

Use for a concise portfolio or outcomes index. Use feature_grid for equal card content.

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

your_app/views.py

Python

context = {'heading': 'Selected work', 'items': [{'result': '42%', 'heading': 'Faster publishing', 'body': 'A repeatable content workflow.', 'url': '/case-studies/publishing/', 'aria_label': 'Read the Faster publishing case study'}, {'result': '18 days', 'heading': 'Launch cycle', 'body': 'From brief to production.'}]}

Guide

Add it to your project

  1. Use the public include path "brickwork_marketing/components/_case_list.html" from the installed django-brickwork package.
  2. Supply list-shaped items from the view or wrapper context.
  3. Include the component with an optional section heading.
  4. Add url only for rows that navigate; add aria_label when visible row text is insufficient.

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 {result?, heading, body?, url?, aria_label?} Not set No Case records: `{result?, heading, body?, url?, aria_label?}`. A URL makes the entire row a real link. Constraint: Every record needs `heading`. `aria_label` only applies with `url`; an empty list emits no invented row.
items[].result string Not set No Short leading proof figure, such as a metric or year. Constraint: No additional template constraint beyond the documented type.
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.
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.
items[].aria_label string Not set No Accessible-name override for a linked case row; ignored when the record has no `url`. Constraint: Only affects an item that also has a URL.

Behaviour

Accessibility and responsive behaviour

Accessibility
Uses section h2, entry h3s and a real list. Linked rows are anchors.
Responsive
Result and main columns stack below the small breakpoint.
Without JavaScript
Static HTML; no JavaScript required.

Need help?

Troubleshooting

A row looks clickable but does not navigate.

Set that item’s `url`; without it the component deliberately emits a non-interactive div.

Explore next

Used in examples

Documentation